v0.22.0 — Developer Experience (DX)
v0.22.0 - 2026-07-18
Developer-experience release: smooth the paved road so the governed path is the
easiest path. A single agent — or an inline, class-free swarm — can now run
through the full audited Swarm pipeline (audit, guardrails, capture, telemetry,
encrypt-at-rest) without authoring a Swarm class, with matching improvements to
the generators, testing helpers, IDE/static-analysis support, docs, and
first-class Laravel Boost AI guidelines and skills. Purely additive — no
migration, config, or dependency changes.
Added
- Class-free entry points.
Swarm::agent($agent)runs a single agent through
the full governed pipeline without aSwarmclass, and
Swarm::sequential([...])/Swarm::parallel([...])/
Swarm::hierarchical($coordinator, [$workers])do the same for inline
multi-agent swarms. Governed identically to a class-based swarm; per-call
->guardrails([...])is additive to the globally configured guardrails. The
class-free builders expose the in-process modes —prompt()/run(),
stream(),broadcast()/broadcastNow(). For queued or durable execution,
author a one-agent Swarm class (make:swarm:swarm --single); background
execution needs a container-bound class to survive job re-resolution. See
Execution Modes and the
Cookbook. - Testing.
SwarmFake::interceptSwarmAuditSink()returns a recording
RecordingSwarmAuditSinkwithassertAuditChain(),assertEmittedAudit(),
assertNotEmittedAudit(), andassertStepCount()to assert the governed audit
trail a run emitted. See Testing. swarm:healthgained governed-by-default checks (guardrails resolvable,
audit sink reachable, capture policy sane), included in--json. See
Maintenance.- Interactive
make:swarmguides single-agent vs. multi-agent and prompts
for topology, with a--singlescaffold; non-interactive /--no-interaction
usage is unchanged. See Generators. - Laravel Boost. Ships AI guidelines (
resources/boost/guidelines/core.blade.php)
and aswarm-developmentagent skill, auto-loaded by a consuming app's
php artisan boost:install. - IDE-autocomplete
@methodannotations for the fluent builders on theSwarm
facade; a repo-wide docs cohesiveness pass and a new DX cookbook.
Changed
- Bumped
extra.branch-alias.dev-mainto0.22.x-dev.