AI Orchestrator

AI Orchestrator

Enables multi-strategy AI orchestration including council decision review, debate, brainstorming, evaluation, and spec review, with support for multiple LLM providers and advisor personas.

Category
Visit Server

README

πŸ€– AI Orchestrator

Advanced AI orchestration engine β€” multi-advisor councils, structured debates, creative brainstorming, and multi-criteria evaluation. Works as an MCP (Model Context Protocol) server with any compatible AI tool.

Supports: OpenCode, Claude Code, Cursor, Windsurf, Continue, Cline, Copilot, and any MCP-compatible client.


✨ Features

5 Orchestration Strategies

Strategy Description Use Case
Council πŸ›οΈ Multi-advisor decision review with anonymous peer evaluation (Karpathy method) Critical decisions, risk assessment
Debate βš”οΈ Structured pro/con debate with judge verdict Go/no-go decisions, tradeoff analysis
Brainstorm πŸ’‘ Creative idea generation with scoring and clustering Feature discovery, product innovation
Evaluate πŸ“Š Multi-criteria option scoring with weighted analysis Vendor selection, tech choices
Spec Review πŸ” Specialist review from multiple angles (security, UX, DevOps, etc.) Pre-implementation plan review

15+ Advisor Personas

Persona Stance Specialty Language
Skeptic (Muhalif) Critical Risk detection, failure modes EN / TR
First Principles (Δ°lk Δ°lkeler) Analytical Assumption deconstruction EN / TR
Expansionist (Genişlemeci) Creative Opportunity discovery EN / TR
Outsider (YabancΔ±) Neutral Jargon-free fresh eyes EN / TR
Executor (Δ°cracΔ±) Practical Implementation, first steps EN / TR
Visionary Creative Future opportunities
Pragmatist Practical Feasibility, resource constraints
Security Auditor Critical Attack surfaces, data exposure
UX Advocate Critical User journey, accessibility
Business Analyst Analytical ROI, market positioning
DevOps Engineer Practical Deployability, scaling
Ethicist Analytical Fairness, societal impact
Architect Analytical System design, patterns
Tester Critical Edge cases, testability
Growth Hacker Creative Metrics, viral loops

Turkish advisors (Muhalif, İlk İlkeler, Genişlemeci, Yabancı, İcracı) are available for Turkish-language decisions. The rest respond in English by default but support any language the question is asked in.

Pre-built Councils

Council Advisors Language Use Case
Executive Board Skeptic, Visionary, Pragmatist, Security, Business, UX EN General business decisions
Akıl Kurulu Muhalif, İlk İlkeler, Genişlemeci, Yabancı, İcracı TR Turkish-language decisions
Tech Review Architect, Security, DevOps, Tester EN Architecture/stability review
Ethics Board Ethicist, UX, Skeptic, Business EN Ethical impact assessment
Quick Check Skeptic, Pragmatist, Visionary EN Fast 3-advisor decision

Multi-Provider Support

Provider Setup
OpenAI OPENAI_API_KEY
Anthropic (Claude) ANTHROPIC_API_KEY
OpenRouter OPENROUTER_API_KEY
Ollama (local) No key needed β€” just run ollama serve
Groq GROQ_API_KEY
Google (Gemini) GOOGLE_API_KEY
DeepSeek DEEPSEEK_API_KEY

πŸš€ Quick Start

Prerequisites

  • Node.js 18+
  • At least one LLM provider API key (or Ollama running locally)

Install & Configure

# Clone
git clone https://github.com/YOUR_USER/ai-orchestrator.git
cd ai-orchestrator

# Install
npm install
npm run build

# Configure at least one provider
export OPENAI_API_KEY="sk-..."
# OR
export ANTHROPIC_API_KEY="sk-ant-..."
# OR run Ollama locally: ollama serve

Add to Your AI Tool

OpenCode

// opencode.json
{
  "mcpServers": {
    "ai-orchestrator": {
      "command": "node",
      "args": ["/path/to/ai-orchestrator/dist/index.js"],
      "env": {
        "OPENAI_API_KEY": "${OPENAI_API_KEY}"
      }
    }
  }
}

