Skip to main content

Workflow engine

This documentation describes the workflow engine: its components, the lifecycle of a run, and how to build and operate it. Pages are ordered for linear reading. Each page uses only terms defined on earlier pages or in the glossary.

PageContent
OverviewComponents and design rationale, without implementation detail
1. IntroductionPurpose, design principles, platform services
2. ComponentsArchitecture diagram and component reference
3. Run lifecycleOne run from start to archival
4. Workflow definitionsStructure, fields, references, registration checks
5. Task typesInterpreter, activity, and worker types
6. The APIEndpoints by group
7. InterpreterOrchestration, execution loop, timeouts, statuses
8. System tasksActivities and outbound calls
9. WorkersTask definitions, queues, worker loop, hosting
10. Human gatesNotification, decision, timeouts, write-tier rule
11. Events and schedulesTriggers, event handlers, status events, schedules
12. History and archiveStores, tables, search, redaction, archival
13. Run controlOperations and test runs
14. Model and tool tasksModel tasks, trust tiers, agents
15. Authentication and permissionsToken flow, callers, worker scope, tool scope, secrets
16. MonitoringTracing, metrics, operator views
17. DeploymentResources and pipeline
18. Build orderComponents and build steps
19. Design decisionsDecisions and reasons
GlossaryTerms