Fast Native CLI Harness
Ships as a single self-contained native binary (Linux, macOS, Windows) with portable JVM fallback, zero-flag installation, release channels, and built-in self-update.
Explore the CLI
Native CLI harness, local knowledge graphs, hybrid RAG, and self-hosted model serving — running on your own hardware.
curl -fsSL https://raw.githubusercontent.com/GetKompile/kompile/main/install.sh | bashKompile is built around three practical assumptions about running AI agents on real codebases — and every tool, policy, and configuration layer reflects them:
process wake-up monitors, /auto-compact, /model failover, kompile resume-all, and bounded SSE reconnect in the Web Harness). Continuous execution is paired with continuous visibility: /usage, /cost, /subagent-breakdown, /test-milestones, mandatory subagent progress reports, and full Auditing & Provenance.edit_coordinator locks, resource-policy lanes), lsp action=check fails closed on touched files, /subagent-config enforces hard concurrency/model/spend caps, and The Judge audits outcomes against observed evidence./workflow role routing let small local models (kompile-local), fast open-weight APIs, and frontier reasoning models all run reliably under the exact same harness.Kompile is deliberately opinionated — it is built for tight, safeguarded agentic workflows, not as a thin wrapper or a blank canvas:
/model failover) assume those dips will happen and keep your repository, builds, and quotas protected when they do. Read the full rationale in Why Kompile Is Opinionated.| Surface | What it gives you | Start with |
|---|---|---|
Slim CLI Harness (cli-harness) | Native kompile binary, interactive AI chat, MCP stdio tools, agent passthrough, and self-updates — no Java, GPU drivers, or chip classifiers required. | install.sh / install.ps1 (default) |
Local ML Runtime (local-runtime) | Optional overlay that adds local embeddings, dense search, and graph reasoning on your own CPU/GPU. | kompile install local-runtime |
Full Platform (full / GPU variants) | Optional multi-process server stack (kompile-server, kompile-chat, kompile-crawl-manager, kompile-model-staging) with a bundled Java runtime. | install.sh --variant full |
cuda, zluda, avx2, mps, …)? If you just want to download the coding harness and write code: no. The default cli-harness download only matches your OS and CPU architecture (linux-x86_64, macosx-arm64, windows-x86_64, or portable any JVM fallback) and works immediately with cloud APIs, subscriptions (Claude, Codex, Copilot, OpenRouter, etc.), passthrough CLIs, and external local endpoints (Ollama, vLLM, LM Studio).
Hardware classifiers only apply when you opt into local-runtime or full distributions to run Eclipse DL4J / ND4J models directly on your machine's hardware:
| Classifier family | What it is | When you need it |
|---|---|---|
None (cli-harness) | OS + arch only (linux-x86_64, macosx-arm64, windows-x86_64) | Default for coding. Cloud/API models, subscriptions, passthrough CLIs, MCP tools, LSP, and code index. |
CPU (base, avx2, avx512, onednn, armcompute, compile) | CPU SIMD (AVX2/AVX-512), Intel oneDNN / ARM Compute kernels, and graph compilation | Running local embeddings or models on machines without a dedicated GPU. |
NVIDIA GPU (cuda-12.9, -cudnn, -compile) | Native NVIDIA CUDA 12.9 compute backend | Local GPU inference, OCR, and embeddings on NVIDIA cards. |
AMD GPU (zluda-rocm-*) | ZLUDA translation layer over AMD ROCm (rocm-7.2.4 / rocm-10.0.0) | Running Kompile's CUDA compute backend on AMD Radeon / Instinct GPUs. |
Apple Silicon & Vulkan (mps, vulkan) | Apple Metal Performance Shaders (macosx-arm64-mps) or cross-vendor Vulkan compute | Local GPU acceleration on Apple Silicon Macs or Vulkan-capable GPUs (Linux, Windows, Android). |
Mobile & Specialized (android-arm64, hexagon, tpu) | Android ARM64, Qualcomm Hexagon NPU, and Google TPU backends | Mobile APKs / embeddable libraries or dedicated accelerator hosts. |
You rarely need to pick a classifier by hand — kompile install local-runtime detects your platform automatically, and you can see the full matrix in Local Models & local-runtime and Installation & Updates.
Every repository works as a Kompile project out of the box — just run kompile chat or kompile chat --web inside any folder. Kompile scopes memory (.kompile/memory/), guardrails (enforcer-config.json, resource-policy.json, hooks.json), LSP compile databases (lsp-check.json), staged drafts (.kompile/drafts.git), and process logs per project while inheriting defaults from ~/.kompile/, and lets you work across multiple repositories concurrently in the Web Harness. Add an optional kompile.project.json manifest with kompile project init when tracking document corpora, crawl profiles, or kompile-app services — see Projects and Disk Space & GC (/gc).
Every section starts with an entrypoint page that lays out the reading order for that area. Start at the top if you are new, or jump straight to the pillar you need:
| Step | Section Entrypoint | Start here when you want to… |
|---|---|---|
| 1 | Start Here (Quick Start) | Install the slim kompile binary, run your first kompile chat session, learn how sessions & projects work, or compare CLI vs. Web |
| 2 | Quickstarts by Audience | Connect Kompile to Codex, Claude, Antigravity (agy), GitHub Copilot, OpenCode, OpenRouter, Fireworks, Together, or Local Models |
| 3 | Hands-On Walkthroughs | Follow guided builds for remote sign-in, customizing the harness with an agent, pairing peers & remote storage, building Spins, or writing Extensions & native plugins |
| 4 | Harness Deep Dive | Understand Kompile's opinionated architecture: surfaces (CLI, Web, ACP, mobile), The Enforcer, The Judge, subagents, monitors, memory, reasoning, skills, and cost accounting |
| 5 | Coding Tools | Use Kompile's bounded codebase tools: language prerequisites, fail-closed LSP verification, local code index/graph, file context, Draft Workflow, and test milestones |
| 6 | CLI, Slash Commands & Workflows | Look up kompile commands, interactive wizards, / slash commands, multi-agent /workflow loops, hooks, and resource policies |
| 7 | MCP Tools & Configuration | Wire Kompile's MCP server (mcp-stdio, daemon, SSE) into external agents, browse the MCP Tool Reference, or inspect Configuration Reference |
| 8 | Local Models, Server & Staging | Overlay local-runtime for self-hosted embeddings/LLMs/OCR, run kompile-model-staging, or deploy the multi-process Kompile Server & Web UI |
| 9 | Platform & Knowledge Concepts · Architecture & Development | Go deep on document crawl pipelines, hybrid RAG, .kgraph knowledge graphs, fact sheets, persona boundaries, or building Kompile from source |
TIP
Using an external AI coding agent? Point it at Kompile's public Agent Skill (SKILL.md) (https://getkompile.github.io/kompile/SKILL.md) so it knows how to operate inside and configure the harness automatically.