Klaat Code Documentation
The terminal-native AI coding agent — smart model routing, a real code graph, and a full TUI.
Getting Started
Install Klaat Code, sign in, and start coding in under 5 minutes.
CLI Reference
Every klaatcode shell command, flag, environment variable, and exit code.
Smart Model Routing
How Klaatu routes every request to the cheapest capable model tier.
Tools & Sub-Agents
Built-in tools, the code knowledge graph, and background sub-agents.
Commands & Shortcuts
Every slash command, keyboard shortcut, and input trick available inside the TUI.
Configuration
Config files, themes, permissions, project rules, and directory layout.
MCP Servers
Connect local (stdio) and remote (HTTP + OAuth) MCP servers.
Automation
Skills, hooks, plugins, headless mode, and the API server.
Benchmarks
Klaat Code vs Claude Code, Cursor (both Composer variants), opencode, and Grok Build — same tasks, same prompts, measured.