Agent Mesh Core is a personal reference implementation designed to orchestrate trusted local AI agents across various machines. It operates by centralizing a live mesh directory on a dedicated host, typically a Mac mini, and facilitating communication between agents (such as Claude Code, Codex, and Ollama-side tooling) through MCP and HTTP services over a private Tailscale network. This experimental infrastructure maintains per-agent inboxes, state files, and directory-based locks, ensuring atomic data operations and reliable message processing even if network clients drop. While primarily designed for a single human operator and trusted machines, it offers a robust framework for managing complex multi-agent workflows.
主要功能
01Exposes a unified dispatch layer via `agent-mesh-mcp-server` for Claude Code/Codex and `agent-mesh-http-server` for other tools like Ollama.
02Ensures atomic JSON writes with local-disk `os.replace` semantics for data integrity.
03Coordinates trusted local AI agents securely across machines on a private Tailscale network.
04Utilizes claim-then-acknowledge inbox processing to prevent silent loss of claimed messages.
05Maintains per-agent inboxes, state files, and directory-based locks under a local mesh root.
060 GitHub stars
使用案例
01Building custom integrations for AI models like Ollama that require explicit coordination calls over HTTP.
02Managing state files and directory-based locks for a personal multi-agent system.
03Coordinating task handoff and messaging between various AI agents (Claude Code, Codex, Ollama) on different machines.