The idea of this repo is that instead of asking a question to your favorite LLM provider, you can group multiple models into your "LLM Council". This is a simple, local web app that looks like ChatGPT except it uses the GitHub Copilot SDK to send your query to multiple LLMs, it then asks them to review and rank each other's work, and finally a Chairman LLM produces the final response.
Note: This is a fork of karpathy/llm-council that replaces OpenRouter with the GitHub Copilot SDK, allowing you to use your existing Copilot subscription to access multiple LLMs.
In a bit more detail, here is what happens when you submit a query:
- Stage 1: First opinions. The user query is given to all LLMs individually, and the responses are collected. The individual responses are shown in a "tab view", so that the user can inspect them all one by one.
- Stage 2: Review. Each individual LLM is given the responses of the other LLMs. Under the hood, the LLM identities are anonymized so that the LLM can't play favorites when judging their outputs. The LLM is asked to rank them in accuracy and insight.
- Stage 3: Final response. The designated Chairman of the LLM Council takes all of the model's responses and compiles them into a single final answer that is presented to the user.
- Dynamic Model Discovery: Available models are fetched from your Copilot subscription
- Model Picker UI: Configure which models participate in the council via the Settings panel
- Error Handling: Shows warnings when models fail, continues with successful responses
- No API Keys Required: Uses your existing GitHub Copilot authentication
You need an active GitHub Copilot subscription (Individual, Business, or Enterprise).
Follow the Copilot CLI installation guide to install the CLI.
copilot -i "auth login"This opens a browser window to authenticate with your GitHub account.
The SDK requires a recent version of the Copilot CLI with protocol v2 support:
npm update -g @github/copilot
copilot --version # Should be 0.0.390 or higherOption A: Using uv (recommended)
uv syncOption B: Using pip + venv
python3 -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install github-copilot-sdk fastapi "uvicorn[standard]" pydanticFrontend:
cd frontend
npm install
cd ..Option 1: Use the start script
./start.shOption 2: Run manually
Terminal 1 (Backend):
# If using uv:
uv run python -m backend.main
# If using venv:
source .venv/bin/activate && python -m backend.mainTerminal 2 (Frontend):
cd frontend
npm run devThen open http://localhost:5173 in your browser.
Click the ⚙️ Settings button in the sidebar to:
- Select which models participate in the council (Stage 1 & 2)
- Choose the chairman model (Stage 3)
Available models depend on your Copilot subscription. Common models include:
gpt-5/gpt-4.1claude-sonnet-4.5/claude-sonnet-4claude-haiku-4.5
- Backend: FastAPI (Python 3.10+), GitHub Copilot SDK
- Frontend: React + Vite, react-markdown for rendering
- Storage: JSON files in
data/conversations/ - Package Management: uv for Python, npm for JavaScript