Claude Code

// .claude/mcp.json
{
  "mcpServers": {
    "ai-orchestrator": {
      "command": "node",
      "args": ["/path/to/ai-orchestrator/dist/index.js"],
      "env": {
        "ANTHROPIC_API_KEY": "${ANTHROPIC_API_KEY}"
      }
    }
  }
}

Cursor / Windsurf

Add to Cursor MCP settings or .cursor/mcp.json:

{
  "mcpServers": {
    "ai-orchestrator": {
      "command": "node",
      "args": ["/absolute/path/to/ai-orchestrator/dist/index.js"]
    }
  }
}

πŸ“– Usage

Once configured, call any tool from your AI assistant:

Council (Decision Review)

Use the orchestrate tool to review: "Should we rewrite our Bootstrap themes to Tailwind?"

Strategy: council
Council: executive_board

Returns: 6 independent advisor opinions β†’ anonymous peer review β†’ chairman synthesis with recommendations.

Debate (Pro/Con Analysis)

Orchestrate a debate on: "Should we adopt microservices?"

Strategy: debate
Rounds: 3

Brainstorm (Idea Generation)

Brainstorm ideas for: "How to improve developer onboarding?"

Strategy: brainstorm

Evaluate (Option Scoring)

Evaluate these database options: PostgreSQL, MongoDB, Supabase
Criteria: Performance (0.4), Ease of Use (0.3), Cost (0.3)

Strategy: evaluate

Spec Review (Plan Audit)

Review this architecture spec from security, performance, and UX perspectives.

Strategy: spec-review

πŸ”§ Architecture

src/
β”œβ”€β”€ index.ts          # MCP Server entry point (4 tools exposed)
β”œβ”€β”€ types.ts          # TypeScript type definitions
β”œβ”€β”€ personas.ts       # 15+ advisor personas + 5 council presets
β”œβ”€β”€ providers.ts      # LLM provider layer (7 providers)
└── strategies/
    β”œβ”€β”€ council.ts    # Karpathy 3-stage multi-advisor council
    β”œβ”€β”€ debate.ts     # Structured pro/con debate with judge
    β”œβ”€β”€ brainstorm.ts # Creative brainstorming with clustering
    └── evaluate.ts   # Multi-criteria evaluation + spec review

Council Flow (Karpathy Method)

                    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                    β”‚  Question   β”‚
                    β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜
            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
      β”‚ Advisor A β”‚ β”‚ Advisor B β”‚ β”‚ Advisor N β”‚  ← Parallel (isolated)
      β”‚ (Skeptic) β”‚ β”‚(Visionary)β”‚ β”‚  (...)    β”‚
      β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜
            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
                     β”‚ Anonymize β”‚              ← Anonymous review
                     β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜
            β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
      β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
      β”‚ Peer Rev Aβ”‚ β”‚ Peer Rev Bβ”‚ β”‚ Peer Rev Nβ”‚
      β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”˜
            β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                     β”Œβ”€β”€β”€β”€β”€β–Όβ”€β”€β”€β”€β”€β”
                     β”‚ Chairman  β”‚              ← Synthesis
                     β”‚ Verdict   β”‚
                     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

🌐 Multi-Language Support

The system is English-first but fully multi-language:

  • Executive Board, Tech Review, Ethics Board, Quick Check β†’ English by default
  • AkΔ±l Kurulu β†’ Turkish advisors for Turkish-language decisions
  • You can ask questions in any language β€” the system matches the input language
  • Advisors defined in Turkish (Muhalif, Δ°lk Δ°lkeler, etc.) will respond in Turkish when used
  • The simulation mode (no API keys) also supports any language the calling AI understands

πŸ› οΈ Development

npm install        # Install dependencies
npm run build      # Compile TypeScript
npm run dev        # Watch mode
npm start          # Run server directly

πŸ“„ License

MIT β€” see LICENSE


πŸ™ Credits


Made for AI-powered decision making. Ship with confidence.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured