kage
$kage

your coding shadow

A coding agent for your terminal, your editor and your browser. Hand it a task, split it across a swarm or send it to the background, and see every step it takes. Rust core, Lua plugins, sessions as plain files.

01
terminal first

a TUI built for long sessions, with a modeless editor or vim keys, live tool output, inline approvals and search.

02
agents and swarms

delegate work to agents, fan one task out over a swarm, or send agents to the background and keep going.

03
any client

the same engine in the terminal, in a desktop and browser client, and in Zed or any ACP editor.

04
lua plugins

tools, commands, keybindings, dialogs, status widgets and event hooks in sandboxed Lua, reloaded when you save.

05
sessions are files

every turn lands in an append-only JSONL file you can read with cat, search with rg, fork at any entry and resume.

06
your models, your tools

anthropic, openai, gemini, z.ai and more, local models and your own endpoints, plus MCP servers. Switch models mid-session.

07
plan before it acts

plan mode reads and investigates, then presents a plan you approve, revise or reject before anything changes.

08
you stay in charge

permission rules per tool, command and path, a read-only mode, and questions whenever a choice is yours to make.