AgentsMesh is The AI Agent Workforce Platform, with the goal of running hundreds of AI coding agents on the user's own machine and completing scheduling, isolation, and control from a single console.
Purpose
The platform is aimed at scenarios that require running a large number of AI coding agents simultaneously. Its core problem is: how can a single operator reliably run, observe, and control hundreds of agents. AgentsMesh solves issues such as agent scheduling, isolation, keep-alive, collaboration, and a unified interface by providing a control layer.
Main Capabilities
- AgentPod: An isolated execution environment for a single agent, including a PTY terminal, a Git worktree sandbox, and a real-time output stream.
- Runner: A self-hosted daemon installed on the user's own machine, which connects to the backend via gRPC+mTLS and spawns Pods. Multiple Runners can be registered, and Pods are scheduled across the entire cluster.
- Workspace: Each Pod's sandbox, containing an isolated Git worktree and private credentials, preventing concurrent agents from conflicting with each other, and allowing each run to be recoverable.
- Autopilot: Autonomous, self-healing control of Pods by a control agent, supporting iteration limits, decision history, and manual takeover at any time.
- Mesh and Channel: A collaboration structure that binds Pods into a topology and communicates through channels and @mentions.
- Ticket: A unit of work on a Kanban board that can be bound to a Pod and tracks progress and MRs/PRs.
- Architecture: Separation of the control plane and the data plane. Orchestration commands are transmitted via gRPC+mTLS, terminal I/O flows through a stateless Relay cluster, and the backend does not directly handle PTY bytes, thereby supporting large-scale scaling.
How to Use
The fastest way is to use the managed service agentsmesh.ai: sign up, connect a Git provider, and start running agents within minutes. Bring your own AI API key (BYOK), no usage limits, and controllable costs.
Install Runner:
curl -fsSL https://get.agentsmesh.ai/runner | sh
This command opens a browser for authentication. Headless environments (SSH, remote servers) can use the corresponding option. Self-hosted deployments can add --server. It can also be installed as a system service for persistent operation.
Run the full stack locally:
make dev
This command starts PostgreSQL, Redis, MinIO, Backend, Relay, Traefik, and the local Next.js frontend with hot reload. Ports are dynamically allocated by worktree; see the actual values in deploy/dev/.env.
Prerequisites: Go 1.24+, Node.js 20+, pnpm, Docker.
Docker images are published to Docker Hub on every push to main; tagged releases (v*) receive semver tags. For the self-hosted deployment guide, see deploy/selfhost/.
Supported Agents
Any terminal-based agent can be used. Built-in support: Claude Code, Codex CLI, Gemini CLI, Aider, OpenCode.
Applicable Scenarios
Suitable for teams that need to transform a single operator into a commander of an agent workforce, such as development scenarios that require running a large number of coding agents simultaneously, need isolated workspaces, need inter-agent collaboration, and need a unified monitoring and scheduling interface.
Limitations
Licensed under the Business Source License 1.1 (BSL-1.1), with a change date of 2030-02-28, after which the license changes to GPL-2.0-or-later. BSL allows use, copying, and modification for non-production purposes; before the change date, production use requires a commercial license. See LICENSE for the full terms.