kode binary that gives you access to every feature of the platform. The binary is written in Go and acts as the primary entry point for the verification engine, code generation, and context planning commands. For everything else — providers, models, sessions, agents, the TUI, and more — the binary automatically proxies the call to the TypeScript CLI bundled alongside it. You never need to invoke two separate tools; kode <anything> just works.
How the CLI works
When you runkode <command>, the Go binary first checks whether the command is one it owns natively (such as init, generate, verify, loop, plan, or stats). If the command is not recognized by the Go layer, the binary transparently forwards the full argument list to the TypeScript CLI. This means every command in both layers appears under the single kode namespace.
Global flags
subcommand
Print the current version, git commit hash, and build date.
Command index
Key command pages
kode init
Scaffold your project configuration with TDD mode, blast radius limits, and auto-detected test commands.
kode run
Generate and apply verified code patches from a plain-English prompt in one command.
kode loop
Run the full generate → verify → apply → test pipeline with automatic rollback on failure.
kode plan
Build a surgical, token-capped context graph using Tree-sitter AST analysis before generating.
kode generate
Generate structured JSON hunks from a prompt, with optional inline verification and apply.
kode verify
Run the 9-gate verification pipeline against a JSON file of hunks or proposed file contents.