~8 MB · Zero frameworks.
Think, therefore act.
go install github.com/BackendStack21/kode/cmd/odek@latest
Get Started →
go test. odek installs in 5 seconds with a single go install command — no Docker, no venv, no npm, no sagas.
Real terminal output from real runs. Click through the examples.
odek 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 3 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 (markdown on disk), session buffer, and searchable episodes. Merge-on-write via go-vector cosine similarity saves ~80% LLM calls. go-vector RP is ephemeral — rebuilt from text on every write, no embedding state to persist.
Server: odek mcp exposes native tools to Claude Code, Cursor, any MCP client. Client: odek connects to external MCP servers and makes their tools available to the agent.
odek serve — browser-based agent with @ resource completion, WebSocket streaming, token economics, inline loading, drag-and-drop file attachments, and a full IDE-style console. Built from Go's embed — zero npm.
Attach files to any prompt with --ctx / -c (CLI), @file inline references (REPL), or drag-and-drop (Web UI). File content is injected as context blocks — no tool calls needed.
Four-layer priority chain: global → project → ODEK_* 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.
| odek | Python agents | |
|---|---|---|
| Direct dependencies | Minimal — stdlib + 4 focused pkgs | 200+ packages |
| Binary size | ~8 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/odek@latest
export ODEK_API_KEY=sk-... (or DEEPSEEK_API_KEY / OPENAI_API_KEY)
odek run "How many lines in go.mod?"
No Go toolchain? Auto-detects your OS and architecture:
# Download to /usr/local/bin (may need sudo)
curl -sfLo /usr/local/bin/odek https://github.com/BackendStack21/kode/releases/latest/download/odek-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && chmod +x /usr/local/bin/odek
# Or to current directory
curl -sfLO https://github.com/BackendStack21/kode/releases/latest/download/odek-$(uname -s | tr '[:upper:]' '[:lower:]')-$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/') && chmod +x odek-* && ./odek-* version
# Results instantly
$ odek run "How many lines in go.mod?"
3 lines
# With session persistence
$ odek run --session "Refactor the auth module"
$ odek continue "Now add error handling"
# Different provider, same binary
$ odek run --model gpt-4o --base-url https://api.openai.com/v1 "Explain this"
# Attach files for context
$ odek run --ctx data.csv "analyze trends"
$ odek run "@README.md summarize this project"
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/odek@latest
GitHub →