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.
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.
- 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.
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.
| 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 |
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
bun install
bun dev
bun test
cd daemon && go test -race ./...Build the SaaS web and control-plane stack from this checkout:
cp .env.example .env
docker compose up --buildRun the versioned, prebuilt self-hosted runtime and console images instead:
cp .env.example .env
docker compose -f packages/docker/docker-compose.selfhost.yml up -dFor deployment, architecture, API reference, and adapter capabilities, see mindwire.sh/docs.
