Skip to content

CLI, Slash Commands & Workflows ​

The kompile CLI is the main entry point for everything: interactive coding chat, browser harness hosting, configuration wizards, guardrails, extensions, spins, peer sync, local models, document ingestion, and application builds.

TIP

Start with interactive wizards — you don't need to memorize flags. Inside kompile chat, bare commands such as /config, /enforcer, /judge, /subagent-config, /hooks, /resources, /workflow, /auth, and /model open numbered interactive menus. From your shell, kompile onboard and bare kompile configure do the same.

Looking for terminal UI layout, keybindings, and /ui presets? See The CLI Harness: Terminal UI, Navigation & Configuration.

In this section ​

GroupPagesBest starting point for…
Chat, Wizards & AuthSlash Commands (/) · Interactive Workflows · Chat & Harness · Headless & Streaming (exec) · AuthenticationDaily terminal/web chat, non-interactive exec / stream-json scripting, multi-agent workflows, and OAuth/API-key credentials
Guardrails, Hooks & ResourcesPolicy Enforcer · Policy Audits (/policy-enforce) · Hooks (/hooks) · Resource Policies (/resources)Locking down project rules, auditing transcripts, pre/post tool hooks, and concurrency lanes
Extensions, Spins & Peer SyncExtensions & Plugins · Spins · Peer SyncAdding custom tools/JAR plugins, packaging personas, and syncing across hosts
Data, Models & PlatformIngestion · Models · Graph · Knowledge · Pipelines · App · Build App · Sessions · Manage · SDK · CloudCrawling docs, managing local models, querying graphs, and operating Kompile servers

Command groups ​

CommandDescription
kompile onboardFirst-run onboarding wizard (harnesses, auth, conversation import, peers)
kompile explainInspect installed harnesses, auth, subagents, limits, LSP, peers, and MCP
kompile updateSelf-update managed distributions and switch channels (kompile update channel)
kompile doctorRun environment and distribution diagnostics
kompile projectCreate, open, manage projects
kompile build appGenerate RAG applications from presets or custom module selection
kompile build distBuild canonical platform distribution archives
kompile spinBuild installable personas with prompts, MCP tools, and optional models
kompile extensionInstall and inspect process extensions, Java plugin SPI, custom tools, skills, roles, and hooks
kompile chatDirect LLM chat, server-connected RAG chat, or agent passthrough
kompile execNon-interactive one-shot and stream-json streaming mode (like claude -p / opencode run / codex exec)
kompile acpRun Kompile CLI chat as an Agent Client Protocol (ACP) v1 stdio server for editors (Zed, JetBrains, Neovim, Emacs)
/ Slash CommandsComplete reference of interactive /commands inside chat & passthrough
Interactive WorkflowsWorkflow teams, subagent delegation, loops, judge audits, resource admission, GC
kompile ingestUpload files, register directories, add URL sources
kompile runDownload and run a local LLM with OpenAI-compatible API
kompile modelDownload, convert, list, export, import models
kompile configureInteractive configuration wizards
kompile authManage LLM credentials, conversational channels, source OAuth, and sync connections
kompile mcp / kompile mcp-stdioManage custom MCP servers and expose Kompile MCP tools via stdio
kompile serveRun a shared MCP daemon over Unix socket
kompile enforcerPolicy-governed agent execution
kompile peer / kompile sourcesEncrypted TLS peer federation, unified harness sources (blob stores, GitHub Releases, dirs), and cross-machine sync
kompile agentAgent workflows and tasks (kompile auth channel manages channels)
kompile appManage a running server (ingest, index, crawl, jobs, graph)
kompile graphKnowledge graph operations (nodes, edges, traverse, search)
kompile code-indexLocal code search with live re-indexing
kompile perfModel performance analytics and leaderboards
kompile install / uninstallManage dependencies (local-runtime, GraalVM, Maven, Python)
kompile bootstrapInitialize ~/.kompile directory
kompile infoShow system and environment information

Released under the Apache-2.0 License.