What is AgentsMesh?
AgentsMesh is a platform for running many AI coding agents at once and directing them from one place. It sits in the Coding-Agent Harnesses & Runtimes category of the AI Coding tools and is open-source, written in Go and licensed BSL-1.1 (Business Source License 1.1; non-production use permitted, converts to GPL-2.0-or-later on 2030-02-28).
Overview
AgentsMesh is a platform for running many AI coding agents at once and directing them from one place. It does not ship its own agent: it runs terminal-based agents such as Claude Code, Codex CLI, Gemini CLI, Aider and OpenCode (or any custom terminal agent) and supplies the layer around them — scheduling agents onto machines, isolating them from each other, keeping long runs moving and putting every terminal on one screen.
The unit of work is an AgentPod: one agent's PTY terminal, a dedicated Git worktree sandbox with its own branch and private credentials, and a real-time output stream. Pods run on Runners, self-hosted Go daemons you install on your own machines; each runner advertises how many pods it can hold, and pods are scheduled onto a runner you pick or one from the pool, so your code stays on your infrastructure.

The architecture splits the control plane from the data plane. Orchestration commands travel between the backend and the runners over gRPC with mTLS, while terminal bytes stream through a stateless WebSocket Relay cluster, so the Go backend never handles PTY traffic. On the client side a shared Rust core drives a Next.js web console, an Electron desktop app and a SwiftUI iOS app.
Beyond the terminals, Autopilot lets a control agent watch a pod and send the next instruction when it goes idle, with iteration caps, decision history and human takeover. Mesh and Channels bind pods into a topology where they talk to each other with @mentions, and Tickets on a Kanban board can be bound to a pod with progress and MR/PR tracking. There is a hosted service at agentsmesh.ai (bring your own AI API keys) and the full stack can be self-hosted; the code is under the Business Source License 1.1, which permits non-production use and converts to GPL-2.0-or-later on 2030-02-28.
What it does
- Runner fleet: self-hosted daemons on any number of machines, each advertising its pod capacity, with pods scheduled onto a chosen runner or the pool
- Workspace isolation: every agent runs in its own pod with a dedicated Git worktree, branch and private credentials
- One console across Web, Desktop (Electron) and iOS clients, with a multi-pane workspace and real-time terminal streaming
- Autopilot: a control agent drives an idle pod forward, with iteration limits, decision history and human takeover or handback
- Mesh and Channels for agent-to-agent collaboration with @mentions and a live topology view, plus a Kanban ticket board bound to pods
- Works with Claude Code, Codex CLI, Gemini CLI, Aider, OpenCode or any other terminal-based agent
Getting started
The quickest path is the hosted service at agentsmesh.ai: sign up, connect your Git provider, then install a Runner on each machine that should host agents. To run the whole stack yourself instead, the repository ships a Docker Compose dev environment.

Install a Runner
The Runner is the daemon that executes agents on your machine. Install one per machine you want in the fleet; the runner README covers deb, rpm and Windows options.
curl -fsSL https://agentsmesh.ai/install.sh | shLog the Runner in
Login opens a browser to authenticate. Use --headless over SSH or on a remote server, and --server to point at a self-hosted deployment.
agentsmesh-runner login
# headless machines
agentsmesh-runner login --headless
# self-hosted backend
agentsmesh-runner login --server https://your-server.comStart it (or install it as a service)
Once the runner is online, create an AgentPod from the Web, Desktop or iOS console and put an agent to work.
agentsmesh-runner run
# or, always-on
agentsmesh-runner service install
agentsmesh-runner service startOr run the full stack locally
The dev script starts PostgreSQL, Redis, MinIO, the Backend, the Relay, Traefik and a Next.js frontend with hot reload. The web console is served on http://localhost:3000; ports are allocated per worktree, so check deploy/dev/.env for the actual values.
git clone https://github.com/AgentsMesh/AgentsMesh.git
cd AgentsMesh/deploy/dev
./dev.shCommands and code are distilled from the project's own documentation — always check the official repo for the latest.
When to use it
- Reach for it when one engineer wants to run dozens of Claude Code, Codex or Gemini CLI sessions in parallel without them corrupting each other's working trees
- Reach for it when agents should run on your own machines or VMs rather than a vendor's cloud, with only orchestration metadata leaving your infrastructure
- Reach for it when long-running agent sessions keep stalling and you want a control agent to push them forward, with a human able to take over at any point
- Reach for it when you want to watch and steer many agent terminals from a browser, a desktop app or a phone
How AgentsMesh compares
AgentsMesh alongside other open-source coding-agent harnesses & runtimes tools AI/TLDR tracks, ranked by GitHub stars.
| Tool | Stars | What it does |
|---|---|---|
| CC Switch | ★ 158k | A cross-platform desktop app that manages provider configuration for eight coding-agent CLIs from one place, with a local failover proxy, MCP and skill management, and spend tracking. |
| Oh My OpenAgent | ★ 71.2k | Opinionated agent bundle for OpenCode and Codex CLI that ships preconfigured sub-agents, lifecycle hooks and built-in MCP servers behind a single ultrawork command. |
| herdr | ★ 53.7k | A single-binary terminal multiplexer built for coding agents: persistent sessions across local and SSH machines, per-pane working/blocked/idle status, and a socket API agents drive themselves. |
| oh-my-claudecode | ★ 41.1k | A plugin and CLI that adds multi-agent orchestration to Claude Code: staged autopilot workflows, parallel tmux workers, and advisors that route a second opinion to Codex, Gemini, Grok or Cursor. |
| DSH Go | ★ 35.2k | A native Android client for DeepSeek Harness that runs the agent on the phone in a built-in Linux environment or drives DSH on your computer or server over SSH, with plugins and phone control. |
| AionUi | ★ 34.6k | An open-source desktop workspace that pairs a built-in agent engine with dozens of external CLI agents, adding scheduled runs, MCP tools and remote access from a WebUI or chat apps. |
| cc-connect | ★ 16.5k | A Go daemon that bridges local coding agents — Claude Code, Codex, Cursor Agent, Gemini CLI, OpenCode, Kimi CLI and more — to Feishu, DingTalk, Slack, Telegram, Discord, LINE and WeCom, so you drive them from chat. |
| AgentsMesh | ★ 2.4k | A control plane for running many terminal coding agents across your own machines |
