Agora
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Agora
Multi-agent roundtable discussion tool. Post a question, multiple AI agents discuss it from different perspectives, and a synthesizer produces a final answer.
Works as a CLI tool and as an MCP server for Claude Code integration.
Features
Multi-agent discussions — configurable panels of AI agents with different roles and models
Multi-provider — Anthropic, OpenAI, Google Gemini, DeepSeek, xAI/Grok, Ollama (local)
YAML presets — define custom agent panels with
{{topic}}template interpolationConcurrent Round 1 — all panelists respond in parallel, ~50% faster
Prompt caching — Anthropic
cache_controlfor ~90% cost reduction on cached tokensDiscussion history — SQLite persistence via
bun:sqlite, queryable and replayableMCP server — integrate with Claude Code for on-demand AI roundtables
Streaming output — color-coded terminal rendering with real-time streaming
Related MCP server: claude-orchestrator
Quick Start
Prerequisites
Bun runtime (v1.0+)
At least one LLM API key
Install
git clone https://github.com/lagameon/agora.git
cd agora
bun installConfigure API Keys
Create a .env file in the project root:
cp .env.example .env
# Edit .env with your API keys# At least one required
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
GOOGLE_API_KEY=AI...
# Optional
DEEPSEEK_API_KEY=sk-...
XAI_API_KEY=xai-...
OLLAMA_BASE_URL=http://localhost:11434/v1Note: The default preset uses
gpt-4.1-mini— setOPENAI_API_KEYto get started quickly. Theresearchpreset uses Claude + GPT + Gemini and requires all three keys.
Run
# Quick single-model query
bun run src/cli.ts ask "What is quantitative trading?"
# Roundtable discussion (default preset: 3 agents)
bun run src/cli.ts discuss "React vs Vue in 2026?"
# Use a specific preset
bun run src/cli.ts discuss "Should AI replace most programming jobs?" --preset debateCLI Commands
agora ask <question> [--model <model>] Quick single-model query
agora discuss <topic> [options] Run a roundtable discussion
agora presets List available presets
agora history [--id <id>] View discussion history
agora mcp Start MCP server (stdio)Options
Flag | Description | Default |
| Model for |
|
| Preset for |
|
| Max discussion rounds |
|
Examples
# Ask with a specific model
bun run src/cli.ts ask "Explain transformers" --model claude-sonnet-4-5
# Research panel (Claude + GPT + Gemini)
bun run src/cli.ts discuss "Will the US dollar lose reserve currency status?" --preset research
# Adversarial debate with 3 rounds
bun run src/cli.ts discuss "Cryptocurrency is the future of money" --preset debate --rounds 3
# View discussion history
bun run src/cli.ts history
bun run src/cli.ts history --id <discussion_id>Built-in Presets
Preset | Description | Agents | Models |
default | Balanced 3-agent panel | Analyst + Critic + Synthesizer | gpt-4.1-mini |
research | Deep research panel | Domain Expert + Methodologist + Contrarian + Synthesizer | Claude Sonnet + GPT-4.1 + Gemini Flash |
debate | Adversarial debate | Proponent + Opponent + Judge | GPT-4.1 + Claude Sonnet |
Custom Presets
Presets are loaded from three directories (highest priority first):
Priority | Directory | Scope |
1 |
| Project-local (per-repo) |
2 |
| User global (shared) |
3 |
| Built-in |
Same-name presets are shadowed by higher priority. This lets each project override the global defaults.
Create YAML files in ~/.agora/presets/ (global) or .agora/presets/ in your project root (project-local):
name: "My Team"
description: "Custom panel for technical decisions"
maxRounds: 2
agents:
- id: architect
name: "The Architect"
role: panelist
model: claude-sonnet-4-5
systemPrompt: |
You are a software architect evaluating: {{topic}}.
Focus on system design, scalability, and long-term maintainability.
temperature: 0.6
maxTokens: 1024
- id: pragmatist
name: "The Pragmatist"
role: panelist
model: gpt-4.1
systemPrompt: |
You are a pragmatic engineer evaluating: {{topic}}.
Focus on implementation complexity, developer experience, and time-to-ship.
temperature: 0.7
maxTokens: 1024
- id: synthesizer
name: "Decision Maker"
role: synthesizer
model: claude-sonnet-4-5
systemPrompt: |
Synthesize the discussion about: {{topic}}.
Weigh all perspectives and produce an actionable recommendation.
temperature: 0.3
maxTokens: 2048Save as ~/.agora/presets/my-team.yaml, then:
bun run src/cli.ts discuss "Should we migrate to microservices?" --preset my-teamPreset Schema
Field | Type | Required | Description |
| string | No | Display name |
| string | No | Description |
| number | No | Max discussion rounds (default: 2, max: 10) |
| array | Yes | At least 2 agents, one must be |
Agent Schema
Field | Type | Required | Description |
| string | Yes | Unique identifier |
| string | Yes | Display name |
| string | Yes |
|
| string | Yes | Model identifier (see supported models) |
| string | Yes | System prompt, supports |
| number | No | 0-2 (default: 0.7) |
| number | No | Max response tokens (default: 1024) |
Supported Models
Prefix | Provider | Examples |
| Anthropic |
|
| OpenAI |
|
| OpenAI |
|
|
| |
| DeepSeek |
|
| xAI |
|
| Ollama (local) |
|
MCP Server (Claude Code Integration)
Agora can run as an MCP server, allowing Claude Code to invoke AI roundtables on demand.
Configure
Add to your project's .mcp.json (or ~/.claude/mcp.json for global access):
{
"mcpServers": {
"agora": {
"command": "bun",
"args": ["run", "/path/to/agora/src/mcp.ts"]
}
}
}API keys should be set in your shell environment or passed via the
envfield.
MCP Tools
Tool | Description |
| Run a roundtable discussion |
| Quick single-model query |
MCP Resources
URI | Description |
| List all available presets |
| Recent discussion list |
| Full discussion transcript |
Usage in Claude Code
Just ask Claude naturally:
"Use agora to discuss React vs Vue"
"Run an agora research panel on the future of quantum computing"
"Ask agora: what is the MCP protocol?"
Architecture
Question ──→ Round 1 (concurrent): All panelists respond in parallel
│
▼
Round 2+ (sequential): Each agent sees all prior responses
│
▼
Synthesizer: Produces final answer from full discussion
│
▼
SQLite: Discussion saved automaticallyKey Design Decisions
No LangChain — direct SDK calls for full control over prompt caching and streaming
AsyncGenerator engine — CLI, MCP server, and history store all consume the same typed event stream
Provider prefix routing — model name prefix determines which SDK to use
Anthropic prompt caching —
cache_controlheaders on system prompts and accumulated context for ~90% cost reductionRound 1 concurrent —
Promise.allSettledfires all panelists in parallel (no prior context needed), ~50% speed improvementbun:sqlite — zero-dependency persistence (built into Bun), two tables:
discussionsandmessages
Project Structure
agora/
├── src/
│ ├── cli.ts # CLI entry point
│ ├── index.ts # Library public API
│ ├── mcp.ts # MCP server (stdio transport)
│ ├── config/
│ │ ├── schema.ts # Zod schemas for validation
│ │ ├── loader.ts # YAML preset loader
│ │ └── defaults.ts # Default settings
│ ├── providers/
│ │ ├── router.ts # Model prefix → provider factory
│ │ ├── types.ts # ChatProvider interface
│ │ └── retry.ts # Exponential backoff
│ ├── agents/
│ │ ├── types.ts # Agent types
│ │ └── presets.ts # Built-in default preset
│ ├── roundtable/
│ │ ├── engine.ts # Core discussion engine
│ │ ├── protocol.ts # Round logic & concurrency
│ │ ├── context.ts # Message building + prompt caching
│ │ └── types.ts # Event types
│ ├── history/
│ │ └── store.ts # bun:sqlite persistence
│ └── output/
│ └── terminal.ts # Color-coded terminal renderer
└── presets/
├── default.yaml # Balanced 3-agent panel
├── research.yaml # Deep research panel
└── debate.yaml # Adversarial debateProgrammatic API
Agora can be used as a library:
import { runRoundtable, loadPreset, interpolateConfig } from 'agora';
const topic = "Should we use GraphQL or REST?";
const config = interpolateConfig(loadPreset('default'), topic);
for await (const event of runRoundtable(topic, config)) {
if (event.type === 'agent_done') {
console.log(`${event.agentName}: ${event.fullResponse}`);
}
if (event.type === 'synthesis_done') {
console.log(`Final answer: ${event.answer}`);
}
}Data Storage
Discussion history is stored in ~/.agora/agora.db (SQLite). This directory is created automatically on first run.
Discussions are queryable via
agora historyFull transcripts available via
agora history --id <id>Database is local-only and never transmitted anywhere
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
People and AI agents build software together in persistent cloud sessions for Claude Code.
Multi-brand AI code review for Claude: up to 12 reviewers and a judge, no install.
Agent personas for Claude. 16 tools, 13 personas, 3 workflows. Zero extra API cost. Free.
Coding agents from Claude Code, Cursor and Codex claim jobs and lock files on one shared board.
Related MCP Servers
- AlicenseAqualityFmaintenanceProvides access to a library of 18 specialized skills, project templates, and prompt patterns for Claude Code. It enables automated workflows for feature development, security audits, and system maintenance through multi-agent collaboration.6MIT
- AlicenseNot gradedqualityCmaintenanceEnables spawning and managing multiple Claude Code agents in parallel with model selection, live tracking via a kanban dashboard, and consolidated answers back in the chat.MIT
- AlicenseBqualityDmaintenanceEnables persistent agent identity, memory, and tools for Claude Code, including messaging, timers, and browser automation.591MIT
- FlicenseNot gradedqualityCmaintenanceEnables orchestrating multiple specialist Claude Code agents as a team, with live visualization and agent-to-agent messaging.-