Recommended resources
The freely available resources this lesson will direct you to.
Introduction
In our previous lessons, we've established a robust manual process for requirements engineering: writing Product Requirements Documents (PRDs), translating them into agent specifications, mapping information flow, and—critically—analyzing these designs for failure points using frameworks like FMEA. You've learned to act as the architect, meticulously defining every aspect of the system.
Today, we introduce a powerful force multiplier to that process. The learning outcome for this lesson is to use an agent-assisted workflow to generate initial PRDs and specifications from a business problem description. This is a meta-level shift: we are moving from simply designing agent systems to designing how agents can help us design agent systems. For you, this means evolving from the architect who draws every line to the one who creates the tools, templates, and automated assistants that ensure architectural integrity at scale.
We will explore a spectrum of approaches, from using a single AI as a conversational partner to orchestrating a team of specialized agents that collaborate to produce and refine these critical design documents.
1. The Conversational Co-pilot: Agent as a Sounding Board
The most direct way to use an agent in the design process is as an interactive co-pilot. You provide a high-level business problem, and the agent helps you structure your thoughts, asks clarifying questions, and generates a first draft. This is an iterative, conversational approach that transforms a vague idea into a structured document.
Build Better Apps with AI Using This One Simple Document (PRD Guide)
To see this in action, let's watch the video 'Build Better Apps with AI Using This One Simple Document (PRD Guide)'. The presenter uses a simple but effective conversational workflow with Claude to generate a PRD for a blog.
Watch from 00:48 to 10:23. Pay close attention to the pattern of interaction: Initial Prompt: The user provides the core idea, tech stack, and desired features. Clarification: The AI asks targeted questions to resolve ambiguities (e.g., about user roles, rich text editing). Iteration & Refinement: The user answers the questions and adds further requirements, such as mocking up the database schema. Notice how this conversational loop progressively adds detail and structure to the initial concept.
This co-pilot model is effective for initial brainstorming and drafting. However, to scale this and ensure consistency, we need to move from ad-hoc conversations to more formal, reusable processes.
2. The Specification Architect: Formalizing the Workflow
Your goal is to offer agentic AI solutions as a service, which demands reliability and repeatability. This requires treating the specification itself not as a prose document for humans, but as a machine-executable blueprint for agents.
This paradigm shift is the core of modern agentic engineering. The specification becomes the ultimate source of truth that dictates how the AI will build the system.
How to write PRDs for AI Coding Agents | by David Haberlah - Medium
The article 'How to write PRDs for AI Coding Agents' provides the theoretical and practical foundation for this shift. It explains how to structure specifications so that AI agents can reliably interpret and execute them.
Please read the following sections: 'The New Specification Paradigm': Focus on the shift from monolithic documents to the sequential 'Specify → Plan → Tasks → Implement' pattern. This phased approach is fundamental to managing agentic implementation. 'Research Before Specification': Understand why this step is critical for agents that lack real-time knowledge of changing APIs and frameworks. 'Protection Patterns: Constraining AI Scope': Absorb the importance of explicit constraints like 'DO NOT CHANGE' and non-goals. AI agents cannot infer scope from omission.
The key insight is that an effective agent-assisted workflow doesn't just ask an agent to "write a PRD." It guides the agent through a structured process: research the current state of relevant technologies, define the project in testable phases, and explicitly state what is out of scope.
3. Encapsulating Process Knowledge with Agent Skills
How can you make this structured process reusable and autonomous? You can't manually prompt the agent with this multi-step process every time. This is where the concept of Agent Skills becomes a powerful architectural tool.
A "Skill" is a procedural knowledge package that teaches an agent how to perform a complex task. It's the difference between giving an agent a fish (a single PRD) and teaching it how to fish (a reusable process for generating PRDs).
How to write PRDs for AI Coding Agents | by David Haberlah - Medium
Let's continue with the same article, which provides an excellent deep-dive into the Anthropic Agent Skills framework.
Please read the sections 'Building Reusable Skills: The Anthropic Framework' through 'Creating Your Own PRD Skill'. Focus on: The distinction between context (facts about a project) and process (how to perform a task). The structure of a Skill: the SKILL.md entry point and reference files. The worked example of the 'replit-prd' skill, which demonstrates the research-clarify-sequence-deliver workflow. Consider this from a systems design perspective: a Skill is analogous to creating a well-documented function or library that encapsulates a complex business process for an agent to call.
By creating a "PRD Generation Skill," you codify your best practices for requirements engineering into a format an agent can follow autonomously. This skill would guide the agent to ask the right questions, perform necessary research, structure the output into phases, and apply necessary constraints—every single time. This is a direct implementation of your goal to design how work gets executed.
4. The Specialist Team: Multi-Agent PRD Automation
While a single, highly skilled agent can be very effective, some tasks benefit from a "divide and conquer" strategy. Complex PRD generation is one such task, as it mirrors the real-world collaboration between different business roles. For this, we can design a multi-agent system where each agent has a specialized role.

The IBM tutorial "Multi-agent PRD automation with MetaGPT, Ollama, and DeepSeek" provides a concrete example of this architecture. It designs a team of agents that emulate a software company's product team.
Multi-agent PRD automation with MetaGPT, Ollama, and DeepSeek
This tutorial demonstrates a sophisticated approach where a team of agents collaborates to generate and refine a PRD.
Please read from the beginning to the 'Example output' section. Focus on these key concepts: Standard Operating Procedures (SOPs): How MetaGPT uses SOPs to define the workflow and responsibilities. Roles and Responsibilities: The specific roles assigned to each agent (Product Manager, Architect, Researcher, Engineer, QA). Iterative Workflow: How the PRD is improved in rounds of drafting, review, and revision. Comparison: Note the difference in quality and detail between the initial draft and the final, multi-agent reviewed PRD.

This multi-agent approach offers several advantages over a single agent:
- Specialization: Each agent can have highly-focused prompts and tools for its specific role (e.g., the Researcher agent has access to web search, the Architect agent has knowledge of system design patterns).
- Robustness: The review and revision process, where one agent critiques another's work, helps identify errors and omissions, much like a human peer review.
- Reduced Complexity: Each individual agent is simpler than a single monolithic agent that would need to master all roles. This is analogous to the benefits of a microservices architecture.
Conclusion
In this lesson, we explored how to leverage agents to automate and enhance the critical first step of any agentic workflow: requirements engineering. You've seen that this is not a single technique but a spectrum of possibilities.
Key Takeaways:
- Agent-assisted PRD generation ranges from simple conversational co-pilots to sophisticated multi-agent teams.
- The goal is to create machine-executable specifications, not just human-readable documents. This requires structured, phased, and constrained prompting.
- Agent Skills allow you to codify and reuse best-practice workflows, transforming your process knowledge into an automated asset. This is a key step in scaling your design capabilities.
- Multi-agent systems, using an orchestrator-worker pattern, enable specialization and collaborative refinement. By assigning roles like 'Product Manager', 'Researcher', and 'Architect' to different agents, you can emulate a high-functioning product team to produce more robust and well-vetted specifications.
- Your role as a system designer evolves to that of a specification architect: defining the processes, skills, and team structures that agents will use to design and build systems.
Preview of the Next Lesson
We have now completed our module on Requirements Engineering, establishing a solid foundation for defining what our agent systems should do and how they should be structured. However, a brilliant design is useless without the right information.
In our next module, we will begin "RAG: Giving Agents a Knowledge Base." The first lesson will explain the retrieval-augmented generation (RAG) pattern and why it is the fundamental solution to the knowledge cutoff and hallucination problems that plague standalone LLMs. We will move from defining the agent's workflow to populating its "second brain."