mokata
The memory and seatbelt for your AI coding agent.
Spec-driven TDD for AI coding agents. No code is written until the spec passes a completeness gate and every acceptance criterion maps to a failing test. Every durable write to code, memory or config is proposed by the model and approved by a person, out of band, and recorded on a hash-chained audit ledger.
Works with Claude Code, Cursor, Copilot, Codex, Windsurf, Gemini and Aider. Local-first, no telemetry, Apache-2.0.
Try the seatbelt
You are the agent. Story: checkout rejects an empty cart. Take the proper step, or try a shortcut and watch the gate stop it.
- Brainstormapproach-approval
- Speccompleteness
- Testred-before-green
- Developspec-scope
- Reviewspec-then-quality
- Shiphuman-landed
Next step
Brainstorm is open. The agent cannot write implementation until a person approves exactly one approach.
Run-state gates on the agent’s own file writes
- approach-approvalblocking
- spec-persistedblocking
- no-code-without-failing-testblocking
- spec-scopewaits for spec
The spec-persisted, failing-test and memory-write messages are mokata’s published output. The other lines are paraphrased from its docs.
- MCP tools
- 62
- Agent skills
- 26
- Enforced gates
- 9
pip install mokata && mokata setup claude