A CLI tool that runs Cursor's AI agent automatically from a planning doc

A developer built a command-line tool that drives Cursor's AI coding agent through full development cycles without manual hand-holding. You give it a PRD — a document describing what to build — and it loops through coding, reviewing, and fixing on its own. It's a practical automation example for solo developers.

Cursor is a code editor where an AI writes code for you, but normally you have to supervise it step by step — reading results and telling it what to do next. This CLI orchestrator removes that friction by automating the loop. You write a PRD (product requirements document) that spells out what you want built, hand it to the tool, and it repeatedly kicks off Cursor's agent until the work is done.

This means you can walk away while the AI grinds through a task instead of babysitting it. For solo makers or indie developers trying to ship faster with AI tools, this kind of end-to-end automation shows what's becoming possible — and the shared code gives you something concrete to try or adapt.

Key points

  • Feed it a PRD file and Cursor's AI agent runs development cycles automatically
  • No need to click 'next step' manually — the loop continues on its own
  • It runs from the terminal as a CLI tool
  • Good reference for solo developers who want to automate repetitive AI-assisted coding
  • Shared openly so you can try it or borrow the structure

Quick term guide

command-line tool
A program you interact with by typing text commands rather than clicking buttons.
command-line
A way to control a computer by typing commands instead of clicking buttons.
AI coding agent
An AI tool that can write, edit, and run code from your instructions.
coding agent
An AI tool that writes or edits code from a person’s instructions.
automation
A way to make repeated work happen without doing every step by hand.
developers
Developers are people who build software, apps, or websites.
code editor
A special program used for writing and editing software instructions.
Orchestrator
A lead AI that organizes and assigns specific tasks to other AI models.
Read original