Spec4 AI is a project planning tool for developers who are already using — or planning to use — agentic coding tools for spec-driven development. It's a free, open-source app that runs locally on your machine: you bring your own AI provider and keys, and your code never leaves your computer.
It's built on a simple observation: the quality of what an agentic coding tool produces is almost entirely determined by the quality of the spec it's given. Vague specs produce vague code. Incomplete specs produce incomplete code. Specs that grow organically as the conversation progresses lead to drift, contradiction, and rework. And as apps increasingly have AI inside them, the spec has to cover that too — which features use AI, how ambitious each one should be, and what it takes to run them in production.
Spec4 makes the spec the first-class artifact. Seven specialized agents — each with a distinct role and a clear handoff — work together to build a spec that includes the AI inside your app, a UI mock, and a deployment plan: precise, complete, and structured exactly the way a coding agent needs them.
| Agent | Role | Output |
|---|---|---|
| CodeScanner (optional) | Reads an existing codebase and confirms the current state | code_review.json |
| Brainstormer | Collaborates on the project vision through structured dialogue, with a behavioral spec per feature | vision.json + feature_specs.json |
| Agentifier | Identifies AI opportunities, assigns complexity tiers, and drafts per-feature AI implementation specs | ai_features.json |
| Designer (optional) | Generates a self-contained HTML mock of the application UI from a structured design manifest | design/mock.html + design/manifest.json |
| StackAdvisor | Guides technology stack selection with trade-off analysis | stack.json |
| Phaser | Breaks the build into phase-by-phase implementation prompts | phases/phase<N>.md (phases.zip) |
| Deployer | Plans the deployment strategy and coding agent workflow | deployment-plan.md |
Spec4 is for developers who are already using — or planning to use — agentic coding tools, and who want to get more reliable, consistent results from them. It's particularly useful when:
Spec4 is free to use, open source under the Apache 2.0 license. Source code, contribution guidelines, and the roadmap are available on GitHub — the Agentifier pattern library is a particularly good place to contribute.
Want proof it works? Built with Spec4 (BWS4) is a live showcase of common AI application patterns — planned and specced with Spec4 itself, with the full planning round in its repo.
Spec4 is free and open source. Bring your own AI provider and model.