Practical Methods for Multi-Agent Collaborative Development: Lessons from an Independent Developer
This article examines how an independent developer used a team of relatively autonomous AI agents to build software, and which of the reported figures call for caution. It then covers reusable working methods: splitting requirements into task cards, dividing the work into planning, coding, and testing roles, and using lint, coverage, and sandbox checks as quality gates. It discusses only publicly verifiable practices and makes no promise of productivity gains.
Over the past two years, more developers have tried to have multiple AI agents divide up work and collaborate. One independent developer publicly described his approach: using AI-assisted programming tools and a set of relatively autonomous agents, he delivered a large amount of code in a short period. The cost and efficiency figures he published spread widely, but the way they are cited varies from place to place. This article therefore first explains which numbers should be treated with caution, then focuses on working methods that can be reused. It discusses only public and verifiable practices and does not promise any efficiency gains.
1. Start with the Numbers: What to Trust and What to Question
The figures in the original report need to be read separately. The table below lists the original context for each figure and how this article handles it.
| Figure | Original Context | Verification Status | How This Article Treats It |
|---|---|---|---|
| Operating cost of about US$200 | Mainly token consumption | The statistical period is not stated, and it is unclear whether servers, test environments, and labor are included | Reflects only the order of magnitude of model call fees. It cannot represent the full project cost. |
| US$4 million | An estimate for a traditional team | The actual project spending has not been disclosed | Used only as a reference value. It cannot be used to infer any cost reduction. |
| Output about 400 times that of 2013 | No measurement basis given | The multiple differs depending on whether it is based on lines of code, function points, or time window | Not used as an efficiency benchmark |
| Millions or hundreds of thousands of lines of code | The headline says millions, while the body says hundreds of thousands | The two statements are inconsistent | The body’s wording is adopted, but it also cannot be verified |
Readers who want to cite these figures should check the original author’s public records for his explanation of the measurement scope. Until that information is available, treat the figures as background only.
2. Break Requirements into Task Cards Agents Can Execute
The first step in multi-agent collaboration is rewriting product requirements as task cards that an agent can execute independently. A qualified task card contains at least the following fields:
| Field | Description | Example |
|---|---|---|
| Goal | The result this task must deliver | Implement payment callback signature verification |
| Input | Files, interfaces, and documents the agent needs to read | Payment API documentation, existing order module |
| Output | Deliverables and their format | Signature verification function and corresponding unit tests |
| Dependencies | Task IDs that must be completed first | Can start only after T1 is complete |
| Boundaries | What the task explicitly does not do | Do not modify the order state machine or change the database table structure |
| Acceptance criteria | Pass conditions that can be judged automatically | All tests pass, with coverage reaching the threshold in Section 4 |
| Priority | Order of execution | P1 |
| Rollback plan | How to restore the state if the task fails | Revert the task’s commits and restore the version from before work started |
Tasks that are too large make agents drift from the goal and may even invent interfaces that do not exist. Tasks that are too small increase the number of handoffs, and errors are more likely to get lost during them. In practice, one simple test works: the output of a task should be completable in one session and directly verifiable by tests.
Take “develop a payment module” as an example. This requirement should not be handed to an agent as is. A better breakdown has three steps:
- T1: Design the database table structure. Output a migration script and a table structure description. Boundary: do not change the fields of the existing order table.
- T2: Implement callback signature verification. Depends on T1, because the verification result must be written to the callback record table. Output: a verification function. Boundary: do not modify the order state machine.
- T3: Write unit tests. Depends on T2. Cover three cases: correct signature, incorrect signature, and expired timestamp.
Each task is completed on its own branch. If a task fails, revert the commits on that branch. The main branch is unaffected. T1 involves a migration script, so back up the database before running it.
3. Divide Roles for Planning, Coding, and Testing
The original report’s headline mentions fifteen agents, but the body does not explain how they were grouped, so this article does not repeat that number. It discusses only the method of dividing roles. A small team needs at least three types of roles. Each role needs clear inputs, handoff outputs, and rules for what happens when a step fails.
| Role | Input | Handoff Output | Fallback on Failure | Human Intervention Point |
|---|---|---|---|---|
| Planning | Product requirements, existing code structure | Task card list with dependencies and priorities | Return the card for rewriting when it lacks acceptance criteria | Before the task breakdown is confirmed |
| Coding | A single task card, related source files | Code changes and corresponding tests | If a quality gate fails, retry up to twice, then hand over to a human | When files outside the boundary need to be modified |
| Testing | Coding output, acceptance criteria | Test report, coverage data | When defects are found, send the work back to the coding role with reproduction steps | When the test conclusion is doubtful |
The planning role writes no code. It only breaks requirements into task cards. The coding role handles one task card at a time and does not modify other modules on its own. The testing role is independent of the coding role. It draws conclusions only from acceptance criteria and code behavior, not from the coding role’s reasoning. This prevents one agent from both writing code and grading its own work.
Every role must leave a written record of its output rather than relying on context memory. The next role can only get information through task cards and handoff files. Keep handoff files in the code repository so they can be reviewed and audited.
4. Set Up Quality Gates with Lint, Coverage, and Sandbox
Quality gates are automated checks that agent output must pass before it enters the main branch. Three gates run in sequence. Failure at any one of them blocks the merge.
The first gate is linting, which checks code style and common errors. For a Python project, you can run the following command in CI:
ruff check .
The command passes when its exit code is 0 and it reports no error-level warnings.
The second gate is a coverage check. Using pytest as an example:
pytest --cov=src --cov-report=term-missing --cov-fail-under=80
80% is an example threshold. Core modules can be set higher. Exceptions below the threshold require manual approval, and the reason must be recorded in the task card. When coverage falls short, the command returns a non-zero exit code, and the pipeline fails automatically.
The third gate is the sandbox
