Documentation
Start Here
- Quick Start: installation, then your first workflow end to end (agent, callback step, workflow class, start, resume, retry).
- Five patterns, made durable: the five multi-agent patterns from the Laravel blog mapped onto their durable counterparts, for readers who already know the space.
- How It Works: a visual tour of the engine, from the big picture down to the class map. Read it when you want to trust the machine.
Building Workflows
- Defining Workflows: workflow classes and registration, steps and aliases, conditions, parallel fan-outs, loops, and definition drift.
- Agent Steps: the prompt ladder (strings, templates, closures, conventional methods), tool loops, and approval pauses.
- Workflow State: the state bag, reading step output, and typed per-workflow state classes.
- Human in the Loop:
awaitHuman,awaitEvent, SLAs and timeouts, the SDK tool-approval bridge, and payload security. - Agent Debates: judge-ruled rounds via the
debatemethod, costs, retry semantics, and the transcript.
Running in Production
- Runs & Observability: the Eloquent models, per-call audit, retry semantics, and lifecycle events.
- Testing:
AgentWorkflow::fake, faked agents, gates, and debates. - Operations: queue sizing, the sweeper, execution semantics, every config key, and upgrading.