Skip to content

v0.1.0 — initial pre-release

Choose a tag to compare

@timmcleod timmcleod released this 24 Jul 20:00

Durable, resumable, human-interruptible agent workflows on top of the Laravel AI SDK.

The five official multi-agent patterns, made crash-safe on Laravel queues:

  • Sequential chains with a checkpoint after every step — a failed step retries from that step, not from the beginning
  • when() conditionals evaluated against checkpointed state
  • parallel() fan-out via Bus::batch (durable, Horizon-visible) or Concurrency::run() (sync), with state merging and conflict detection
  • evaluate() evaluator-optimizer loops with per-iteration checkpoints and an iteration cap
  • awaitHuman() / awaitEvent() interrupts — park a run for days, resume with a schema-validated payload
  • SDK tool-approval pauses surfaced as workflow interrupts, with decision replay on resume
  • Conversation handoffs: synthetic transfer_to_* tools + persistent conversation ownership
  • Lifecycle events, per-step token/usage audit trail, AgentWorkflow::fake() test assertions

Requires: PHP 8.3+, Laravel 12 or 13, laravel/ai ^0.10

composer require timmcleod/agent-workflows

📖 The five patterns, made durable

Pre-release: APIs may change before 1.0.