50 AI Agents per Developer: Requirements Engineering Becomes the Core Skill
As developers move from directly producing every artifact to orchestrating many AI agents, requirements engineering becomes the control plane for reliability, cost, and safety. This article explains how to turn intent into executable specifications, organize agents like a small software team, combine shared foundation models with governed personalization, and reduce latency through risk-tiered execution. It also covers observability, permissions, budgets, audit trails, rollback, common anti-patterns, and a practical roadmap for scaling multi-agent systems without losing control.
Recent discussions of foundation models and agent systems contain a judgment that developers should take seriously: in the future, a developer may manage roughly 50 agents. The number “50” should not be read as a precise metric. It is better understood as a level of complexity: developers are no longer the direct executors of all output, but the people who define goals, write specifications, schedule resources, and accept results. Code remains an important artifact, but requirements, constraints, interfaces, acceptance criteria, permission boundaries, and exception handling will become a higher-level “source program.”
Why will writing requirements become a core skill? A single tool-oriented agent can complete a short task from a paragraph of instructions. When dozens of agents collaborate, however, system complexity quickly shifts from “generation quality” to “collaboration quality.” Without clear task boundaries, agents duplicate work. Without a shared data contract, agents pass incorrect context to one another. Without acceptance criteria, generated results cannot be judged as right or wrong. Without permissions and auditing, automation amplifies security risk. Therefore, “writing requirements” is not about writing a natural language description. It is about writing an engineering contract that is executable, reviewable, and replayable.
In the early stages of an agent platform or foundation model project, a common anti-pattern is fragmented resources: multiple teams independently build similar scheduling, evaluation, tool integration, and permission systems. This may look fast in terms of iteration, but it creates duplicate investment, fragmented user experience, and data risk. A more reasonable approach is to first consolidate common foundations—task orchestration, context management, tool registration, permissions, auditing, evaluation sets, and cost accounting—and then allow business teams to extend them with domain knowledge, specialized workflows, and evaluation metrics. The precondition for scaling agents is not to increase their number first, but to establish reusable collaboration infrastructure.
1. From Tool Calling to Organizational Design
A multi-agent system is not simply multiple model instances placed together. It is closer to a small software organization: some roles clarify goals, some decompose tasks, some execute, some review, and some record evidence. What developers need to design is not a set of prompts, but a mechanism for task flow.
A maintainable agent formation usually includes the following layers:
| Layer | Primary responsibility | Key artifacts |
|---|---|---|
| Ingress layer | Receives user intent, documents, code changes, or business requests | Original task description and context |
| Requirements compilation layer | Converts natural language intent into structured specifications | Goals, non-goals, acceptance items, constraints |
| Scheduling layer | Decomposes tasks, selects agents, and controls concurrency and budget | Execution plan and routing record |
| Execution layer | Uses specialized agents to analyze, generate, modify, test, and perform other tasks | Work artifacts and intermediate evidence |
| Acceptance layer | Runs tests, reviews security, and verifies acceptance items | Pass records, defect localization, and rollback recommendations |
| Memory and knowledge layer | Stores task context, team standards, and domain knowledge | Retrievable and expirable memory entries |
| Observability and governance layer | Records logs, traces links, and audits cost and permissions | Replayable evidence and governance reports |
A simplified pseudocode example can illustrate this organizational pattern:
function deliver(task):spec = compile_requirements(task)plan = planner.create(spec)completed = []for step in plan:agents = select_agents(step, spec.permissions)results = parallel_execute(agents,context = spec.scoped_context,budget = spec.cost_and_latency_budget)reviewed = verifier.review(results,acceptance = spec.acceptance,evidence_required = spec.evidence)if not reviewed.pass:plan = replanner.revise(step, reviewed.findings)continuecompleted.append(reviewed.artifact)return package(completed, audit_log = plan.trace)
The emphasis of this pseudocode is not a specific implementation, but three principles: compile the specification before execution, execution results must undergo independent acceptance, and the entire process must retain replayable evidence. Without an independent acceptance layer, multiple agents will only produce uncontrolled results faster. Without budget control, a task may consume too much time and compute through recursive calls.
2. Write Requirements as Executable Specifications
In the era of individual development, requirements may live in verbal communication, chat records, or personal experience. In a scenario involving dozens of agents, ambiguous requirements are amplified in parallel. Developers need to write requirements as specifications that are machine-executable and human-reviewable. A practical template should include the following elements:
- Goals and success conditions: What problem is being solved, and how success is determined after completion.
- Non-goals and boundaries: Clearly state what is not being done, so agents do not expand scope on their own.
- Input and output contracts: Data shapes, field meanings, error codes, and idempotency requirements.
- Tools and permissions: Which data can be accessed, which capabilities can be called, and which operations require human confirmation.
- Constraints: Latency targets, cost budgets, privacy levels, and compliance boundaries.
- Acceptance and testing: Every acceptance item should be executable and observable.
- Exceptions and rollback: Failure retries, timeout handling, partial success, and rollback mechanisms.
- Observability: Logs, traces, change records, and evidence retention.
- Versions and change records: Specification changes must be traceable.
An illustrative specification looks like this:
spec:objective:"Add batch task validation to the existing workflow and generate reproducible reports"non_goals:- "Do not modify the data structures of upstream systems"- "Do not automatically perform high-risk write operations"interfaces:input: "Batch description and dataset to be validated"output: "Validation report, failure localization, and evidence list"acceptance:- "Empty input returns an explicit status without side effects"- "Missing fields produce localized error messages"- "Failed tasks can be retried without duplicate writes"- "High-risk operations must enter a human confirmation queue"constraints:latency: "Interactive queries meet the team-defined P95 target"security: "Least privilege; sensitive fields are masked"cost_budget: "A single task must not exceed the preset budget"audit: "Record specification version, execution path, and acceptance evidence"evidence:- "Execution logs"- "Test samples"- "Change records"- "Acceptance results"
The requirements quality gate can be further abstracted into five checks: testable, every requirement has an acceptance method; decomposable, tasks can be assigned to different agents with clear boundaries; authorizable, permissions and data scope are minimized; rollback-capable, failures can be stopped and recovered; and evolvable, specifications have versions and old tasks can be replayed. The ability to write requirements is essentially the ability to translate business intent into engineering constraints.
3. Personalized Models: Shared Foundations and Composable Adaptation
Another important judgment in these discussions is that truly personalized models will be extremely important. Here, “personalization” does not mean training a completely independent model for every user. It is more likely to appear as a layered system of “shared foundation capabilities + composable adaptation + governed memory + explicit policies.”
Why is personalization important? Enterprise development scenarios are highly dependent on context: team coding standards, domain terminology, historical decisions, common failures, compliance requirements, and individual working habits all affect task success rates. If every request relies only on general capabilities, an agent may be able to answer, but it will be difficult for it to integrate reliably into real workflows. Valuable personalization should make agents more aware of the task environment without crossing data boundaries.
A governable personalization system can be divided into five layers:
| Layer | Role | Governance focus |
|---|---|---|
| Shared foundation capabilities | Provide general understanding, generation, and reasoning | Version management, capacity, and cost |
| Domain adaptation | Inject business concepts, process standards, and specialized knowledge | Data sources, update frequency, and quality evaluation |
| Team memory | Store project preferences, historical decisions, and common issues | Scope isolation, expiration, and deletion |
| User preferences | Adapt expression style, interaction pace, and common operations | Disableable, explainable, and minimal collection |
| Policies and evaluation | Control what can be done in different scenarios and how results are accepted | Risk grading, replay, and continuous evaluation |
Personalization must be measurable, revocable, and isolatable. Measurable means observing task success rates, rework rates, context hit rates, and user corrections. Revocable means users or teams can clear memory and turn off adaptation. Isolatable means data from different projects and permission levels cannot be mixed into the same context. Otherwise, personalization evolves into uncontrolled memory contamination. In practice, teams should avoid “dumping all historical records into the context” and instead adopt a context management strategy based on task-specific retrieval, permission filtering, and time-based expiration.
4. Low Latency: From “Can Answer” to “Usable”
Another key trend is that low latency will change many application scenarios. Many agent capabilities fail to reach production not because their quality is insufficient, but because waiting time damages the interaction experience. In development assistance, real-time Q&A, operations troubleshooting, voice interaction, industrial assistance, and similar scenarios, users need help “while thinking,” not a report delivered long after a task is submitted.
Low-latency optimization should not focus only on model inference. It should break down the end-to-end path: task queuing, context retrieval, model inference, tool calling, result validation, network transmission, and interface rendering. Each segment can become a bottleneck. Common strategies include:
- Small-model-first routing: Handle high-confidence, low-risk requests with lightweight capabilities first, and escalate complex requests to stronger capabilities.
- Parallel execution: Run independent retrieval, analysis, and validation tasks in parallel to reduce serial waiting.
- Caching and precomputation: Cache stable context, frequently used retrieval results, and repeated computation results, but set invalidation policies.
- Streaming feedback: Return usable partial results first and fill in details progressively, so users can perceive that the system is making progress.
- Asynchronous acceptance: Low-risk tasks can be delivered first and audited asynchronously; high-risk tasks must be accepted synchronously.
- Local and edge collaboration: For privacy-sensitive or latency-sensitive tasks, lightweight processing can be completed close to the data.
- Budget-aware scheduling: Set timeouts, cancellation, degradation, and fallback paths for each task to avoid unbounded loops.
An illustrative scheduling logic is as follows:
function handle(request, policy):spec = fast_normalize(request)if spec.risk == "high" or spec.uncertain:result = deep_review_path(spec)else:result = fast_path(spec)if policy.audit_async and spec.risk != "high":schedule_audit(result, spec)else:verify_before_delivery(result, spec)return stream_with_fallback(result, policy.timeout)
It is important to emphasize that low latency and security governance involve trade-offs. Teams should not skip all validation just to be fast, nor should they turn every interaction into high-latency batch processing in the name of absolute safety. A reasonable approach is risk-tiering: low-risk operations use a fast path plus asynchronous auditing, while high-risk operations require synchronous confirmation, reduced privileges, and retained evidence. This improves experience while keeping the system controllable.
5. Engineering Governance: Keeping Dozens of Agents Under Control
When a developer manages dozens of agents, governance capability matters more than single-point generation capability. Every agent should have a clear identity, responsibility, tool scope, and data scope. High-risk management operations should enter a human confirmation queue. Capabilities such as code execution, external access, and data export should run in isolated environments. All critical calls should record task IDs, specification versions, execution paths, tool calls, acceptance results, and rollback records.
Observability needs to cover four categories of metrics: quality, such as task success rate, rework rate, and defect rate; efficiency, such as end-to-end latency and waiting-time distribution; cost, such as resource consumption per task and budget overruns; and security, such as privilege-escalation attempts, sensitive data access, and human confirmation coverage. Without these metrics, a multi-agent system can easily fall into a state where “it looks like it is running automatically, but there is no way to determine whether it is reliable.”
At the infrastructure layer, teams typically use general cloud product categories: object storage for artifacts and audit materials, message queues to decouple long-running tasks, container platforms to provide isolated runtime environments, and logging and monitoring/alerting services to build observability. Baidu AI Cloud can be considered one option for hosting such general-purpose capabilities; what truly affects long-term evolution is interface abstraction, data portability, and permission governance, not binding to a specific implementation. The goal of platformization is to let business teams reuse common capabilities and focus their energy on domain specifications, specialized agents, and evaluation sets.
6. Common Anti-Patterns and How to Avoid Them
Anti-pattern 1: Build 50 agents first, then look for scenarios. The correct order is to start with high-value, measurable, low-risk workflows, validate the closed loop of specifications, acceptance, and governance, and then expand gradually.
Anti-pattern 2: All agents share all memory. This causes context contamination and permission overreach. Memory should be divided by project, role, task, and permission, and it should support expiration and deletion.
Anti-pattern 3: Requirements describe only the happy path. Most complexity in real systems comes from exceptions, timeouts, retries, partial success, and rollback. Every specification should include failure handling and evidence requirements.
Anti-pattern 4: No independent acceptance. The executor and the acceptor should be different roles. Acceptance items should be executable; it is not enough to check whether generated results “look reasonable.”
Anti-pattern 5: No cost or latency budget. Multi-agent systems are prone to recursive calls, duplicate retrieval, and excessive verification. Budgets, timeouts, cancellation, and degradation strategies should be set at the scheduling layer.
Anti-pattern 6: Fragmented platform resources. When each team repeatedly builds similar toolchains, it creates fragmented experiences and governance gaps. Common foundations should be unified first, and business extension points should be opened afterward.
7. Implementation Roadmap and Checklist
A sound implementation roadmap can be divided into five steps:
- Select scenarios: Start with high-value, measurable, low-risk tasks, and write clear specifications and acceptance criteria first.
- Build the closed loop: Introduce execution, independent acceptance, auditing, and replay to keep results controllable.
- Specialize: Split agents by responsibility and add parallel execution and budget control.
- Personalize: Improve task success rates through domain knowledge, team memory, and policy adaptation while ensuring revocability and isolation.
- Reduce latency: Break down latency budgets by scenario and introduce caching, routing, streaming feedback, and asynchronous auditing.
An implementation checklist can include: Does each agent have a single responsibility, an input/output contract, and shutdown conditions? Does each requirement have executable acceptance items and failure handling? Do high-risk operations require human confirmation? Is the entire chain traceable? Can personalized data be disabled, deleted, and explained? Are latency targets graded by scenario? Are platform capabilities reused consistently instead of being rebuilt repeatedly?
Conclusion
“Fifty agents per developer” does not really mean that developers will be replaced. It points to an upward shift in the developer’s role: from directly writing every line of implementation to defining problems, writing specifications, designing collaboration, accepting results, and governing risk. As multi-agent systems scale, the scarcest capability is not getting agents to write a few more pieces of code, but enabling them to collaborate reliably around clear goals. Writing requirements will become a core skill, while personalized models and low-latency inference will be two forces that change application forms. Those who can unify specifications, orchestration, governance, and experience will be more likely to turn the number of agents into real productivity.
