How to Build an Automated AI Development Team in Cursor
April 14, 2026 ยท View on GitHub
๐ This methodology is now a real product! ย CodeFlow Product Page ยท GitHub ยท Try PWA
๐ ่ฟๅฅๆนๆณ่ฎบๅทฒ็ปๅๆไบไบงๅ๏ผ ย ็ ๆตไบงๅไธป้กต ยท GitHub ยท ๆๆบ็ซฏ PWA
How to Build an Automated AI Development Team in Cursor
ๅฆไฝๅจ Cursor ไธญๆญๅปบ AI ่ชๅจๅๅผๅๅข้
Just tell the PM what you need, go grab a coffee, and come back to review the results.
ไฝ ๅช้่ฆ่ท PM ่ฏดๆธ ๆฅ่ฆๅไปไน๏ผ็ถๅๅปๅๆฏๅๅก๏ผๅๆฅ้ชๆถๆๆใ
Build a 4-role AI team (PM + DEV + OPS + QA) in Cursor IDE. The AIs collaborate autonomously โ developing, deploying, and testing on their own. You only talk to the PM.
ๅจ Cursor IDE ไธญๆญๅปบ PM + DEV + OPS + QA ๅ่ง่ฒ AI ๅข้๏ผAI ไน้ด่ชไธปๅๅโโ่ชๅจๅผๅใ่ชๅจ้จ็ฝฒใ่ชๅจๆต่ฏ๏ผไบบ็ฑปๅช้ๅ PM ๆฒ้ไปปๅกใ
Battle-tested: 87 person-days of work in 17 days, 91 production deployments, zero incidents.
ๅฎๆ้ช่ฏ๏ผ17 ๅคฉๅฎๆ 87 ไบบๅคฉๅทฅไฝ้๏ผ็บฟไธๅ็ 91 ๆฌก๏ผ้ถไบๆ ใ
What's Inside
| Content | |
|---|---|
| Ch.1 | Why split into roles โ limits of single-agent AI |
| Ch.2 | Step-by-step setup: directory structure โ role definitions โ patrol rules โ 4 chat tabs |
| Ch.3 | Core innovation: Filename as Protocol โ zero databases, zero message queues, 7 fields in one filename |
| Ch.4 | Task flow: 7-step closed loop from assignment โ dev โ deploy โ test โ archive |
| Ch.5 | Work standards: each role's "rules of engagement" + mandatory documentation |
| Ch.6 | Auto patrol bot: screen image recognition + event-driven, with full Python source (280 lines) |
| Ch.7 | Real-world results: production data + 9 running screenshots |
Core Innovation: Filename as Protocol
No database, no message queue, no API โ one filename carries all routing information:
TASK-20260329-006-PM01-to-DEV01.md
โ โ โ โ โ โ โ
โ โ โ โ โ โ โโโ Format: Markdown
โ โ โ โ โ โโโโโโโ Recipient: DEV-01
โ โ โ โ โโโโโโโโโโโ Direction: PM โ DEV
โ โ โ โโโโโโโโโโโโโโโโโ Sender: PM-01
โ โ โโโโโโโโโโโโโโโโโโโโโ Sequence: 6th task of the day
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Date: 2026-03-29
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Type: Task ticket
7 fields, 0 database tables, 0 lines of config code.
How It Works
You: "Do a round of security hardening."
PM-01: "Got it. Breaking it down now."
โ Go do something else โ
PM-01 breaks down tasks โ writes tickets to tasks/
DEV-01 auto picks up โ codes, self-tests, submits report
PM-01 auto reviews โ creates deploy task
OPS-01 auto deploys โ health check, writes report
PM-01 auto assigns โ creates test task
QA-01 auto tests โ security + stress tests, writes report
PM-01 auto archives โ all done
You come back: "Done?"
PM-01: "All complete. Here's the report."
Screenshots
PM-01 reviewing code changes item by item

DEV-01 auto-creates Todo list and codes

Patrol bot auto-monitoring + event-driven notifications

tasks/ directory โ filenames in action

Repository Structure
โโโ cursorAI-automated-team-EN.md # Full tutorial โ English (960+ lines)
โโโ cursorAI-automated-team-CN.md # Full tutorial โ Chinese (1000+ lines)
โโโ auto_patrol.py # Patrol bot source code (280 lines)
โโโ README.md # This file
โโโ roles/ # ๐ Role definition files (ready to use)
โ โโโ PM-01.md # PM ้กน็ฎ็ป็ + ๆถๆๅธ๏ผไธญๆ๏ผ
โ โโโ PM-01-EN.md # PM: Project Manager + Architect (English)
โ โโโ PM-01-Work-Standards-CN.md # PM ๅทฅไฝ่ง่๏ผไธญๆ๏ผ
โ โโโ PM-01-Work-Standards.md # PM Work Standards (English)
โ โโโ DEV-01.md # DEV ๅ
จๆ ๅผๅๅทฅ็จๅธ๏ผไธญๆ๏ผ
โ โโโ DEV-01-EN.md # DEV: Full-stack Developer (English)
โ โโโ OPS-01.md # OPS ่ฟ็ปด้จ็ฝฒๅทฅ็จๅธ๏ผไธญๆ๏ผ
โ โโโ OPS-01-EN.md # OPS: Operations Engineer (English)
โ โโโ QA-01.md # QA ่ดจ้ๆต่ฏๅทฅ็จๅธ๏ผไธญๆ๏ผ
โ โโโ QA-01-EN.md # QA: Quality Assurance Engineer (English)
โโโ images/ # Screenshots
Use Cases
- Using Cursor for development and want more AI automation
- Managing multiple AI Agents that need to collaborate autonomously
- Need complete task tracking and audit trails
- Solo developers / small teams using AI to replace repetitive work
Tech Stack
- IDE: Cursor (Agent mode)
- Patrol bot: Python 3.10 + pyautogui + pyperclip
- Communication: File system + Markdown (zero external dependencies)
- AI models: Claude / GPT (choose per role)
Patrol Bot Source Code
Full UI automation patrol bot included: auto_patrol.py โ 280 lines, ready to run.
Copyright & License
ยฉ 2026 joinwell52-AI. All rights reserved.
Terms of Use
- Non-commercial use: You may copy, distribute, and modify this content for non-commercial purposes (personal learning, teaching, public sharing), provided that:
- Original author attribution and source links are retained;
- Content is not distorted, tampered with, or used for illegal purposes.
- Commercial use: Strictly prohibited, including but not limited to:
- Using content in paid courses, paid documents, commercial websites/accounts;
- Integrating content into commercial products, services, or marketing materials;
- Directly or indirectly obtaining commercial benefit from this content.
- Violation of these terms without written authorization from the author may result in legal action.
Author: joinwell52-AI
From real production project experience. 2026-03-29