If the Coding Agent is “pre.dev builds your app,” the Architect Agent is “your coding agent plans like pre.dev.”
Lifecycle
1. Describe
Send one natural-language prompt describing what you want built. Optionally attach context IDs from previous specs, docs URLs, or uploaded files.
2. Plan
The Architect returns a structured spec: tech stack, system design, milestones, user stories, acceptance criteria, and (with Deep Spec) granular subtasks.
3. Hand off
Feed the spec to your coding agent. It now has the architectural context to build multi-file systems correctly on the first try.
Call your first spec in 5 minutes
One
curl, one API key — or install the MCP server into your editor.Two ways to call it
REST API
POST https://api.pre.dev/fast-spec or /deep-spec with a Bearer token. Sync or async. Perfect for CI/CD, custom tooling, or SDK-based workflows.MCP Server
https://api.pre.dev/mcp — one-click install into Cursor, Claude Code, VS Code, or Windsurf. Your agent calls fast_spec / deep_spec as tools.When to use which
| Use Case | Recommended |
|---|---|
| Generate specs inside Cursor / Claude Code / Windsurf | MCP Server |
| One-off spec for a feature you’ll build manually | MCP Server |
| Integrate spec generation into CI/CD | REST API |
| Build custom tooling on top of pre.dev | REST API + SDKs |
| Already using pre.dev’s web app to build full projects | Coding Agent instead |
Endpoints at a glance
POST /fast-spec— High-level plan in ~30–60s (~5–10 credits)POST /deep-spec— Granular subtasks in ~2–5min (~10–50 credits)GET /spec-status/:id— Poll async generation progressGET /list-specs— List your generated specsGET /find-specs— Search specs by contentGET /credits-balance— Check remaining credits
Quick example
Explore
| Quickstart | Your first spec in under 5 minutes |
| MCP Setup | Install into Cursor / Claude Code / VS Code |
| Understanding Specs | What’s inside a pre.dev spec |
| Fast vs Deep Spec | Which endpoint to pick |
| API Reference | Full endpoint docs |
| SDKs | TypeScript and Python |
Why your coding agent needs it
AI coding agents are powerful, but they struggle with complex, multi-file projects without proper architecture. Standard planning modes (like Cursor Plan) give basic task decomposition but lack deep architectural context, miss implementation details, and don’t reason about schemas, API contracts, or system boundaries. The Architect Agent equips your agent with:- ✅ Enterprise-grade architecture — complete system designs with schemas, contracts, and component hierarchies
- ✅ Implementation roadmaps — sequenced build plans that guide your agent through complex projects
- ✅ Technology decisions — pre-made architectural choices for auth, state, APIs, and more
- ✅ Full context — your agent knows exactly what to build, how, and why

