Kibi

Kibi is an open-source requirements framework for AI coding agents: it records the why behind your code in your repo and makes every later agent respect it.

Working when we checked on .

Visit Kibi

What is Kibi?

Kibi is an open-source requirements framework for AI coding agents that records the reasoning behind code — intent, assumptions and trade-offs — as requirements stored in the repository. It targets developers using coding agents like Claude Code, Codex, Cursor, OpenCode and ZCode. Requirements are linked to code and tests, shown to the agent before it edits, and contradicting rules are refused. A health report labels each requirement proved, tested, asserted or unverified based on fresh evidence.

Kibi pricing

Pricing model: Free

Kibi pros

  • Requirements live in .kb/ beside the code on every branch
  • Conflicting rules are refused with both rules named
  • Plugins available for Claude Code, Codex, Cursor, OpenCode and ZCode, plus any MCP client
  • Works via MCP server (kibi-mcp) or a CLI
  • Reports which requirements have fresh end-to-end test evidence
  • Runs entirely in the developer's own repository as open source

Kibi cons

  • Requires Node.js 22+ and a bundled SWI-Prolog runtime
  • Requires a manual setup and bootstrap workflow before use
  • No pricing or commercial support plans are documented

Frequently asked questions about Kibi

What is Kibi?

Kibi is an open-source requirements framework for AI coding agents. It records the intent, assumptions and trade-offs behind code as requirements in your repository and makes later agents respect them.

Who is Kibi for?

It is for developers who use AI coding agents such as Claude Code, Codex, Cursor, OpenCode or ZCode, or any MCP client or CLI, and want agents to preserve product decisions.

How does Kibi stop agents from undoing decisions?

Before an agent edits a file, hooks show it the requirement that code implements, what it must keep true, and why it exists. A new rule that contradicts an existing one is refused with both named.

How is Kibi different from a project memory file?

Memory files store free-text notes the agent may recall. Kibi turns intent into typed requirements linked to code and tests, checks them for contradictions, and puts them in front of the agent at edit time.

Where are requirements stored?

Requirements, scenarios and typed facts land in a .kb/ directory beside the code, on every branch, citing the ticket or page they came from.

How does Kibi know a requirement is actually tested?

A test that claims a requirement records evidence tied to the exact code snapshot it ran on. Each requirement is labeled proved, tested, asserted or unverified, and only fresh end-to-end evidence clears the gate.

What do I need to install?

Node.js 22+ is required. You add kibi-core, kibi-cli and kibi-mcp as dev dependencies, including the optional bundled SWI-Prolog runtime, then run kibi init and kibi doctor if problems are reported.

How does it connect to my coding agent?

You register the project-local kibi-mcp server with your agent host, or use Kibi's CLI JSON routes until the kb_* tools are visible.

Does Kibi run in the cloud?

No. It is open source and runs in your repository; requirements live in .kb/ beside the code rather than in an external service.

How much does Kibi cost?

The sources describe Kibi as open source and show no paid plans or prices.

Categories

Use cases

Alternatives to Kibi

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z