Quickstarts by Audience
Pick the guide that matches the coding agent or inference provider you already use. Every path starts from the same zero-flag Kompile CLI install and gives you Kompile's managed tools, persistent memory, policy enforcer, judge, subagent orchestration, and cost/quota tracking — usable in either the terminal (kompile chat) or the browser (CLI vs. Web Harness).
Install Kompile first (all audiences)
# macOS / Linux (slim native CLI harness, prerelease channel by default)
curl -fsSL https://raw.githubusercontent.com/GetKompile/kompile/main/install.sh | bash# Windows PowerShell
irm https://raw.githubusercontent.com/GetKompile/kompile/main/install.ps1 | iexSee Installation & Updates for the stable channel, full platform installs, and air-gapped mirrors.
Fastest way to set up any provider (interactive wizard)
You do not need to copy-paste long --provider / --auth / --model commands every time. Kompile's interactive wizards handle sign-in, live model discovery, and saving your project or global defaults once so future sessions are just kompile chat:
kompile onboard # First-run wizard: detect/install harnesses, sign in, import chats, pair peers
kompile auth login # Interactive provider sign-in wizard (or bare `/auth` inside chat)
kompile chat # Uses saved defaults, or launches SetupWizard on first run (`kompile chat --setup` anytime)Use the per-provider tables and guides below to see what Kompile adds for your vendor, pick recommended subagent tiering, or grab explicit CLI flags for scripts, CI, and one-off overrides.
Coding Agents & Subscriptions
Already live in Codex, Claude Code, Antigravity, GitHub Copilot, or OpenCode? Pick your provider inside kompile chat --setup / kompile auth login (recommended) or use the direct scriptable commands below — and install any supported client CLI directly inside chat with /install (see Installable Client Harnesses). (Note: Gemini CLI is retired — Antigravity (agy) is the Gemini CLI route in Kompile.)
| Audience | Interactive Wizard Path | Direct CLI Command (scripts / overrides) | What Kompile Adds |
|---|---|---|---|
| Codex | kompile chat --setup → OpenAI / Codex | kompile chat --provider openai --auth oauth or --mode passthrough --agent codex | Responses API + prompt_cache_key, live codex app-server model discovery, non-destructive -c MCP injection, enforcer/judge/subagents |
| Claude | kompile chat --setup → Anthropic / Claude | kompile chat --provider anthropic --auth native or --auth api-key | Pre-configured PreToolUse / Stop hooks, .mcp.json injection, Anthropic prompt-cache retention (long/short/none), named account switching |
Antigravity (agy) | kompile chat --setup → Gemini / Antigravity | kompile chat --provider gemini --auth native or --mode passthrough --agent agy | Replaces retired Gemini CLI; long-lived agy acp transport, native tool guard redirecting file/shell/search to mcp_kompile_*, shared ~/.gemini/config/mcp_config.json, compaction reload |
| GitHub Copilot | kompile chat --setup → GitHub Copilot | kompile chat --provider github-copilot --model <model> | Multi-family Copilot routing (GPT/Codex Responses, Claude Messages, Gemini, Grok) under one subscription + live catalog discovery |
| OpenCode | kompile chat --setup → OpenCode | kompile chat --provider opencode or --mode passthrough --agent opencode | opencode/ Console vs opencode-go/ subscription meters in /usage, OPENCODE_CONFIG_CONTENT Kompile-only worker tool surface |
Inference Routers & Open-Weight APIs
Bring an API key from a router or fast open-weight host and set it up through kompile auth login + kompile chat --setup (or launch with direct flags below).
| Audience | Interactive Wizard Path | Direct CLI Command (scripts / overrides) | What Kompile Adds |
|---|---|---|---|
| OpenRouter | kompile auth login → OpenRouter, then kompile chat --setup | kompile chat --provider openrouter --model <org/model> | Live /v1/models catalog, routed prompt caching + session affinity header, live /usage key telemetry, single-key multi-model workflows & judges |
| Fireworks AI | kompile auth login → Fireworks, then kompile chat --setup | kompile chat --provider fireworks --model <model> | Live /inference/v1/models catalog, fast open-weight coding loops, low-latency parallel multi_task / quorum_task workers & background judges |
| Together AI | kompile auth login → Together, then kompile chat --setup | kompile chat --provider together --model <model> | Live /v1/models catalog, cost-effective open-weight reasoning/coding models, mixed-fleet workflow teams with frontier leads |
Local Models (local-runtime) | kompile install local-runtime → kompile chat --setup | kompile chat --provider kompile-local | First-party ND4J/DL4J CPU/GPU inference, HuggingFace GGUF downloads, lease-pooled VRAM safety, dense RAG/graph reasoning, and kompile-peer GPU sharing |
resolve_model & Subagent Tiering Cheat Sheet
Every Kompile agent uses resolve_model (action=providers|families|models) before launching subagents (task, multi_task, quorum_task). resolve_model never runs a model turn or guesses credentials, keeps your vendor of choice whenever it hosts the requested model family (ModelRouting), and automatically omits any model banned by /subagent-config.
WARNING
Golden rule for subagents: Never make top-tier models like Opus (*opus*) or Fable (*fable*) — or Astra / Neon — a subagent unless you are sure of the cost. Reserve frontier models for your main lead thread and pin fast, economical worker models in ~/.kompile/config/subagent-config.json (remembering that subagents never silently borrow the parent chat's Kompile-managed credential).
| Vendor / Harness | Recommended Main Agent | Recommended Subagent Worker | Recommended /subagent-config ban |
|---|---|---|---|
| OpenAI / Codex | gpt-6-astra / gpt-6.2-sol / gpt-5.6-sol | gpt-5.6-luna (always use Luna for workers) | *astra*, *opus*, *fable* |
| Claude / Anthropic | Opus, Fable, or Sonnet | Sonnet or Haiku | *opus*, *fable*, *mythos* |
Antigravity (agy) / Gemini | gemini-4-neon (or Argon / Carbon) | gemini-4-hydrogen (or Flash; via Gemini API key or business login) | *neon*, *opus*, *fable*, *astra* |
| GitHub Copilot | gpt-5.6-sol or Sonnet | gpt-5.6-luna or Haiku / Flash | *opus*, *fable*, *astra*, *neon* |
| OpenCode | Preferred lead model | opencode-go/<model> (subscription) or fast opencode/<model> | *opus*, *fable*, *astra*, *neon* |
| OpenRouter / Fireworks / Together | Frontier lead (or fast coding model) | Dedicated low-cost open-weight workers (deepseek, Qwen, etc.) | *opus*, *fable*, *astra*, *neon* |
Need the full platform (documents, knowledge graph, web UI)?
The audience quickstarts above run purely on the slim CLI harness with zero server setup. When you also want local embeddings, document crawling, knowledge graphs, and the browser UI, continue with the Quick Start Scenarios or run kompile install local-runtime.
Go deeper after your first session
- The Web Harness — run a multi-project browser workspace (
kompile chat --web) with live SSE controls, bounded reconnect, embedded PTY terminal, processes, sources, insights, and storage views driven directly by the CLI - Import & Resume: Cross-Agent Continuity — import sessions from 11 external CLIs/IDEs (
claude-code,codex,agy,opencode,cursor,aider,cline,continue, …), resume across vendors with target-aware compaction, and batch-recover windows withkompile resume-all - Why Kompile Is Opinionated — how the harness layers the Enforcer, Judge, Subagents, Auditing, and Cost & Quota Estimation
- Slash Commands (
/) and Interactive Workflows - MCP Integration and MCP Tool Reference