Docs
Guide

Kibi compared with other approaches

How Kibi compares with rules files such as AGENTS.md, memory tools for coding agents, spec-driven development workflows and requirements-traceability tools, and when each one is enough.

Kibi is a requirements framework for AI coding agents. It records the reasoning behind your code as requirements in your repository, links them to code and tests, and makes every later agent respect them. Other approaches cover parts of that. This page says what each one does well and where Kibi differs, so you can tell whether you need it.

At a glance

Rules files Memory tools Spec-driven Traceability tools Kibi
Knowledge lives in A prose file per host A memory store Specs written first Requirement documents Typed requirements in .kb/, per branch
Written by You The agent You, then the agent People The agent; you approve product calls
Linked to code No No Via the task plan By hand Per symbol, checked on commit
Shown before an edit If read If searched If opened No Yes, by hooks
Contradictions caught No No No Rarely Refused before storing
Evidence it still holds No No Agent-written tests Trace reports Fresh end-to-end evidence

Rules files means AGENTS.md, CLAUDE.md, Cursor rules and similar instruction files.

Rules files

A short AGENTS.md that says how to work in the repository is the right tool for build commands, style and process. Keep it. It is not enough when the rules are about product behaviour: the file is not checked against the code, it grows until important lines are lost, and each host reads a different file. Kibi keeps those rules as requirements and adds a short section to AGENTS.md that points agents at them. See Enforce the rules in AGENTS.md.

Memory tools

Memory tools help an agent remember what happened in earlier sessions. They store what was said; they do not check it. A remembered rule can be outdated, contradict another one or no longer match the code, and the agent will not know. Kibi differs in three ways: requirements are linked to the code that implements them, conflicting requirements are refused, and evidence shows whether the code still does what the requirement says. Memory remembers; Kibi enforces.

Spec-driven workflows

Spec-driven development writes a specification first and has the agent implement it. That works well for a new feature with a clear plan. Kibi does not ask you to write specs up front: requirements are captured from the work itself, from your prompts and the sources you point bootstrap at, and they stay attached to the code after the feature ships, so the next agent that touches it is held to the same intent. The two can work together: a spec can be the source a requirement cites.

Requirements-traceability tools

Traditional traceability tools link requirements to code and tests, mostly for audits, and depend on people keeping the links current. Kibi gives that job to the agent and checks it: code no requirement owns, a requirement with no test and stale evidence are all reported by kibi check and the commit gate, and Prolog rules check the requirements themselves for contradictions. See the proof ladder and the inference rules.

When Kibi is more than you need

If your project is small, one person works on it in one agent, and the rules fit on a screen, a rules file is enough. Kibi's remember level is a lighter start when you want requirements, reasons, code links and contradiction checks without scenarios, tests and proofs.

Next