Experimental multi-LLM collaborative research project. Not production-ready.
Experimental -- A research project exploring whether multi-LLM team debates produce better code than any single model alone. Expect bugs, breaking changes, and undocumented behavior. Not recommended for production.
Conclave is an AI coding agent that puts multiple LLMs in a room to debate your task before implementing code. It is a fork of OpenCode that adds a research layer on top: a signal-based multi-model deliberation engine, CLI bridging for external AI tools, autonomous sub-team splitting, and context-aware team formation.
Full technical documentation is in the docs/ directory -- designed for both humans and LLMs to understand every aspect of the project.
curl -fsSL https://raw.githubusercontent.com/adndvlp/conclave/main/install.sh | bashFrom source:
git clone https://github.com/adndvlp/conclave.git && cd conclave
bun install
bun run dev- You ask -- "Build an auth system with JWT tokens"
- Team debates -- Models deliberate in parallel rounds using structured signals:
LEAD,SUPPORT,ALIGN,BUILD,CHALLENGE,SYNTHESIZE - Converges -- Winner selected by endorsement scoring (
endorsements * 2 + leads), not context window size - Implements -- Winner generates the code using the full tool suite (read files, run bash, edit code, search web)
Conclave (2 models)
Team debating Round 1/3
DeepSeek V4 Flash: LEAD -- Best fit for auth logic
GLM-5.1: SUPPORT:DeepSeek -- Agreed, backend expert
Converged -- DeepSeek V4 Flash implements
Signal-based consensus protocol with minimum 2 rounds. Models emit structured signals at the end of each response. Winner selected by endorsement score -- being supported by others is worth double what self-promotion is.
LLMs autonomously split into sub-teams for parallel work on complex tasks. Three phases: decision round (BREAK votes), sub-team formation (invite resolution, solo merging), and parallel internal debates with global coordination rounds. Full details: docs/07-breaking-teams.md
Use external AI CLIs as team members with no API keys required:
- Gemini CLI -- Free tier (60 req/min, 1000/day)
- Claude Code -- Subscription-based, effort suffixes (
high,max) - Codex CLI -- OpenAI pay-as-you-go
Mix CLI and API participants freely. CLIs run in agent mode during implementation. Full details: docs/08-cli-bridging.md
Each model receives its teammates' capability metadata (context window size, reasoning, speed) plus self-assignment rules. Models with large context lead analysis; fast models focus on execution; reasoning models handle design. Full details: docs/09-context-aware-teams.md
OpenAI (GPT-5 with responses API), Anthropic (interleaved thinking beta), Google (Gemini + Vertex), Azure, Amazon Bedrock, xAI, Mistral, Groq, DeepInfra, Cerebras, Cohere, TogetherAI, Perplexity, Alibaba, OpenRouter (200+ models), GitHub Copilot, GitLab, Venice, plus OpenAI-compatible for Ollama and self-hosted.
build (default), plan (planning-only), general (subagent), explore (codebase search), compaction, title, summary. Custom agents definable in config with per-agent permission rulesets.
bash, read, write, edit, glob, grep, task (subagent delegation), webfetch, websearch, skill, question, todowrite, plan, apply_patch, lsp, invalid
- Terminal UI -- SolidJS-rendered TUI with multi-panel layout
- Web App -- SolidJS SPA with shiki syntax highlighting
- Headless Server -- Hono HTTP API with WebSocket streaming
- Desktop apps -- Tauri v2 (Rust backend) and Electron wrappers
- MCP support -- Model Context Protocol client/server with OAuth
- LSP integration -- Language Server Protocol for diagnostics and completions
- Plugin system -- Extensible tool and TUI plugins via Effect + Zod
- Session management -- SQLite persistence, forking, sharing, compaction, reversion
- Effect-TS architecture -- Type-safe dependency injection, structured concurrency, tracing
/connect Connect AI providers with API keys
/team Create and configure teams of models
/models Switch to single-model mode
/agent Switch between agents (build, plan, explore...)
conclave run "Fix the race condition in auth.ts"
conclave serve # Start HTTP API server (port 4096)
conclave web # Launch web app| Area | OpenCode | Conclave |
|---|---|---|
| Team debates | No | Signal-based multi-round consensus |
| Breaking Teams | No | Autonomous sub-team splitting |
| CLI Bridging | No | Gemini CLI, Claude Code, Codex |
| Context-Aware Teams | No | Models aware of each other's capabilities |
| Config directory | ~/.config/opencode/ |
~/.config/conclave/ |
| Binary | opencode |
conclave |
Full diff catalog: docs/03-conclave-vs-opencode.md
packages/
βββ opencode/ Core: CLI, TUI, API, agents, debate engine, tools
βββ app/ Web app (SolidJS + Vite)
βββ desktop/ Tauri desktop (Rust)
βββ desktop-electron/ Electron desktop
βββ enterprise/ Enterprise app (SolidStart + Stripe)
βββ console/ Admin console
βββ sdk/js/ JavaScript SDK + OpenAPI types
βββ core/ Shared utilities
βββ ui/ SolidJS component library
βββ plugin/ Plugin system
βββ web/ Docs site (Astro + Starlight)
βββ slack/ Slack bot
βββ containers/ Docker builds
Stack: TypeScript, Bun, Effect-TS, Vercel AI SDK, Hono, SQLite/Drizzle, SolidJS, Tauri
Conclave is a fork of OpenCode. To sync:
git remote add upstream https://github.com/anomalyco/opencode.git
git fetch upstream
git merge upstream/main