Your AI agents can now call each other.
An MCP server that lets Claude Code, Codex CLI, and Gemini CLI invoke each other as tools. No glue scripts. No copy-paste. Just agents collaborating.
Each CLI agent has strengths. Sometimes you want Claude to implement, Codex to review, and Gemini to sanity-check. Weft makes that one tool call away.
git clone https://github.com/cipher982/weft && cd weft
uv sync
uv run agent-mesh doctor # verify setup (no API calls)
uv run agent-mesh smoke # test it works (costs money)Claude Code:
claude mcp add-json agent-mesh '{"type":"stdio","command":"uv","args":["run","python","-m","agent_mesh.mcp_server"]}'Codex:
codex mcp add agent-mesh -- uv run python -m agent_mesh.mcp_serverGemini: Add to ~/.gemini/settings.json:
{
"mcpServers": {
"agent-mesh": {
"command": "uv",
"args": ["run", "python", "-m", "agent_mesh.mcp_server"]
}
}
}Your agent now has three new tools: claude_run, codex_exec, gemini_run.
npm install -g @anthropic-ai/claude-code # then: claude auth
npm install -g @openai/codex # needs: OPENAI_API_KEY
npm install -g @google/gemini-cli # needs: GEMINI_API_KEY| Problem | Fix |
|---|---|
| Command not found | which claude codex gemini - install missing CLIs |
| Auth failed | Run claude auth or set API key env vars |
| MCP server not found | Restart your agent CLI after registering |
MIT