The Compliance & Traceability Layer for AI Agents.
SpecLoom is an MCP Server and CLI designed to enforce the V-Model in agile and iterative developemnt environments for AI-generated code. It acts as a Guardian that prevents hallucinations, ensures traceability, and mandates that every line of code serves a documented requirement.
Stop "Vibe Coding". Start Engineering.
- For AI Agents: Provides structured "Context Bundles" (Requirements + Design + Code) so you don't have to guess.
- For Humans: Enforces "Four-Eyes" review, prevents scope creep, and generates audit-ready documentation automatically.
- For Teams: Bridges the gap between "Fast Prototyping" and "Enterprise Compliance".
npm install -g specloomFollow the Quickstart Guide to set up your project in 5 minutes.
SpecLoom implements the Model Context Protocol (MCP), acting as the "Brain" for agents like Gemini CLI, Claude Desktop, Cursor, Windsurf, or Cline.
Add SpecLoom to your agent's settings:
{
"mcpServers": {
"specloom": {
"command": "npx",
"args": ["-y", "specloom", "serve"]
}
}
}loom_next: Asks "What should I work on?" (Project Manager)loom_context: Asks "Give me the specs and code for this task." (Librarian)loom_validate: Asks "Did I break anything?" (QA)loom_verify: Asks "Does the code meet the requirements?" (Tester)
- Strict V-Model Enforcement: No Code without Specs. No Specs without Context.
- Graph-Based Traceability: Every artifact (User Story, API, Code, Test) is a node in a queryable graph.
- The "Four-Eyes" Principle: Prevents self-approval of code (Identity separation).
- Git-Native: All artifacts are JSON files committed alongside your code.
- Manual (The Theory): Deep dive into the V-Model, HADD framework, and advanced workflows.
- Architecture: System design, diagrams, and core components.
- Methodology: The philosophy behind HADD and the V-Model.
- Contributing: How to build and extend SpecLoom.
MIT