williamzujkowski

Nexus Agents

Community williamzujkowski
Updated

One tool to coordinate Claude, Gemini, Codex, and OpenCode. Routes tasks to specialized experts that collaborate on complex problems. 24 MCP tools, 10 expert types, 11 workflow templates.

Nexus Agents

OpenSSF Best Practices OpenSSF Scorecard

Orchestrate multiple AI experts from a single interface

npm versionLicense: MITNode.js Version

Why Nexus Agents?

One tool to coordinate Claude, Gemini, Codex, and OpenCode. Instead of switching between AI tools, nexus-agents routes your tasks to specialized experts that collaborate on complex problems.

You: "Review this code for security and performance"
     ↓
Orchestrator analyzes → delegates to Security Expert + Code Expert
     ↓
Combined response with findings from both experts

Quick Start (2 minutes)

1. Install

npm install -g nexus-agents

2. Verify

nexus-agents doctor

3. Use

With Claude Code (recommended):

nexus-agents setup   # Auto-configures MCP server

Then in Claude: "orchestrate: Review this PR for issues"

Standalone CLI:

export ANTHROPIC_API_KEY=your-key
nexus-agents orchestrate "Explain the architecture of this codebase"

Security: In default MCP mode, the server communicates only via stdio with the parent process (no network exposure). The REST API (opt-in) auto-generates an API key on first start. For network-exposed deployments, set NEXUS_AUTH_ENABLED=true. See SECURITY.md.

What It Does

Feature Description
Multi-Expert Orchestration Orchestrator coordinates specialized expert types across Code, Security, Architecture, Testing, Documentation, DevOps, Research, PM, UX, and Infrastructure
Model Routing Routes tasks to the best model based on capability (reasoning, speed, context size, budget) across all supported CLIs and providers
Consensus Voting Multi-agent voting on proposals with higher-order Bayesian aggregation
Workflow Automation Built-in YAML templates for code review, security audit, and more
Research Registry Track and discover academic papers and implementation techniques
Memory System 5 typed memory backends (session, belief, agentic, adaptive, typed)
MCP Integration Full MCP tool suite for Claude Desktop, Claude Code, and other MCP clients

Available Experts

Expert Specialization
Code Implementation, debugging, optimization
Architecture System design, patterns, scalability
Security Vulnerability analysis, secure coding
Testing Test strategies, coverage, test generation
Documentation Technical writing, API docs
DevOps CI/CD, deployment, infrastructure
Research Literature review, state-of-the-art analysis
PM Product management, requirements, priorities
UX User experience, usability, accessibility
Infrastructure Server management, bare metal, networking

Supported CLIs & Providers

Nexus-agents routes tasks through 4 CLI adapters, each connecting to major AI providers:

CLI Provider Best For
claude Anthropic (Claude) Complex reasoning, analysis
gemini Google (Gemini) Long context, multimodal
codex OpenAI (Codex) Code generation, reasoning
opencode Custom OpenAI-compat Custom endpoints, local models

CLI Commands

nexus-agents                    # Start MCP server (default)
nexus-agents doctor             # Check installation health
nexus-agents setup              # Configure Claude CLI integration
nexus-agents orchestrate "..."  # Run task with experts
nexus-agents vote "proposal"    # Multi-agent consensus voting
nexus-agents review <pr-url>    # Review a GitHub PR
nexus-agents expert list        # List available experts
nexus-agents workflow list      # List workflow templates
nexus-agents config init        # Generate config file
nexus-agents fitness-audit      # Run fitness score audit
nexus-agents research query     # Query research registry
nexus-agents --help             # Full command list

See docs/ENTRYPOINTS.md for the complete CLI reference (28+ commands).

MCP Tools

When running as an MCP server, the following tools are available:

Tool Description
orchestrate Task orchestration with Orchestrator coordination
create_expert Create a specialized expert agent
execute_expert Execute a task using a created expert
run_workflow Execute a workflow template
delegate_to_model Route task to optimal model
consensus_vote Multi-model consensus voting on proposals
list_experts List available expert types
list_workflows List available workflow templates
research_query Query research registry (status, overlap, stats, search)
research_add Add paper to registry by arXiv ID
research_discover Discover papers/repos from external sources
research_analyze Analyze registry for gaps, trends, coverage
research_catalog_review Review auto-cataloged research references
memory_query Query across all memory backends
memory_stats Memory system statistics dashboard
memory_write Write to typed memory backends
weather_report Multi-CLI performance weather report
issue_triage Triage GitHub issues with trust classification
run_graph_workflow Execute graph-based workflows with checkpointing
execute_spec Execute AI software factory spec pipeline
registry_import Generate draft model registry entry
query_trace Query execution traces for observability
repo_analyze Analyze GitHub repository structure
repo_security_plan Generate security scanning pipeline for a repo

Configuration

Environment Variables:

Variable Description
ANTHROPIC_API_KEY Claude API key
OPENAI_API_KEY OpenAI API key
GOOGLE_AI_API_KEY Gemini API key
NEXUS_LOG_LEVEL Log level (debug/info/warn/error)

Generate config file:

nexus-agents config init   # Creates nexus-agents.yaml

Documentation

Topic Link
Full CLI Reference docs/ENTRYPOINTS.md
Architecture docs/architecture/README.md
Contributing CONTRIBUTING.md
Coding Standards CODING_STANDARDS.md
Quick Start Guide QUICK_START.md

Development

git clone https://github.com/williamzujkowski/nexus-agents.git
cd nexus-agents
pnpm install
pnpm build
pnpm test

Requirements: Node.js 22.x LTS, pnpm 9.x

Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feat/amazing-feature)
  3. Commit with conventional commits (feat(scope): add feature)
  4. Open a Pull Request

See CONTRIBUTING.md for details.

License

MIT - See LICENSE

Built with Claude Code

MCP Server · Populars

MCP Server · New

    aiagenta2z

    OneKey Gateway

    OneKey Agent Gateway access to Commercial APIs, Skills, MCPs Build once and Ship 10× faster. For devs & builders, A unified API registry to serve and distribute across all agent formats—CLI, REST, MCP, and Skills—eliminating multiple builds. Access 30+ categories like search, image, finance, and 3D Rendering, register, and monetize APIs 10× faster

    Community aiagenta2z
    joeseesun

    🎯 多源内容 → NotebookLM 智能处理器

    Claude Skill: Multi-source content processor for NotebookLM. Supports WeChat articles, web pages, YouTube, PDF, Markdown, search queries → Podcast/PPT/MindMap/Quiz etc.

    Community joeseesun
    sgroy10

    speclock

    AI Constraint Engine — enforces CLAUDE.md, .cursorrules, AGENTS.md rules as laws. 51 MCP tools, 991 tests. Official MCP Registry. npx speclock protect

    Community sgroy10
    googleapis

    MCP Toolbox for Databases

    MCP Toolbox for Databases is an open source MCP server for databases.

    Community googleapis
    kamelirzouni

    Qwen Max MCP Server

    MCP server for Qwen Max model

    Community kamelirzouni