
madebyaris/agent-orchestration
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Agent Orchestration: MCP server enabling multi-agent collaboration with shared memory, task queue, resource locks, Cursor rules, and AGENTS.md workflows.
Обзор
A Model Context Protocol (MCP) server that enables multiple AI agents to share memory, coordinate tasks, and collaborate effectively across IDEs and CLI tools. When running multiple AI agents, they face critical coordination challenges: 1. - Agents don't know if it's their turn to act, leading to race conditions 2. - Agents predict state from files, not shared memory, causing stale reads 3. - Parallel agents develop inconsistent understanding of the codebase 4. - Agents are unaware of other agents working on the same project 5. - Multiple agents may attempt the same task simultaneously 6.
README
Показан фрагмент оригинального README. Открыть оригинал.
Agent Orchestration
A Model Context Protocol (MCP) server that enables multiple AI agents to share memory, coordinate tasks, and collaborate effectively across IDEs and CLI tools.
The Problem
When running multiple AI agents, they face critical coordination challenges:
- No Turn Awareness - Agents don’t know if it’s their turn to act, leading to race conditions
- File-Based Prediction - Agents predict state from files, not shared memory, causing stale reads
- Context Drift - Parallel agents develop inconsistent understanding of the codebase
- No Agent Discovery - Agents are unaware of other agents working on the same project
- Duplicate Work - Multiple agents may attempt the same task simultaneously
- Conflicting Edits - Without coordination, agents overwrite each other’s changes
Solution
This MCP server provides:
- Shared Memory - Agents can store and retrieve context, decisions, and findings
- Task Queue - Turn-based task execution with dependencies
- Agent Discovery - Agents can see who else is working on the project
- Resource Locking - Prevent concurrent access to files or resources
- Research-First Workflow - Ensures agents understand context before coding
- Coordination Status - Real-time visibility into the orchestration state
- Auto Context Sync - Automatically updates
activeContext.mdfor easy reference
Compatibility
Works with any AI coding agent that supports MCP or AGENTS.md:
- OpenAI Codex
- Google Jules
- Cursor
- Aider
- Windsurf
- VS Code Copilot
- GitHub Copilot Coding Agent
- Devin
- And many more!
Quick Start
No installation required! Just use npx:
For Any IDE/CLI (AGENTS.md)
# Navigate to your project
cd /path/to/your/project
# Initialize with AGENTS.md
npx agent-orchestration init
This creates AGENTS.md with full orchestration instructions that work with any AI coding agent.
For Cursor IDE
# Navigate to your project
cd /path/to/your/project
# Initialize for Cursor (copies .cursor/rules/)
npx agent-orchestration init-cursor
This copies .cursor/rules/ with Cursor-specific rules.
CLI Commands
npx agent-orchestration init # Create AGENTS.md (works with any AI agent)
npx agent-orchestration init-cursor # Setup for Cursor IDE (.cursor/rules/)
npx agent-orchestration serve # Run the MCP server
npx agent-orchestration doc --task
npx agent-orchestration cursor check # Verify Cursor CLI support
npx agent-orchestration cursor delegate --task
npx agent-orchestration cursor status --task
Установка
npx -y agent-orchestration serveКонфигурация
{
"mcpServers": {
"agent-orchestration": {
"command": "npx",
"args": ["-y", "agent-orchestration", "serve"],
"env": {
"MCP_ORCH_SYNC_CONTEXT": "true"
}
}
}
}