Skip to main content
Learn from complete workflow examples. Each example shows the logical flow and technical implementation for a specific orchestration pattern.

Interactive: Technical Design Review

You respond at every step. Each agent asks questions, gathers insights, and produces output for the next agent.
1

Architect

Asks you about requirements, constraints, and tradeoffs.

Input

User Answers + Project context

Steps (Chained Prompts)

Deep-dive analysis through Q&A → User → Complete system architecture design

Output

architecture.md = {architecture}
2

User

Review the architecture analysis. Answer follow-up questions.
3

Security Expert

Asks you about security concerns and compliance needs.

Input

{architecture}

Steps (Chained Prompts)

Threat modeling and attack surface analysis → User → Security controls and mitigation strategy

Output

security-review.md = {security_review}
4

User

Review the security assessment. Answer follow-up questions.
5

Senior Engineer

Asks you about implementation preferences and team constraints.

Input

{architecture} + {security_review}

Steps (Chained Prompts)

Feasibility analysis → User → Final design incorporating all feedback

Output

final-design.md
6

User

Review the final design. Confirm everything looks good or request changes.

Autonomous: Greenfield Project Build

Controller agent runs agents on your behalf. You brief the controller, then review results instead of managing the process.
Autonomous mode is in beta. Behavior may change as we refine controller-agent coordination.
1

User → Controller

Brief the controller with your project idea, constraints, goals, and the full workflow structure.
2

PM

Refines requirements and creates product specification.

Input

Controller’s project brief + Constraints

Steps (Chained Prompts)

Requirements gathering → Controller → Product specification

Output

prd.md = {prd}
3

Controller

Reviews PRD. Proceeds or adjusts.
4

Architect

Designs system architecture based on requirements.

Input

{prd} + Controller’s Instructions

Steps (Chained Prompts)

System design → Controller → Architecture decisions

Output

architecture.md = {architecture}
5

Controller

Reviews architecture. Proceeds or adjusts.
6

Developer

Implements the code based on architecture.

Input

{prd} + {architecture} + Controller’s Instructions

Steps (Chained Prompts)

Implementation → Controller → Code review

Output

src/*
7

Controller

Reviews implementation. Proceeds or adjusts.
8

Tester

Writes tests for the implementation. Examines codebase using tools.

Input

{prd} + {architecture}

Steps (Chained Prompts)

Test planning → Controller → Test implementation

Output

tests/*

Continuous: Adding APIs

Auto-advance with zero interaction. You provide a specification file upfront, then agents run to completion.
1

Specification File

Define the APIs you need: endpoints, methods, schemas, validation rules.
Workflows with specification: true won’t start until this file is provided.

Input

specification.md = {specification}
2

API Designer

Designs endpoint contracts and schemas from spec.

Input

{specification}

Steps (Chained Prompts)

Parse spec → Design contracts → Generate schemas

Output

api-design.md = {api_design}
3

Developer

Implements the API endpoints. Examines codebase using tools.

Input

{specification} + {api_design}

Steps (Chained Prompts)

Implement endpoints → Add validation → Wire routes

Output

src/api/*
4

Tester

Writes tests for the API. Examines codebase using tools.

Input

{specification} + {api_design}

Steps (Chained Prompts)

Test planning → Write unit tests → Write integration tests

Output

tests/api/*

Hybrid: Bug Fix Pipeline

Mix interactive and auto-advance agents in the same workflow. Key decisions need you, routine steps don’t.
1

Triage (Interactive)

Asks you about the bug: What’s the issue? Which device? Steps to reproduce?

Input

User Answers

Steps (Chained Prompts)

Gather symptoms → User → Reproduction steps → User → Environment details

Output

bug-report.md = {bug_report}
2

User

Review bug report. Confirm details are correct.
3

Reproducer (Auto)

Reproduces the bug with gathered insights. Examines codebase using tools.

Input

{bug_report}

Steps (Chained Prompts)

Set up environment → Reproduce steps → Confirm bug exists

Output

reproduction.md = {reproduction}
4

Investigator (Auto)

Finds root cause. Examines codebase using tools.

Input

{bug_report} + {reproduction}

Steps (Chained Prompts)

Trace execution → Identify root cause → Document findings

Output

investigation.md = {investigation}
5

Discuss & Plan (Interactive)

Discusses findings with you. Plans the fix together.

Input

{bug_report} + {reproduction} + {investigation}

Steps (Chained Prompts)

Present findings → User → Discuss options → User → Agree on approach

Output

fix-plan.md = {fix_plan}
6

User

Review the plan. Approve or request changes.
7

Developer (Auto)

Implements the fix. Examines codebase using tools.

Input

{investigation} + {fix_plan}

Steps (Chained Prompts)

Implement fix → Self-review → Refine

Output

src/*
8

Tester (Auto)

Writes tests for the fix. Examines codebase using tools.

Input

{bug_report} + {fix_plan}

Steps (Chained Prompts)

Write regression test → Write edge case tests → Verify fix

Output

tests/*

Sub-Agents: Blueprint Orchestration

Main agents can delegate specialized tasks to sub-agents. The orchestrator coordinates multiple sub-agents to build a complete solution.
1

Analyst

Analyzes requirements and creates a specification.

Input

User requirements + Project context

Output

specification.md = {specification}
2

Blueprint Orchestrator

Coordinates sub-agents to design the architecture. Runs sub-agents in parallel for different domains.

Input

{specification}

Sub-Agents

data-architect → Database schema designapi-architect → API contract designui-architect → Component structure design

Output

blueprint.md = {blueprint} (merged from all sub-agents)
3

Developer

Implements the code based on the blueprint.

Input

{specification} + {blueprint}

Output

src/*

Choosing a Pattern

PatternUser InvolvementBest For
InteractiveEvery stepTasks needing judgment, exploration, Q&A
AutonomousBrief controller, review resultsLong-running tasks, clear objectives
ContinuousNone (spec upfront)Repeatable, proven workflows
HybridKey decisions onlyMost real-world workflows
Most workflows end up being Hybrid — you want control where it matters and speed everywhere else.

Next Steps