Templates / AI agent patterns / ai-orchestrator-workers
AI Orchestrator–Workers
An orchestrator agent breaks a research question into subtasks it cannot know in advance and hands each to a worker. It is an AI Agent Sub-process whose tools are themselves model calls — a web researcher, a source summariser and a data analyst — whose instructions the orchestrator writes with fromAi(). A report the orchestrator is not confident in goes to an expert before publishing.
Scenarios · 2
- A confident report is published directly orchestrator → confident → publish-report → report-published
- A shaky report goes to an expert first orchestrator → expert-review → publish-report → report-published
Job types · 4
-
io.camunda.agenticai:aiagent-job-worker:1Orchestrator -
io.camunda.agenticai:aiagent:1Research the web, Summarise source, Analyse data -
requester-notifyNotify requester: no report -
wiki-page-publishPublish report
Files · 2
- ai-orchestrator-workers.bpmn Process model
- ai-orchestrator-workers.bpmn.tests.json Test scenarios (runScenario format)
Every scenario passes on @bpmnkit/engine's runScenario in the
package's tests. casen template use ai-orchestrator-workers [dir] writes the files above
into your project — see the templates guide for running
the scenarios and deploying.