Agent Workflows
Workflows define how agents approach their work systematically and consistently.Why Workflows Matter
Consistency
Same quality output every time
Predictability
Know what to expect at each stage
Quality Gates
Built-in checkpoints prevent issues
Coordination
Multiple agents work together smoothly
Standard Workflow Pattern
Most agents follow this four-phase workflow:Phase 1: Discovery
Understand the problem and gather contextActivities:
- Review requirements and specifications
- Analyze existing codebase or systems
- Identify constraints and dependencies
- Research best practices and patterns
- Context analysis
- Requirements clarification
- Identified constraints
- Initial approach proposal
Phase 2: Planning
Design the solution and create execution planActivities:
- Design architecture or approach
- Break down work into tasks
- Identify risks and mitigation strategies
- Define success criteria
- Design documentation
- Task breakdown
- Risk assessment
- Success metrics defined
Phase 3: Execution
Implement the solutionActivities:
- Write code or create assets
- Follow best practices and standards
- Document decisions and trade-offs
- Perform self-review
- Code, designs, or other artifacts
- Implementation documentation
- Self-test results
- Known limitations documented
Agent-Specific Workflows
Engineering Workflows
- Frontend Developer
- Backend Architect
- DevOps Automator
Testing Workflows
- Evidence Collector
- Reality Checker
Marketing Workflows
Growth Hacker - Acquisition Campaign
Growth Hacker - Acquisition Campaign
Coordination Patterns
Dev↔QA Loop
The most common coordination pattern:Build Phase
Developer implements the featureExit Criteria:
- Code complete
- Self-tested
- Documented
- Ready for QA
Test Phase
QA agent tests thoroughlyActivities:
- Visual testing (screenshots)
- Functional testing
- Edge case testing
- Documentation review
- PASS: Move to next task
- FAIL: Document issues, return to build
Handoff Pattern
When work passes between agents:Multi-Agent Coordination
For complex projects requiring multiple agents:- Startup MVP (4-6 weeks)
- Marketing Campaign (2-4 weeks)
Quality Gates
Workflows include built-in quality checkpoints:Entry Criteria
Requirements for starting work
- Clear requirements
- Dependencies met
- Resources available
- Success criteria defined
Exit Criteria
Requirements for completing work
- Work product complete
- Quality standards met
- Documentation provided
- Verification passed
Pass Criteria
What defines success
- Specific metrics met
- Tests passing
- Requirements satisfied
- Stakeholder approval
Fail Criteria
What triggers rejection
- Critical issues present
- Standards not met
- Incomplete work
- Failed verification
Next Steps
Use Cases
See workflows in action
Agent Design
Design philosophy
Creating Agents
Build agents with solid workflows
Quick Start
Start using agents
