Short answer: Give the agents a short brief (goal, users, limits), let a research step map the domain, and ask for a plan in epics before any code. A person reviews and approves that plan. Then split it into tickets with owners, check what each change touches in existing code, define tests per epic, and track progress and cost per task.

Your agent wrote a full plan almost at once. It looked complete. Then the build showed what was missing: the landlord role, the emergency rule, the photo upload.
A plan from an agent is a draft. The work is in feeding it the right brief and checking it before code exists.
In this guide, you'll learn:
- What changes when agents plan
- Eight planning steps, in order
- Where AI-written plans go wrong
- A checklist before you approve
The example is a tenant maintenance portal for a property manager.
What changes when agents plan
A human project plan grows slowly. Someone asks questions, writes a scope and argues about priorities. An agent skips the slow part. That is useful and risky at once.
Coding tools have added planning modes to slow it down on purpose. Cline has a Plan mode that reads and discusses without editing, and an Act mode that carries out the plan (Cline docs). Kiro turns a prompt into requirements, a design and a task list, finishing each phase before the next (Kiro docs). GitHub's Spec Kit runs specify, plan, tasks and implement as separate commands (Spec Kit).
Those tools plan a feature inside a developer's session. A software factory plans the project: research, approval, tickets, owners, tests and deploy. Devfab works that way, with a person approving the plan before any ticket exists.
Step by step
Step 1: Write the goal, users and limits
Keep the brief short. Three parts are enough to start:
- Goal: what changes for whom when this ships.
- Users: each role and what it may do.
- Limits: budget approach, hosting, must-use systems, what is out of scope.
Tenant portal example: "Tenants report repairs with photos and see status. The property manager assigns vendors. Vendors update the job. Emergencies (no heat, water leak) alert the on-call manager. Hosted on the client's own server."
In Devfab this goes in the "What should we build?" box. You can attach a spec, doc or screenshots, and pick Human in the loop (the default) or Auto.
Step 2: Let research run before the plan
A plan written without domain knowledge reads well and misses the field's habits. Research fixes that before planning starts.
Devfab's Researcher runs before the Planner. It maps key terms, best practices for that kind of app and competitors, then suggests a prototype.
Tenant portal example: research surfaces terms like "work order," "permission to enter" and "emergency repair." "Permission to enter" was not in the brief. It becomes a field and a rule.
Step 3: Ask for a plan in epics, not code
Ask for a plan, and say no code yet. A useful plan groups work into epics that match real flows, not technical layers.
Good epics for the portal: "Tenant reports a repair," "Manager triages and assigns," "Vendor completes the job," "Emergency alerts." Weak epics: "Database," "API," "Frontend." Those say how, not what.
Step 4: Review the plan and approve it
This is the most important step. Read the plan against your brief:
- Does every role appear, with the right rights?
- Does every flow from the brief have an epic?
- Is every rule there (for example, emergencies alert even at night)?
- Did the agent add anything you didn't ask for?
In Devfab the Planner publishes the plan and a banner says "Your turn." A person approves it, and only then does the Coordinator create tickets. For a deeper review method, see How to review a plan written by an AI agent.
Step 5: Split the plan into tickets with owners
An approved plan still needs to become work units. Each ticket should name one outcome, an owner and its dependency.
In Devfab the Coordinator splits the approved plan into tickets and assigns developer agents. Workers are added when the plan is approved. Keep tickets small enough that a reviewer can read the change in one sitting.
Step 6: Check what the change touches in existing code
New projects start clean. Most real work doesn't. If the portal adds to an existing tenant app, you need to know what a change touches before you plan it.
ChainFlow, Devfab's code-intelligence layer, maps which functions and APIs call each other and what is deployed. Changing how a repair is closed could affect vendor invoices, tenant notifications and the monthly report. With that map, the plan can include those effects instead of finding them in production.
For existing repos, leave the change box empty and Devfab maps the code first, then suggests three small first tickets.
Step 7: Decide how each epic will be tested
Write the tests into the plan, not after the build. For each epic, name one or more checks:
- UI: the repair form won't submit without a unit number.
- Flow: a tenant reports a leak, the manager assigns a vendor, the vendor closes it, the tenant is told.
- Logic: an emergency report alerts the on-call manager even outside office time.
Devfab's QA agent runs UI and flow tests (screens, buttons and user journeys clicked end to end) plus logic tests.
Step 8: Track progress and cost as the plan runs
A plan is a promise you check against. Devfab's progress view shows Summary, Kanban and Gantt, with priority, owner, status, progress and due date for each ticket. Cost is logged after a run, per task and per project, which keeps cost predictable and visible to the client.
Common mistakes
- Planning from one sentence. The agent fills the rest with guesses. Give goal, users and limits.
- Layers instead of flows. "Backend" is not an epic. "Vendor completes the job" is.
- Approving without reading. The plan is the cheapest place to catch a missing role or rule.
- No impact check. On existing code, a small change can break a feature nobody listed.
- Tests after the build. Then "it runs" becomes the bar.
- Agent dates as promises. Use order and dependencies; set dates yourself.
Checklist
- [ ] Brief has goal, users with rights, and limits
- [ ] Research ran before the plan
- [ ] Epics map to flows, not layers
- [ ] Every role, flow and rule from the brief is in the plan
- [ ] A person approved the plan
- [ ] Tickets have one outcome, an owner and a dependency
- [ ] Impact on existing code is mapped
- [ ] Each epic has UI, flow or logic checks
To see a full plan for a similar app, read Build: field service work order app.
FAQ
Can an AI agent plan a software project on its own?
It can draft one. It should not be the last word. Agents fill gaps with guesses, so a person should review the plan against the goal, users and rules before tickets are created. In Devfab, a person approves the plan before the Coordinator creates tickets.
What should an AI-written project plan include?
The goal, the users and roles, epics that map to real flows, the data, the rules, what is out of scope, open questions and how each epic will be tested. If a flow or rule from your brief is missing, send the plan back.
How is planning different on an existing codebase?
You need to know what a change touches before you plan it. Devfab's ChainFlow maps which functions and APIs call each other and what is deployed. Leave the change box empty and Devfab maps the code first and suggests three small first tickets.
Should the plan include dates?
Use order and dependencies rather than promised dates from the agent. The progress view can show due dates you set, but an agent's guess about how long work takes is not a commitment to give a client.
Read next
- What is an AI software factory?
- How to write a software spec that AI agents can build from
- Agentic SDLC: how planner, coordinator, dev and QA agents work together
Have a brief for your next project? See the research and the plan Devfab writes from it, and approve the plan before any code. Try the Devfab Beta
Sources (checked November 2026): Cline docs: Plan and Act; Kiro docs: Spec concepts; GitHub Spec Kit.
Frequently asked questions
Can an AI agent plan a software project on its own?
It can draft one. It should not be the last word. Agents fill gaps with guesses, so a person should review the plan against the goal, users and rules before tickets are created. In Devfab, a person approves the plan before the Coordinator creates tickets.
What should an AI-written project plan include?
The goal, the users and roles, epics that map to real flows, the data, the rules, what is out of scope, open questions and how each epic will be tested. If a flow or rule from your brief is missing, send the plan back.
How is planning different on an existing codebase?
You need to know what a change touches before you plan it. Devfab's ChainFlow maps which functions and APIs call each other and what is deployed. Leave the change box empty and Devfab maps the code first and suggests three small first tickets.
Should the plan include dates?
Use order and dependencies rather than promised dates from the agent. The progress view can show due dates you set, but an agent's guess about how long work takes is not a commitment to give a client.



