Download the PHP package durable-workflow/ai without Composer
On this page you can find all versions of the php package durable-workflow/ai. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download durable-workflow/ai
More information about durable-workflow/ai
Files in durable-workflow/ai
Package ai
Short Description Durable sandbox orchestration contracts and providers for AI agents.
License MIT
Informations about the package ai
Durable Workflow AI
Durable sandbox orchestration for AI agents built on Durable Workflow. The package provides a reusable Laravel workflow for provisioning a sandbox, dispatching tool calls, checkpointing state, recovering from sandbox loss, and cleaning up resources. Provider-specific APIs stay behind versioned contracts.
The package is currently published on the 2.0 release-candidate channel. The Durable Workflow runtime it uses is stable 2.x.
Agent Skill
The repository also publishes the vendor-neutral
durable-execution agent skill. It helps
agents decide when durable orchestration is appropriate, design replay-safe
workflows and retry-safe effects, and operate long-running processes. It does
not require this PHP package or the Durable Workflow runtime.
Install
Laravel discovers DurableWorkflow\AI\Laravel\SandboxServiceProvider
automatically. The package requires PHP 8.2 or newer, Laravel 12 or newer, and
the embedded Durable Workflow runtime.
Run A Sandbox Workflow
Configure E2B before starting the application worker:
Every tool call receives a stable operation ID. The workflow can restore its latest snapshot after sandbox loss and replay every completed later call before continuing. Success, cancellation, and failure all enter the cleanup path; provider leases remain the final cleanup bound when deletion cannot complete.
Providers
| Provider | Intended use | Snapshot recovery | Suspend and resume |
|---|---|---|---|
e2b |
Remote agent sandboxes | Yes | No |
local |
Development and deterministic tests | Yes | Yes |
| Custom | Any adapter implementing the versioned provider contract | Capability-dependent | Capability-dependent |
The local provider runs subprocesses with the application worker's privileges. It is not a security boundary and must not execute untrusted code.
See the provider-author guide to register E2B, Modal, Daytona, Kubernetes, or another sandbox backend without changing workflow code.
Guarantees
The package makes effect delivery, snapshot ownership, recovery, leases, and cleanup behavior explicit. Built-in providers currently advertise at-least-once effects because neither remote HTTP execution nor a local process can atomically commit an arbitrary tool effect with a Durable Workflow acknowledgement.
Read the delivery and recovery guarantees for the full contract, including operation deduplication, checkpoint replacement, post-snapshot reconstruction, and retained-snapshot ownership.
Development
Shared contribution, security, and release guidance lives in the Durable Workflow organization guide.
License
Durable Workflow AI is open-source software licensed under the MIT license.
All versions of ai with dependencies
durable-workflow/workflow Version ^2.0@RC
laravel/framework Version ^12.61.1|^13.0