Open source · MIT · Node 22+
One MCP server. Every AI coding tool.
Nexus Agents routes each task to the best model across Claude, Codex, Gemini, and OpenCode — then remembers what worked. Plug it into Claude Code, Cursor, or any MCP client and your agent gets smarter with every run.
How It Works
Every task flows through analysis, intelligent routing, quality validation, and outcome recording. The system learns from each execution and improves over time.
Intelligent Routing
A 12-stage pipeline analyzes your task and picks the best AI model. LinUCB contextual bandits learn from real outcomes — routing gets smarter with every task you run.
Dynamic Expert Creation
11 expert types are created on demand based on task analysis. Each gets a specialized system prompt, routed to the best CLI, and coordinated by TechLead and Orchestrator agents.
Consensus Quality Gates
5 voting algorithms — including higher-order Bayesian aggregation — validate outputs before they ship. Agents vote, disagree, and iterate until quality passes.
Continuous Learning
8 memory backends persist what works across sessions. Outcomes feed routing decisions, failed approaches are avoided, and successful patterns are reinforced automatically.
Development Pipeline
Full workflow: research papers, plan architecture, vote on proposals, decompose into tasks, implement in parallel, QA review with iteration, security scan. Three modes: autonomous, harness, and dry-run.
Research Discovery
176+ papers tracked across 9 sources (arXiv, GitHub, Semantic Scholar). New discoveries auto-trigger pipeline assessments. Quality scoring and topic synthesis built in.
The Learning Loop
This is the core differentiator. Every execution makes the next one better.
Quick Start
Install and connect to your editor in under 5 minutes.
1. Install
# Install globally
pnpm install -g nexus-agents
# Verify
nexus-agents doctor 2. Connect to Claude Code
# Auto-configure MCP server
nexus-agents setup
# Or manually: ~/.claude/mcp.json
{
"mcpServers": {
"nexus-agents": {
"command": "nexus-agents",
"args": ["--mode=server"]
}
}
} Architecture
Tasks enter through MCP, route through a 12-stage pipeline, execute on the best available CLI, and get validated by consensus before outcomes feed back into the router.
Documentation
Pick where to start based on what you want to do next.
Getting Started
Install, configure, and run your first orchestration in under 5 minutes.
Read the guide →MCP Integration
Wire up Claude Code, Cursor, VS Code, or any MCP client in three steps.
Connect your editor →Dev Pipeline
Research, plan, vote, implement, QA — run the whole workflow from one command.
Run the pipeline →Research Registry
176+ papers across 9 sources with technique alignment and synthesis.
Browse the registry →