Tasks

Index of tasks mode team examples: sequential decomposition, parallel execution, dependency chains, and streaming events.

ExampleDescription
Basic Tasks Mode ExampleTasks mode: the leader splits a request into planner, writer, and editor tasks and runs them in order.
Tasks with Dependencies ExampleDemonstrates task mode with dependency chains.
Parallel Tasks Execution ExampleDemonstrates task mode with parallel execution.
Task Mode Streaming Example - Real-time Task List with Dedicated EventsStream TaskCreated, TaskUpdated, TaskIteration, and TaskStateUpdated events to render a real-time task list.
Task Mode Streaming EventsConsume streaming events programmatically in mode=tasks.