Skip to content

MindWire

The runtime and control plane for AI harnesses.

Claude Code, Codex, Grok Build, and opencode already plan, edit files, use tools, and complete multi-step work. Mindwire lets your product run them without rebuilding an agent loop, tool runtime, streaming transport, session system, or provider integration from scratch.

License: Apache 2.0 CI

Docs · Quickstart · Architecture

Mindwire is an open-source, self-hostable runtime for coding-agent harnesses. It owns the agent process and gives your product one API for turns, streaming, auth, sessions, tools, and runtime placement—while the selected agent continues to run natively.

import { Mindwire } from "mindwire";

const mw = new Mindwire({ agent: "claude-code" });
const run = await mw.turn({
  chatId: "demo",
  message: "Add a /healthz endpoint and a test.",
});

for await (const event of run) {
  if (event.type === "text") process.stdout.write(event.text ?? "");
}

Change agent to use Codex, Grok Build, or opencode. Use remote(), ssh(), docker(), or oblien() to run the same integration where the work belongs.

Included

  • One typed API and reconnectable event stream across supported agents.
  • Native agent auth, sessions, tools, MCP, memory, prompts, providers, and capability reporting.
  • Local, remote, SSH, Docker, and microVM runtime targets.
  • A self-hostable console for operating runtimes and agent work.

Control plane included

The console gives production teams one place to manage multiple runtimes, inspect active work and spend, configure each agent's native surfaces, and move execution between local machines, remote hosts, Docker, and microVMs.

Mindwire Console showing a fleet of coding-agent runtimes, live work, and agent management

Supported agents

Agent ID Status
Claude Code claude-code Implemented
OpenAI Codex CLI codex Implemented
opencode opencode Implemented
Grok Build grok Implemented
GitHub Copilot CLI copilot Planned

Repository

daemon/           Go runtime and agent adapters
packages/sdk/     TypeScript SDK
apps/web/         Marketing site and documentation
apps/console/     Self-hostable operations console
packages/docker/  Docker images and self-host Compose deployment

Develop

bun install
bun dev
bun test

cd daemon && go test -race ./...

Docker deployment

Build the SaaS web and control-plane stack from this checkout:

cp .env.example .env
docker compose up --build

Run the versioned, prebuilt self-hosted runtime and console images instead:

cp .env.example .env
docker compose -f packages/docker/docker-compose.selfhost.yml up -d

For deployment, architecture, API reference, and adapter capabilities, see mindwire.sh/docs.

License

Apache-2.0

About

Ship AI products powered by the best harnesses without building another agent loop

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages