timwuhaotian/killi
55 stars · Last commit 2026-11-29
Open-source AI coding agent for your terminal, written in Rust. One 7 MB native binary for Apple Silicon Macs, ~18 MB RAM, 70–90% prompt-cache hits. Works with OpenAI, Anthropic and any compatible LLM; MCP, subagents, plan mode, skills, hooks, AGENTS.md. A lightweight Claude Code / Codex CLI alternative.
README preview
<p align="center"> <img src="docs/icon.png" width="128" height="128" alt="killi icon"> </p> <h1 align="center">killi</h1> [](https://github.com/timwuhaotian/killi/actions/workflows/ci.yml) [](https://github.com/timwuhaotian/killi/releases/latest) [](LICENSE)  **killi is a fast, tiny, free and open-source AI coding agent for your terminal**, written in Rust. It ships as one ~7 MB native binary for Apple silicon Macs and Linux (x64 and arm64) — no runtime to install, starts in under 10 ms, and uses about 18 MB of memory while running a prompt. It reads your code, runs commands and edits files, and works with any OpenAI-compatible, Anthropic-compatible or OpenAI Responses LLM, including ChatGPT subscriptions. It supports MCP servers, subagents, plan mode, skills, hooks and `AGENTS.md`. It is built around one idea: send the model as little as possible, and send it the same way every time, so the provider's prompt cache keeps hitting (70–90% of input tokens come from the cache). It is the sibling of the [Kil](https://github.com/timwuhaotian/kil) terminal and the [Kiled](https://github.com/timwuhaotian/kiled) editor.