Overview

Understand what Kimchi Coding is, how model routing works, and what makes it different from other AI coding tools.

Kimchi Coding is an autonomous AI coding agent. You describe a task in plain English — "add error handling to the API routes", "refactor this module to async/await", "write tests for the auth service" — and the agent executes it: reading files, writing code, running commands, and checking its own output.

This is different from AI code completion (Copilot-style inline suggestions). Kimchi Coding handles multi-step tasks with minimal hand-holding — you hand over a job and the agent does it.

For larger goals that span multiple sessions, start a Ferment session with the /ferment command. See the Ferment overview for the full mental model.

How it works

A coding harness is the runtime that turns an LLM into an autonomous agent. Kimchi Coding's harness manages the full loop: it reads your codebase, plans the work, writes code, runs commands, and verifies the results — all in a terminal session.

%%{init: {'theme': 'auto'}}%%
flowchart LR
    A["You describe a task"] --> B["Kimchi Coding harness"]
    B --> C["Reads, writes, runs, verifies"]
    C --> D["Completed work"]
    style B fill:#2d2d2d,stroke:#888,color:#e0e0e0

Every session runs on the model you select with /model or ctrl+p. The agent can still delegate focused work to subagents when you ask it to.

You don't set an output limit either. For models provided by Kimchi, the gateway sets the maximum output length for each response, based on the model's actual context window.

Why Kimchi Coding?

Claude Code / CursorOther API providersKimchi Coding
Cost$100–200/month subscriptionsPay-per-token, no routing intelligencePay-per-token, smart routing cuts costs
Model lock-inAnthropic-onlySingle model per requestAutomatically picks the right model per task
Data residencyAnthropic's / provider's infraProvider's infraYour cluster (self-hosted) or Kimchi's GPUs
Claude modelsDirect from AnthropicNot availableVia Kimchi proxy — same models, no lock-in

Key capabilities

Model selection

New sessions start on Auto model routing, which asks the Kimchi router to pick the best model for each task. You can switch models at any time with /model or ctrl+p, or pick one at launch with kimchi --model <provider/id>. Subagents use the current session model unless the agent is asked to spawn them on a specific model.

Cost attribution tags

Every LLM request carries two automatic tags for analytics and cost attribution:

TagValue
model:{model_id}The model handling the request
phase:{phase}phase:plan in plan mode, phase:build in every other permission mode

Ferment V2 — experimental single-objective mode

An experimental alternative to Ferment is in the works: instead of planning phases up front, it keeps one objective active across turns and continues automatically until an independent evaluation finds it met or impossible. Enable it under /resources → Experimental, then restart Kimchi. See the Ferment V2 reference for commands and settings.

LSP integration

Kimchi includes built-in Language Server Protocol support. When language servers are detected on your PATH (TypeScript and Go), the agent gains type-aware tools — diagnostics, hover, go-to-definition, references, and rename. After every file edit, the extension automatically checks for type errors and feeds them back to the agent so it can fix issues in the same turn.

DAP debugger

Kimchi includes built-in Debug Adapter Protocol support. When debug adapters are detected on your PATH (Go, TypeScript/JavaScript, Python, C/C++/Rust/Swift, Java, Ruby, PHP), the agent gains runtime debugging tools — breakpoints, stepping, variable inspection, expression evaluation, and exception capture. The agent can inspect actual runtime state in a single call instead of reasoning about variable values by tracing code by hand.

Session persistence

Sessions (including agent runs) are saved to disk and fully recoverable. Prompt history is loaded into up/down arrow navigation so you can reuse past prompts without retyping.

Kimchi Coding vs. Kimchi Inference

Kimchi offers two products:

  • Kimchi Coding (this section): an autonomous AI coding agent with automatic model routing and cost attribution. You describe a task and the agent handles it.
  • Kimchi Inference — a serverless API for sending LLM requests from any OpenAI-compatible client. You control the model, prompt, and integration.

Kimchi Coding uses Kimchi Inference under the hood for model access.

Next steps


Did this page help you?