Spec-Driven Development
Your agents are only as good as your spec.
Stop guessing what your agents will do. Write a spec.
What would you like to build?
THE PROBLEM
You typed a prompt. Your agent got creative.
Without structure, agents fill gaps with guesses. Here's what “Add authentication to my desktop app” actually produces:
5 issues. 0 were in your prompt. All were in the gaps.
Stop hoping your agent gets it right.
THE FIX
Same prompt. Now with a spec.
A spec turns your one-liner into structured intent.
A spec is a contract. Start with one sentence that defines the end state.
Goal
Add Clerk-based user authentication to the desktop app. Authenticated users get access to DotAgents-hosted model providers (no personal API keys needed). This requires both client-side Clerk integration and a backend LLM proxy service.
Success metric: a new user can sign up, authenticate, and make their first LLM call within 60 seconds of launching the app — without entering any API keys.
Agents are eager. Without non-goals, they expand into features you never asked for.
Non-goals
Every spec has assumptions. The dangerous ones are the ones you don't notice.
Assumptions
Agents don't do hallway conversations. If it's not explicit, they'll re-litigate it.
Decisions
The biggest AI failure mode is asking for too much in one shot. Break it down.
Tasks
If you can't test it, you can't spec it. No ambiguity, no 'it should feel right.'
Acceptance Criteria
THE FIX
Same prompt. Now with a spec.
A spec turns your one-liner into structured intent. Scroll to see it build, section by section.
Add authentication to my desktop app
1h ago
Goal
Add Clerk-based user authentication to the desktop app. Authenticated users get access to DotAgents-hosted model providers (no personal API keys needed). This requires both client-side Clerk integration and a backend LLM proxy service.
Success metric: a new user can sign up, authenticate, and make their first LLM call within 60 seconds of launching the app — without entering any API keys.
Type a message...
THE RESULT
Now watch it actually run.
The spec becomes the system's source of truth. A coordinator delegates tasks, agents execute in parallel, and everything stays in sync. You review the plan, not the diff.
Get Started
Build with Intent
Orchestrate your agents like a system, not a swarm. Define what gets built, delegate to agents that stay aligned, and maintain full visibility from first commit to merge.