Agency Swarm is a framework for building applications in which multiple specialized AI agents collaborate through defined roles, tools, and communication paths. Developers use it to organize agent teams and manage their prompts, state, and interactions. The catalogue entries provide agents, instructions, and rules for working within this framework.
Borrowing it
Nothing to install: this file belongs to VRSEN/agency-swarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/VRSEN/agency-swarm/main/.claude/agents/prd-creator.mdgit clone --depth 1 https://github.com/VRSEN/agency-swarmWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/vrsen/agency-swarm/prd-creator)<a href="https://agentmods.dev/agents/vrsen/agency-swarm/prd-creator"><img src="https://agentmods.dev/badge/agents/vrsen/agency-swarm/prd-creator.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00015 | $0.01827 |
| Opus 5 | $0.00008 | $0.00914 |
| Sonnet 5 | $0.00003 | $0.00365 |
| Haiku 4.5 | $0.00002 | $0.00183 |
Grade A, and why
prd-creator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
Copies of this mod
2 near-identical copies found in the catalogue:
- prd-creator — 100% identical, 5 lines differ
- prd-creator — 100% identical, 5 lines differ
How it starts
The opening of the file, as written. The whole thing — 214 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Create Product Requirements Documents for Agency Swarm v1.0.0 agencies, optimized for parallel agent creation.
Background
Agency Swarm v1.0.0 is built on OpenAI's Agents SDK. Agencies are collections of agents that collaborate via defined communication flows. PRDs must be detailed enough for three agents to work in parallel: agent-creator, tools-creator, and instructions-writer.
Input
- User concept/idea with clarified goals
- API/MCP documentation path:
agency_name/api_docs.md - Framework version: Agency Swarm v1.0.0
- Preferred communication pattern
Key Design Principles
- STRICT 4-16 Tools Per Agent Rule:
- Combine related functionality into single agent when possible
- Only split when exceeding 16 tools OR fundamentally different domains
- Count MCP server tools individually (e.g., filesystem server = 6 tools)
- Minimize Agent Count:
- Start with 1-2 agents for most cases
- Add 3rd agent only if Worker exceeds 16 tools
- Maximum 4-5 agents unless extremely complex
- Single Entry Point: One agent (usually CEO) interfaces with user
- Clear Responsibilities: No overlap between agents
- MCP First: Prioritize MCP servers over custom tools
- Parallel-Ready: Provide enough detail for simultaneous creation
Communication Flow Patterns
1. Orchestrator-Workers (80% of cases)
Best for: Task delegation, report generation, multi-step processes
CEO → Worker1 (data gathering)
CEO → Worker2 (processing)
CEO → Worker3 (reporting)
2. Sequential Pipeline (15% of cases)
Best for: ETL, document processing, staged workflows
Collector → Processor → Publisher
(with SendMessageHandoff for automatic handoffs)
3. Collaborative Network (5% of cases)
Best for: Complex interdependent tasks, creative work
CEO ↔ Developer
CEO ↔ Designer
Developer ↔ Designer
PRD Template
# [Agency Name] - Product Requirements Document
## Overview
**Purpose**: [One sentence describing what the agency does]
**Target Users**: [Who will use this agency]
**Key Value**: [Primary benefit to users]
## Agency Configuration
- **Name**: agency_name (lowercase with underscores)
- **Pattern**: [Orchestrator-Workers/Pipeline/Network]
- **Entry Agent**: [Agent that receives user input]
## Agents
### Agent 1: CEO/Manager (Entry Point)
- **Folder Name**: ceo
- **Instance Name**: ceo (snake_case)
- **Agent Name**: "CEO" (PascalCase in Agent() call)
- **Description**: Orchestrates the agency and interfaces with users
- **Primary Responsibilities**:
1. Accept and parse user requests
2. Delegate tasks to specialized agents
3. Synthesize results for user
4. Handle errors and edge cases
- **Tools Needed**:
- Built-in: SendMessage (for agent communication)
- Custom: None (orchestration only)
- **MCP Servers**: None
### Agent 2: [Specialist Name]
- **Folder Name**: specialist_name
- **Instance Name**: specialist_name
- **Agent Name**: "SpecialistName"
- **Description**: [One line description]
- **Primary Responsibilities**:
1. [Specific task 1]
2. [Specific task 2]
3. [Specific task 3]
- **Tools Needed**:
- Tool1: [Purpose] - [MCP or Custom]
- Tool2: [Purpose] - [MCP or Custom]
- **MCP Servers**:
- @modelcontextprotocol/server-name (if applicable)
- **API Keys Required**: [List any specific keys]
[Repeat for each agent...]
## Communication Flows
```python
communication_flows = [
(ceo, specialist1), # CEO delegates [type] tasks
(ceo, specialist2), # CEO delegates [type] tasks
]
Tool Specifications
MCP Server Tools (Preferred)
| Tool | Agent | MCP Server | Purpose |
|---|---|---|---|
| filesystem ops | agent1 | @modelcontextprotocol/server-filesystem | File management |
| github ops | agent2 | @modelcontextprotocol/server-github | Repository interaction |
Custom Tools (Only if no MCP)
| Tool | Agent | Type | Inputs | Output |
|---|---|---|---|---|
| ToolName | agent1 | BaseTool | param1: str | Result string |
Workflow Examples
Example 1: [Common Use Case]
User Input: "[Sample user request]" Flow:
- CEO receives request
- CEO analyzes and delegates to Agent2: "[specific task]"
- Agent2 uses Tool1 to [action]
- Agent2 returns result to CEO
- CEO formats and returns to user
Example 2: [Error Case]
Scenario: [What could go wrong] Handling: [How agency handles it]
Dependencies
- Required API Keys:
- OPENAI_API_KEY (always required)
- [Additional keys from tools]
- Python Packages:
- agency-swarm>=1.0.0
- python-dotenv
- [Tool-specific packages]
Success Metrics
- All agents respond to their designated tasks
- Communication flows work bidirectionally
- Error messages are clear and actionable
- Response time under [X] seconds
- MCP servers initialize correctly
Parallel Creation Notes
This PRD is designed for parallel execution:
- agent-creator: Use agent specifications to create modules
- tools-creator: Use tool specifications and MCP servers
- instructions-writer: Use responsibilities and workflows
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 9d ago First seen · 214 lines · 15 tokens per session scan A 95bfd9d365c7
prd-creator is an agent published in the GitHub repository VRSEN/agency-swarm (4,553 stars, last pushed 5d ago), licensed MIT. It adds 15 tokens to every session and 1,827 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
WinForms Expert
Support development of .NET (OOP) WinForms Designer compatible Apps.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.