Apache 2.0 • Folder-First CLI & Web Harness • Zero Cloud Lock-In

Own Your AI Stack: Costs, Transcripts, Models, Memories, and Reasoning

Stop flying blind across opaque AI subscriptions, fractured chat histories, black-box desktop model apps, and cloud-locked memories. Kompile puts live subscription cost transparency, multi-vendor transcripts, compiler-level model control, peer-to-peer memory sync, and fuzzy-typed knowledge graphs inside one agent-configurable harness right where you code.

$ curl -fsSL https://raw.githubusercontent.com/GetKompile/kompile/main/install.sh | bash

Works with Claude, Codex, Antigravity (agy), Copilot, OpenCode, OpenRouter & local models • Windows & GPU installs • Read the docs

Kompile Console — real-time crawl with live pipeline progress, graph extraction, and activity log

Same engine from terminal to browser — live graph compilation, multi-vendor sessions, and full local control

WHY DEVELOPERS & TEAMS SWITCH TO KOMPILE

Built for the Four Hair-on-Fire Problems Every AI Stack Hits

Kompile isn't another chat wrapper or rigid vector store. It gives you control over the mechanics other tools hide — spend, transcripts, model compilers, where your memories live, and how your AI reasons over messy reality.

Subscriptions, Transcripts & Self-Configuration01

The Problem

AI subscription bills are a black box, transcripts are scattered across half a dozen CLIs, and every tool forces you to hand-edit fragile config files.

Subscription Cost Transparency, Multi-Vendor Transcripts & an Agent-Configurable Harness

See real per-vendor quota and spend breakdowns by session, model, and subagent (/usage, /cost) with hard worker dollar caps and model bans. Import, search, compact, and resume transcripts across 11+ external CLIs and IDEs without losing context — and because Kompile exposes its own internals as MCP tools, you can simply ask your agent in plain English to inspect, preview, and configure guardrails, subagents, hooks, and skills for you.

  • Live /usage & /cost attribution across Claude, Codex, Antigravity (agy), Copilot, OpenCode, OpenRouter & local models
  • Cross-vendor /import, /resume, /compact & searchable /blob-store archiving across 11+ CLIs/IDEs
  • Agent-configurable harness via MCP (onboarding, enforcer_config, hooks, skill_manager) with dry-run previews & confirmation gates
Local Models & Compilers Where You Code02

The Problem

Running and controlling the latest open-weight models usually traps you in a black-box desktop app with zero access to graph optimizations, compilers, or hardware mechanics — disconnected from your repo.

Compiler-Grade Model Control From the Same Harness Where You Code

With local-runtime and the model_runtime MCP tool, download, compile, optimize, fine-tune, and serve local models directly from your coding workspace. Inspect and control 23-pass graph optimizations, quantization, PEFT/LoRA, alignment, and lease-pooled GPU scheduling instead of clicking toggles inside an opaque wrapper.

  • 23-pass fixed-point graph optimizer, kernel fusion, and hardware targeting (NVIDIA CUDA, AMD, Intel, Apple, CPU)
  • Download GGUF / ONNX / SafeTensors, run PEFT/LoRA & abliteration, and serve locally via kompile local-models
  • Manage embeddings, VLM/OCR pipelines, and local LLMs directly alongside your code and subagents
Peer-to-Peer Architecture & Ownership03

The Problem

Cloud AI platforms trap your memories, chat transcripts, and project rules on someone else’s servers — leaving you locked in whenever you switch machines, share with a team, or work offline.

Peer-to-Peer Memory & Transcript Ownership — Zero Cloud Lock-In

