04Open source
Ktesio Build Memory, context, routing and verification for AI coding agents.
Ktesio Build gives the AI coding agent you already use project memory, context, model routing and verification. It is for developers and teams who work in a git repository with Claude Code, Codex, GitHub Copilot CLI or ZCode, and want the agent’s choices reviewed like code and its work checked before it counts as done.
Ktesio Build is not an agent. Your agent still runs the conversation and does the work; Ktesio Build gives it skills, an MCP server and a CLI with the same commands, one Rust binary, ktb. Nor is it a document workflow: nothing waits for a document to be signed off, and a task is done when its checks pass.
4.1What it does
Project memory
Decisions, intents, contracts and assumptions are kept as small files in the repository, reviewed in pull requests like code, so the next feature reuses the last one’s choices instead of making them again.
Context packs
Each task gets only the code and records it needs, cut to a token budget. The index behind them stays on your machine: one SQLite file, with no network at query time.
Routing
Each task runs on the cheapest model tier, fast, balanced or deep, that reliably passes that kind of task, learned from your own outcomes. Risk tags such as money, auth or migration keep a floor.
Verification
A task is done when its own check, the repository’s tests and your rules pass. Then it is committed, with trailers that trace it back to its intent and the assumptions it rests on.
4.2How a change runs
- Plan
- Your agent describes the tasks and the calls it would otherwise make without asking. Ktesio Build gives each task a tier from what it touches and how risky it is, and groups the tasks that can run side by side.
- Guard
- Each call is assumed, probed or put to you, by what it would cost to get it wrong. The questions that matter most reach you on one card, and each answer is kept as a decision that the next plan reuses.
- Run and verify
- Each task runs on its tier and is checked. A failure is retried once, then moved up a tier, then stops its own branch only. A pass becomes one commit.
- Settle
- One screen shows what was committed, the assumptions to accept or reject, and the tokens spent by tier. Rejecting an assumption lists the commits that rest on it, and can revert them.
4.3Try it
# install on macOS or Linux (the docs cover Windows)
$ curl -fsSL https://build.ktesio.dev/install.sh | sh
# set up a repository for the coding agents it finds
$ cd your-repo
$ ktb init
# see what each agent can do there
$ ktb doctor
# then, in your agent: /ktb-build in Claude Code, $ktb-build in Codex- Licence
- Apache-2.0
- Written in
- Rust
- Runs on
- macOS, Linux, Windows
- Latest release
- v0.0.5
- Released
- Command
ktb
It also says where it doesn’t pay. On very small repositories, plain Claude Code is cheaper: planning and verifying cost more than they save there. Its benchmarks against plain Claude Code, SpecKit and BMAD are a single run per fixture so far, measured on 27 November 2026 with version 0.0.1, and the docs keep every run by date and version.
4.4Built with itself
Ktesio Build’s own repository runs on Ktesio Build. Its AGENTS.md tells every coding agent that works there to make code changes through the ktb-build skill, and the intents, decisions and assumptions behind the code are records in its .ktesio/ folder, next to the code they explain.
You can read why each part is the way it is on GitHub, before you install it.