Skip to content

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) ​

bash
# macOS / Linux (slim native CLI harness, prerelease channel by default)
curl -fsSL https://raw.githubusercontent.com/GetKompile/kompile/main/install.sh | bash
powershell
# Windows PowerShell
irm https://raw.githubusercontent.com/GetKompile/kompile/main/install.ps1 | iex

See 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:

bash
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.)

AudienceInteractive Wizard PathDirect CLI Command (scripts / overrides)What Kompile Adds
Codexkompile chat --setup → OpenAI / Codexkompile chat --provider openai --auth oauth or --mode passthrough --agent codexResponses API + prompt_cache_key, live codex app-server model discovery, non-destructive -c MCP injection, enforcer/judge/subagents
Claudekompile chat --setup → Anthropic / Claudekompile chat --provider anthropic --auth native or --auth api-keyPre-configured PreToolUse / Stop hooks, .mcp.json injection, Anthropic prompt-cache retention (long/short/none), named account switching
Antigravity (agy)kompile chat --setup → Gemini / Antigravitykompile chat --provider gemini --auth native or --mode passthrough --agent agyReplaces 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 Copilotkompile chat --setup → GitHub Copilotkompile chat --provider github-copilot --model <model>Multi-family Copilot routing (GPT/Codex Responses, Claude Messages, Gemini, Grok) under one subscription + live catalog discovery
OpenCodekompile chat --setup → OpenCodekompile chat --provider opencode or --mode passthrough --agent opencodeopencode/ 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).

AudienceInteractive Wizard PathDirect CLI Command (scripts / overrides)What Kompile Adds
OpenRouterkompile auth login → OpenRouter, then kompile chat --setupkompile 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 AIkompile auth login → Fireworks, then kompile chat --setupkompile 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 AIkompile auth login → Together, then kompile chat --setupkompile 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 --setupkompile chat --provider kompile-localFirst-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 / HarnessRecommended Main AgentRecommended Subagent WorkerRecommended /subagent-config ban
OpenAI / Codexgpt-6-astra / gpt-6.2-sol / gpt-5.6-solgpt-5.6-luna (always use Luna for workers)*astra*, *opus*, *fable*
Claude / AnthropicOpus, Fable, or SonnetSonnet or Haiku*opus*, *fable*, *mythos*
Antigravity (agy) / Geminigemini-4-neon (or Argon / Carbon)gemini-4-hydrogen (or Flash; via Gemini API key or business login)*neon*, *opus*, *fable*, *astra*
GitHub Copilotgpt-5.6-sol or Sonnetgpt-5.6-luna or Haiku / Flash*opus*, *fable*, *astra*, *neon*
OpenCodePreferred lead modelopencode-go/<model> (subscription) or fast opencode/<model>*opus*, *fable*, *astra*, *neon*
OpenRouter / Fireworks / TogetherFrontier 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 ​

Released under the Apache-2.0 License.