5 MB zero-dependency Go agent runtime.
Think, therefore act.
go install github.com/BackendStack21/kode/cmd/kode@latest
Get Started →
go test. kode installs in 5 seconds with a single go install command — no Docker, no venv, no npm, no sagas.
kode run --sandbox — every session spawns an isolated Docker container. No network, no host mounts beyond the working directory, zero capabilities, destroyed on exit.
Parallel OS-process sub-agents via delegate_tasks. True isolation — each sub-agent is a fresh process with its own config, tools, and timeout. Up to 8 concurrent workers.
Detects multi-step procedures, error recoveries, and corrections during your sessions. Saves them as reusable SKILL.md files. On by default — --no-learn to disable.
Three tiers: facts, session buffer, and episodes. Merge-on-write via go-vector cosine similarity. Saves ~80% LLM calls on repeated topics.
Server: kode mcp exposes native tools to Claude Code, Cursor, any MCP client. Client: kode connects to external MCP servers and makes their tools available to the agent.
kode serve — browser-based agent with @ resource completion, WebSocket streaming, and a full IDE-style console. Built from Go's embed — zero npm.
Four-layer priority chain: global → project → KODE_* env vars → CLI flags. ${VAR} substitution in config files. Sensible defaults at every layer.
Built-in read_file, write_file, search_files, patch, shell, and browser. All gated by a unified security layer — classify operations as allow / deny / prompt per risk class.
| kode | Python agents | |
|---|---|---|
| Dependencies | Zero. stdlib only. | 200+ packages |
| Binary size | ~5 MB static | 50–200 MB (venv) |
| Startup | Instant | 2–10 seconds |
| Sandbox | --sandbox flag | Manual Docker setup |
| Tool interface | One interface, one method | Class hierarchies + decorators |
| MCP | Bidirectional (server + client) | Client-only or adapter needed |
| Language | Go — native binary | Python — interpreter required |
brew install go or download.
go install github.com/BackendStack21/kode/cmd/kode@latest
export DEEPSEEK_API_KEY=sk-... or OPENAI_API_KEY
kode run "How many lines in go.mod?"
# Results instantly
$ kode run "How many lines in go.mod?"
3 lines
# With session persistence
$ kode run --session "Refactor the auth module"
$ kode continue "Now add error handling"
# Different provider, same binary
$ kode run --model gpt-4o --base-url https://api.openai.com/v1 "Explain this"
Deep-dive docs for every subsystem. Real detail, no fluff.
One binary. One loop. Zero frameworks.
Go install and go.
go install github.com/BackendStack21/kode/cmd/kode@latest
GitHub →