What is this?
A complete, open-source system for building a 4-role autonomous AI development team (PM + DEV + OPS + QA) inside Cursor IDE. The AIs collaborate autonomously — developing, deploying, and testing on their own. You only talk to the PM and review the deliverables.
How it works
- You give a task to PM-01
- PM-01 breaks it down → writes task tickets to
tasks/ - DEV-01 picks up work → writes code, self-tests, submits report
- OPS-01 auto-deploys → health check, writes deployment report
- QA-01 auto-tests → security tests, stress tests, writes report
- PM-01 auto-archives → all done, waiting for your review
Core Architecture: “Filename as Protocol”
Zero databases. Zero message queues. Zero configuration code.
All task routing, role dispatch, and status tracking rely entirely on:
- A file naming convention:
TASK-{date}-{id}-{sender}-to-{receiver}.md - 4
.mdcrule files (one per role) - A patrol bot that monitors all agent windows
What’s included in the repo
| Component | Description |
|---|---|
4 .mdc rule files |
Drop into .cursor/rules/ — each agent window auto-loads its patrol behavior |
| 4 role definitions | PM, DEV, OPS, QA templates (English + Chinese) |
| Auto patrol bot | Python + pyautogui, monitors all Cursor windows, detects new tasks |
| Full tutorial | 1000+ line guide in both English and Chinese |
Battle-tested results
- 17 days of production use
- 87 person-days of AI work output
- 91 production deployments, zero incidents
- Human involvement: ~30 min/day (talk to PM, review results)
How to use
- Copy
rules/*.mdcto your project’s.cursor/rules/ - Open 4 Cursor windows (one per role)
- Say “start working” to each agent
- Give your task to PM-01
- Go do something else
The .mdc rules auto-inject patrol behavior — each agent checks docs/agents/tasks/ every 30 seconds for new assignments.
Full English tutorial available at: How to Build an Automated AI Development Team in Cursor | Cursor AI Automated Team (GitHub Pages)
Chinese version also available in the repo.
Would love to hear feedback from the community!