THE ORCHESTRATOR
Kompile CLI
One command-line harness to bootstrap, configure, and run your entire AI stack. Create projects that crawl your data and compile knowledge. Over 100 native commands that orchestrate models, data pipelines, servers, and agents from your terminal — against any provider.
The Single Entry Point
The CLI is how you interact with every part of the Kompile stack. It bootstraps runtimes, manages model lifecycles, launches servers, runs chat sessions, and orchestrates data pipelines — all through a single kompile command.
100+
Native Commands
1 Binary
Single Install
All Providers
One Unified Interface
Kompile Projects
A Kompile project is a self-contained unit that crawls your data and compiles it into knowledge your AI can act on. Each project bundles its own configuration, pipelines, knowledge graphs, and model assignments.
Crawl & Compile
Point a project at your data sources — Confluence, Jira, Slack, local files, web pages — and it automatically crawls, chunks, embeds, and indexes everything into structured knowledge.
Scoped Configuration
Each project carries its own model assignments, vector store indexes, pipeline definitions, and knowledge graph. Run multiple projects with different providers and configurations on the same machine.
Knowledge Graphs
Every project builds a knowledge graph from its crawled data — entities, relationships, communities, and fact sheets. Query the graph directly, run algorithms, or use it for GraphRAG.
kompile init scaffolds a new project → kompile crawl crawls your sources → kompile chat starts answering questions from compiled knowledge
Chat
Chat natively or bring your own agent. Kompile gives you multiple ways to interact with your compiled knowledge — each with the full power of the stack behind it.
Native Chat
Run kompile chat for an interactive session against any configured LLM — local models, OpenAI, Anthropic, Gemini, or custom endpoints. Full access to every Kompile tool: RAG search, knowledge graphs, model management, and data crawlers.
Passthrough Mode — Your Agent, Our Tools
Run kompile passthrough claude and Kompile launches your preferred CLI agent with every Kompile tool injected as MCP tools. Works with claude, codex, gemini, qwen, opencode. Zero workflow disruption.
Cross-Agent Resume
Every conversation is stored in a unified transcript store. Resume any previous session where it left off — even with a different agent. Start in Claude, pick up in Gemini, continue in Kompile chat. The context follows you, not the provider.
Transcript Search & Import
Full-text search across every past conversation — find sessions by keyword, date, agent, or topic. Import conversation history from Claude, Codex, Gemini, or Qwen into one unified store. Never lose context again.
MCP Server Mode
Run kompile mcp-stdio and the CLI becomes a Model Context Protocol server. Claude Desktop, Cursor, VS Code, and any MCP client can use your full Kompile stack as a tool provider.
Command Reference
Commands grouped by what they do. Every operation in the stack is accessible from the terminal.
Build & Install
kompile installBootstrap the full Kompile stack — downloads runtimes, configures paths, and verifies dependencies.
kompile buildCompile the entire platform or individual modules from source with automatic dependency resolution.
kompile updatePull the latest version of all Kompile components and rebuild in place.
kompile initInitialize a new Kompile project with config scaffolding, directory structure, and default pipelines.
Model Management
kompile model downloadFetch models from HuggingFace or remote registries with resumable downloads and progress tracking.
kompile model convertConvert between formats — ONNX, TensorFlow, Keras, GGUF/GGML, SameDiff — with automatic graph optimization.
kompile model listList all models in the local registry with status, format, size, and device assignment.
kompile model promote / replace / deleteFull lifecycle management — stage, promote to production, hot-swap, or remove models.
Archive & Air-Gap
kompile archive exportPackage models into .karch archives with manifests and SHA-256 checksums for air-gapped transfer.
kompile archive importLoad .karch archives into the local registry — works fully offline behind any firewall.
kompile archive publishPush .karch archives to a remote registry for team distribution.
kompile archive listBrowse available archives in local and remote registries.
Chat & Interaction
kompile chatInteractive chat session against any configured LLM — local models, OpenAI, Anthropic, or custom endpoints — with full access to all Kompile tools.
kompile passthroughKeep using your existing CLI (Claude, Codex, Gemini, Qwen, OpenCode) but with all Kompile tools injected as MCP tools. Your agent, our tools — zero workflow disruption.
kompile mcp-stdioLaunch as an MCP (Model Context Protocol) server over stdio for integration with Claude, Cursor, and other MCP clients.
kompile api-agentRun a preconfigured API agent against any OpenAI-compatible endpoint (Ollama, vLLM, LM Studio).
kompile cli-agentOrchestrate external CLI agents (Claude CLI, Codex CLI, Gemini CLI, Qwen CLI) through a unified interface.
kompile transcript searchFull-text search across all past conversation transcripts — find previous sessions by keyword, date, agent, or topic.
kompile transcript importImport conversation transcripts from external agents (Claude, Codex, Gemini, Qwen) into the unified transcript store.
kompile resumeResume a previous conversation where it left off — across any agent. Start with Claude, pick up with Gemini, continue in Kompile chat.
Projects
kompile initInitialize a new Kompile project with config scaffolding, directory structure, default pipelines, and model configuration.
kompile projectRun project-level operations — knowledge crawls, VLM OCR presets, and project-scoped configuration.
kompile knowledgeManage the project knowledge base — import markdown, crawl sources, and build knowledge graphs scoped to the current project.
kompile graphFull knowledge graph operations — add/delete nodes and edges, traverse, run algorithms, detect communities, query, import/export, and launch an interactive graph shell.
Data Pipelines
kompile ingestRun document ingestion pipelines — load, chunk, embed, and index documents into your vector store.
kompile crawlCrawl data sources (Confluence, Jira, Notion, Slack, web) and feed into the ingest pipeline.
kompile indexBuild or rebuild vector indexes across all configured vector stores.
kompile scheduleSet up recurring crawl and ingest jobs with cron-style scheduling.
Server & Config
kompile startLaunch the Kompile App server, Model Staging server, or both as managed subprocesses.
kompile configView and edit configuration — model endpoints, vector stores, embedding providers, GPU assignments.
kompile statusHealth check across all running services, loaded models, and GPU utilization.
kompile subprocessManage background services — start, stop, restart, and tail logs for any Kompile subprocess.
MCP Server & SDK Mode
The CLI doubles as an MCP server and an SDK entry point. Integrate Kompile into any MCP-compatible client or embed it as a subprocess in your own toolchain.
MCP-STDIO Server
Launch kompile mcp-stdio and the CLI becomes a Model Context Protocol server. Claude Desktop, Cursor, VS Code, and any MCP client can use your full Kompile stack as a tool provider.
Subprocess SDK
Embed Kompile as a managed subprocess in your own applications. The CLI handles process lifecycle, health checks, log streaming, and graceful shutdown — your code just sends commands.
Ready to compile your stack?
Get early access and start orchestrating from the terminal.
Request Early Access