Every project folder owns its own state under .kompile/ while global defaults stay in ~/.kompile/. Pair your laptop, workstation, or GPU box directly over pinned TLS (kompile peer) and unify peers, S3/R2 blob stores, and shared drives under /sources. Run the harness remotely from anywhere while still searching and reading your memories, transcripts, and GPU models where you choose to keep them.

  • Folder-first local storage (<project>/.kompile/) — switch repos and memory, rules, and code indices switch automatically
  • Encrypted peer-to-peer networking (kompile peer) for zero-copy remote memory, transcript search, and shared GPU serving
  • Unified /sources registry spanning TLS peers, S3/R2 /blob-store archives, mounted drives, and external CLIs
Flexible Reasoning & Fuzzy Type Resolution04

The Problem

Rigid graph databases shatter on messy real-world documents and evolving codebases, while plain vector RAG can only fetch similar paragraphs — it cannot verify claims or reason across relationships.

Flexible .kgraph Reasoning With Fuzzy Type Resolution for Messy Data & Codebases

Compile folders, PDFs, cloud sources, and codebases into portable .kgraph archives that pair hybrid search with multiple reasoning engines over one shared representation — OWL-RL ontologies, crisp logic (FOL/Datalog), probabilistic soft logic (PSL), causal/Bayesian networks (MEBN), subjective logic, and first-class fuzzy type resolution built specifically for messy data and real codebases.

  • First-class fuzzy type resolution & GraphSchema-to-OWL bridging for ambiguous entities and sprawling codebases
  • Multi-engine reasoning: crisp logic + TMS, PSL/ADMM, MEBN/Bayesian causal networks, and subjective-logic evidence fusion
  • Self-contained portable .kgraph ZIP archives — run offline in a project folder or share across a team server

FOLDER-FIRST • AGENT-CONFIGURABLE

Your Folder Is the Project — Scale Only When You Need To

No central database or setup ceremony. Open any repo or docs folder and Kompile scopes memory, guardrails, drafts, code indices, and spend tracking right under .kompile/. Ask your agent in plain English to configure the harness for you via MCP tools.

1. Start in Any Folder

Run kompile onboard once, then kompile chat (or --web) in any directory. Get live /usage, /cost, off-tree drafts, and fail-closed LSP verification immediately.

2. Add Local Models & .kgraph

Run kompile install local-runtime to unlock compiler-optimized local LLMs, hybrid RAG over PDFs and repos, and portable .kgraph reasoning with fuzzy type resolution — still with zero servers.

3. Compact, Archive & Pair Peers

Tame long sessions with /compact, /gc, and /blob-store. Pair your laptop with a GPU workstation via kompile peer to share memories, transcripts, and models over pinned TLS.

kompile onboard → cd my-project && kompile chat → kompile install local-runtime

VERTICALS & SOLUTIONS

Graph Knowledge & Grounded Agents Across Domains

Every domain has its own web of relationships, rules, and persistent state. Kompile captures it as structured graphs with the provenance, auditability, and tool-grounded execution that high-stakes and living-world applications demand.

COMPILE APPLICATIONS

One Interface. Every Provider.

Build one application and one CLI harness against Kompile's unified interface. Swap LLM providers, vector stores, embedding models, and data sources without rewriting a single line of business logic.

Every provider speaks the same interface. Switch from OpenAI to a local Ollama instance or a self-hosted vLLM server — your application code stays identical. Any OpenAI-compatible endpoint works as a drop-in backend.

API PROVIDERS

OpenAIOpenAI
AnthropicAnthropic
Google GeminiGoogle Gemini
Meta LlamaMeta Llama
OllamaOllama
Azure OpenAIAzure OpenAI

CLI AGENT & ROUTER BACKENDS

Claude CodeClaude Code
Codex CLICodex CLI
Antigravity (agy)Antigravity (agy)
OpenCode & CopilotOpenCode & Copilot
OpenRouter / FireworksOpenRouter / Fireworks

ENTERPRISE DEPLOYMENT & SUPPORT

Deploying Kompile in an air-gapped, regulated, or multi-team environment? Talk to our engineers about enterprise onboarding, custom spins, and dedicated support.

By filling out this form and clicking submit, you agree to our Privacy Policy