Back to Docs

Getting Started

Set up Consilium and run your first multi-agent deliberation in minutes

Choose your path: Consilium can be used through the web app (no setup) or via the SDKs and CLI for engineers. Pick the approach that fits your workflow.

For Users: Web App

Easiest
1. Create an Account

Sign up at myconsilium.xyz. Authentication is handled by Clerk with support for email, Google, and GitHub sign-in methods. Your account gives you access to the deliberation dashboard, debate history, analytics, and API key management.

2. Add Your API Keys (BYOK)

Consilium uses a Bring Your Own Keys model. Navigate to Settings and add API keys for the providers you want to use. All keys are encrypted with AES-256-GCM before storage — they are never stored in plaintext or logged. You need at least one provider key, but using 2-3 different providers gives you genuine model diversity in debates.

No keys? Consilium automatically falls back to Groq's free tier models (Llama 3.1 8B, Llama 3.3 70B, Llama 4 Scout) when no paid keys are configured.

3. Start Your First Deliberation

Go to the Council page. Enter your topic or question, select a deliberation mode (Council is the default), and choose 2-5 AI models. Click "Start Deliberation" and watch the debate unfold in real-time via Server-Sent Events streaming.

You'll see each phase live: models proposing independently, cross-examining each other, defending their positions, voting, and finally synthesizing a consensus answer.

4. Understanding Your Results

Every deliberation produces a rich set of outputs:

Golden Prompt — The synthesized final answer integrating the strongest arguments from all models

Confidence Scores — Per-model calibrated confidence based on explanation stability (how much each model changed its position under pressure)

Dissent Report — Majority and minority positions identified via agglomerative clustering. Shows where models agreed and where they fundamentally disagreed

Vote Results — Condorcet winner (if any), Borda scores, full ranking. Shows which position won and by what margin

Audit Trail — Every step recorded: model, input, output, tokens used, cost, latency. Full transparency into how consensus was reached

Cost Breakdown — Per-model, per-round cost tracking with total cost and token usage

Export results as Markdown, .cursorrules files, plain text, or copy to clipboard.

For Engineers: SDK & CLI

Recommended
Install the CLI
npm install -g @myconsilium/cli

Or with yarn/pnpm:

yarn global add @myconsilium/clipnpm add -g @myconsilium/cli
Authenticate
consilium login

Opens your browser for Clerk authentication. On success, a CLI token is stored in ~/.consilium/config.json. Alternatively, set the CONSILIUM_API_KEY environment variable.

Run Your First Deliberation (CLI)
consilium debate "Should we migrate from REST to GraphQL?" \
  --mode council \
  --models claude-sonnet-4-6,gpt-5.4,gemini-3-flash-preview \
  --output markdown

The CLI renders the debate in real-time with agent progress bars, phase transitions, convergence tracking, and cost updates. The final synthesis is formatted according to your chosen output format (text, markdown, cursorrules, claude-md, or json).

Run Your First Deliberation (Python SDK)
pip install consilium
from consilium import ConsiliumClient

client = ConsiliumClient(
    api_url="http://localhost:4000/api/v1",
    api_key="your-api-key"
)

result = client.deliberate(
    topic="Should we migrate from REST to GraphQL?",
    mode="council",
    models=[
        "claude-sonnet-4-6",
        "gpt-5.4",
        "gemini-3-flash-preview"
    ],
    max_rounds=3
)

print(result.golden_prompt)
print(f"Cost: ${result.cost:.4f}")
print(f"Dissent: {result.dissent_report}")
Run Your First Deliberation (TypeScript SDK)
npm install @myconsilium/sdk
import { ConsiliumClient } from "@myconsilium/sdk";

const client = new ConsiliumClient({
  apiUrl: "http://localhost:4000/api/v1",
  apiKey: "your-api-key",
});

const result = await client.deliberate({
  topic: "Should we migrate from REST to GraphQL?",
  mode: "council",
  models: [
    "claude-sonnet-4-6",
    "gpt-5.4",
    "gemini-3-flash-preview",
  ],
  maxRounds: 3,
});

console.log(result.goldenPrompt);
console.log(`Cost: $${result.cost.toFixed(4)}`);

BYOK: Bring Your Own Keys

ProviderEnvironment VariableModelsFree?
AnthropicANTHROPIC_API_KEYClaude Opus 4.7, Opus 4.6, Sonnet 4.6, Haiku 4.5Paid
OpenAIOPENAI_API_KEYGPT-5.5 Pro, GPT-5.5, GPT-5.4, GPT-5.4 Mini, GPT-5.4 NanoPaid
GoogleGOOGLE_API_KEYGemini 3.1 Pro, 3 Flash, 3.1 Flash-LitePaid
GroqGROQ_API_KEYLlama 3.1 8B, 3.3 70B, GPT-OSS 120B/20B, Compound
Free
xAIXAI_API_KEYGrok 4.20, Grok 4.1 Fast (reasoning + non-reasoning), Grok Code FastPaid
MoonshotMOONSHOT_API_KEYKimi K2.6Paid
OpenRouterOPENROUTER_API_KEYFree-tier Gemma 4 26B/31B, Qwen3 Coder, Nemotron 3 Super 120B, Ling 2.6 1T (also used as Consilium fallback when no BYOK)
Free

All API keys are encrypted with AES-256-GCM before storage. Keys are never stored in plaintext, never logged, and never transmitted to any third party.