Use this file to discover all available pages before exploring further.
Workflows are multi-step execution graphs that coordinate agents, tools, and external functions to complete complex tasks. Each workflow defines steps with different execution modes, error handling, and control flow.
# Create a workflowagentos workflow create my-workflow.yaml# List workflowsagentos workflow list# Execute a workflowagentos workflow run feature-build --input '{"feature_description": "Add user authentication"}'# View workflow statusagentos workflow status <run-id>
Standard feature development with architect, coder, and iterative code review:
id: feature-buildname: Feature Builddescription: > Standard feature development workflow with spec, implementation, iterative code review, and merge. Uses architect, coder, and reviewer.agents: - architect - coder - code-reviewersteps: - name: Spec functionId: "agent::chat" promptTemplate: > Design the feature: {{feature_description}}. Produce a technical spec with API contracts, data models, edge cases, and a dependency list. mode: sequential timeoutMs: 120000 errorMode: fail outputVar: tech_spec - name: Implement functionId: "agent::chat" promptTemplate: > Implement the feature based on this spec: {{tech_spec}}. Follow existing codebase patterns. Include unit tests. Output the list of changed files. mode: sequential timeoutMs: 300000 errorMode: retry maxRetries: 2 outputVar: implementation - name: Review functionId: "agent::chat" promptTemplate: > Review this implementation: {{implementation}}. Previous review feedback (if any): {{review_result}}. Check for bugs, security issues, test coverage gaps, and style. If issues found, return specific fix instructions for the next iteration. If approved, your response MUST include the word "LGTM". mode: loop timeoutMs: 180000 errorMode: retry maxRetries: 2 maxIterations: 3 until: "LGTM" outputVar: review_result - name: Merge functionId: "agent::chat" promptTemplate: > Final approval for merge. Review result: {{review_result}}. Create a changelog entry and confirm merge readiness. mode: sequential timeoutMs: 60000 errorMode: fail outputVar: merge_status
End-to-end MVP delivery from discovery through deployment:
id: mvp-sprintname: MVP Sprintdescription: > End-to-end MVP delivery workflow from market discovery through deployment. Uses 5 specialized agents across research, design, engineering, QA, and DevOps.agents: - trend-researcher - ux-architect - rapid-prototyper - evidence-collector - devops-leadsteps: - name: Discovery functionId: "agent::chat" promptTemplate: > Research the market for: {{goal}}. Identify target users, competitors, and key differentiators. Produce a one-page brief with validated assumptions. mode: sequential timeoutMs: 120000 errorMode: fail outputVar: discovery_brief - name: Design functionId: "agent::chat" promptTemplate: > Based on this discovery brief: {{discovery_brief}}. Create UX wireframes, user flows, and a component inventory. Focus on the critical path — minimum screens for core value. mode: sequential timeoutMs: 120000 errorMode: fail outputVar: design_spec - name: Build functionId: "agent::chat" promptTemplate: > Implement the MVP based on this design spec: {{design_spec}}. Prioritize working software over polish. Write tests for critical paths. When all tests pass, include "all_tests_pass" in your response. mode: loop timeoutMs: 300000 errorMode: retry maxRetries: 3 maxIterations: 5 until: "all_tests_pass" outputVar: build_output - name: Test functionId: "agent::chat" promptTemplate: > QA the build output: {{build_output}}. Collect evidence (screenshots, test results) for every acceptance criterion. Flag any P0/P1 issues that block ship. mode: sequential timeoutMs: 180000 errorMode: fail outputVar: qa_report - name: Ship functionId: "agent::chat" promptTemplate: > Deploy the MVP based on QA report: {{qa_report}}. Set up monitoring, alerting, and rollback procedures. Produce a deployment checklist and go-live confirmation. mode: sequential timeoutMs: 120000 errorMode: retry maxRetries: 2 outputVar: deployment_status
agentos workflow listagentos workflow list --format json
Execute workflow
# Run with inputagentos workflow run feature-build --input '{"feature_description": "Add auth"}'# Run with input from fileagentos workflow run feature-build --input @input.json# Run with specific agent assignmentsagentos workflow run feature-build \ --input '{...}' \ --agent architect=my-architect-instance
Monitor execution
# Get run statusagentos workflow status <run-id># Watch progress in real-timeagentos workflow watch <run-id># View step resultsagentos workflow results <run-id>