Rebuilding Developer Work for the AI Era: Prototype-Driven Development and Multi-Agent Collaboration
This article summarizes an interview with an R&D lead whose team built an AI coding assistant. It covers how the team replaced long requirement documents with prototypes, how engineers' roles shifted toward orchestration and judgment, and practical steps for scheduling parallel AI agents, reviewing AI-generated pull requests, and extracting context from large codebases.
Large language models are advancing quickly, and AI coding tools are changing how software engineering gets done. In a recent public interview, an R&D lead described how their team adjusted its culture and workflows while building an AI coding assistant, and how they redefined the engineer’s role. This article draws on that interview and adds practical steps that R&D teams can apply directly.
How Does the Team Use Prototypes Instead of Long Documents?
Traditional projects rely on detailed PRDs and a clear job-level hierarchy. This team does the opposite. Everyone holds the same job title, “Technical Staff.” Fewer levels means fewer barriers to communication, and everyone needs some technical understanding so they can take part in solution discussions.
The capability limits of large models are hard to describe in writing. A requirement can look reasonable on paper, but once it becomes a prototype, the team may find the model cannot complete it reliably. So the team builds a demonstrable prototype first, evaluates it through real interaction, and then decides whether to invest in formal development.
To put prototype-driven development into practice, follow these steps:
- State the target users and the problem to solve in one sentence.
- List three to five assumptions that must be verified, such as “Can the model fill in missing parameters within two rounds of conversation?”
- Test each assumption with a minimum viable prototype, and record the passing and failing examples.
- Write the findings on a single page covering the assumptions, the results, and the next steps. This one-page summary can replace a lengthy requirement document.
What Value Do Engineers Still Provide?
Coding has become easier, but that does not mean engineers have lost their value. When the printing press spread, scribes’ work disappeared, yet the book and publishing industries grew. Lowering the barrier to writing code lets more people take part in development, and it makes system design, requirement judgment, and quality control more important.
Engineers on the team have started to act as system orchestrators. They no longer spend days deep inside a single module. Instead, they manage several parallel AI tasks at once, catch deviations early, and correct the direction. The ability to switch context quickly is becoming a new core skill.
How Should Multi-Agent Workflows Be Scheduled?
Parallel agents can shorten development cycles, but parallel work without management only creates chaos. A practical workflow usually includes the following stages:
- Task decomposition: Split the requirement into subtasks that are independent and can be accepted separately. Make sure two agents never modify the same file.
- Agent roles: Assign separate permissions to roles such as code generation, test writing, and documentation updates. Grant read and write access only to the directories each role needs.
- Context and prompt templates: Each agent uses a fixed template that states the goal, constraints, input files, and output format.
- Acceptance criteria: Every subtask needs checks that can run automatically, such as passing tests or a clean type check.
- Rollback and human takeover: Stop an agent automatically if it fails repeatedly or exceeds its permissions, and have an engineer take over.
Parallelism involves trade-offs. The more agents you run, the higher the coordination cost, token consumption for model calls, and the number of merge conflicts. For most teams, starting with two or three parallel tasks is the safer choice.
Minimal example: The requirement is “add pagination to the order API.” Task 1, handled by a code agent, modifies the interface and query logic. Task 2, handled by a test agent, adds boundary test cases. Task 3, handled by a documentation agent, updates the interface description. Each task is completed on its own branch. After all tests pass, an engineer reviews the changes and merges them.
How Should AI-Generated PRs Be Reviewed?
When AI is involved, the model may generate most of the code in a pull request. The author needs to write a clear statement of intent and a list of key changes. The review focus also shifts. Reviewers spend less time checking syntax line by line and more time judging whether the business logic is sound and whether the generated code is safe.
| Aspect | Traditional PR | AI-Assisted PR |
|---|---|---|
| Deliverables | Code and a short description | Code, intent statement, key change points, generation process record |
| Review focus | Syntax style, logic details | Business logic, edge cases, security and dependencies |
| Risk control | Manual testing | Automated testing, security scanning, manual approval |
During review, confirm each of the following:
- The source and license of the code are clear, and no unknown dependencies have been introduced.
- No keys, tokens, or user private data are included, and the code has passed secret scanning.
- Tests cover edge cases and failure paths, not only the normal flow.
- Security scanning has passed, and input validation and permission checks are in place.
- High-risk modules, such as those involving payments, permissions, or data deletion, have been approved by a responsible owner.
AI-generated code should not be merged automatically. A model can produce code that looks correct but hides risks, so human approval must stay in the process.
How Do You Extract Context from Large Codebases?
A repository with millions of lines of code cannot fit entirely into a model’s context window. The team typically uses vector search to find semantically related files, then uses symbol parsing to locate functions, classes, and call relationships. Combining the two, it passes only the relevant fragments to the model.
Before adopting this approach, confirm three things: whether the indexing service has read access to the repository, how often the index is updated, and whether search results stay accurate after code changes. Also confirm that sensitive directories are excluded from the index.
Evaluate the approach with four metrics: recall (whether the relevant fragments are found), false recall rate (the proportion of irrelevant fragments returned), response latency, and the model call cost for each task.
A minimal rollout works like this. Start by indexing one module, and prepare about twenty real tasks with reference answers. Compare the model’s accuracy with and without retrieval. Expand the scope only after the gains are confirmed. Vector search and symbol parsing are not complete solutions. Both methods can miss reflection calls in dynamic languages and implicit dependencies across services.
How Does Hypothesis-Driven Development Work?
Engineers need to keep a beginner’s mindset. An idea set aside yesterday because the model lacked the capability may be feasible today. When you run into a problem, record it with this template:
- Hypothesis: I believe Option A can cut the API response time in half.
- Metrics: P95 response time and error rate.
- Experiment steps: Run two comparison groups in the staging environment, each executing 100 typical requests.
- Write back the conclusion: Record the results and the decision in the team knowledge base, whether the experiment succeeds or fails.
Which Fundamental Skills Are Still Needed?
Letting go of attachment to specific languages and frameworks does not mean abandoning core skills. Debugging, performance analysis, security awareness, and architectural trade-offs remain the basis for judging whether AI output is reliable. Without these skills, engineers cannot review model-generated code.
Conclusion
This team’s experience suggests that R&D organizations in the AI era can become flatter, prototype validation can replace some long documents, and engineers can shift their focus toward orchestration and judgment. Whether to adopt these practices depends on team size, business risk, and compliance requirements. For teams willing to experiment, this is a path worth considering.
