ElectricSQL co-founder Sam Willis introduces Electric Agents, advocating for a state-sync architecture that moves AI agents out of isolated sandboxes and into durable, stream-based functions and logs.
ElectricSQL co-founder Sam Willis announced the architectural design of Electric Agents, a durable runtime platform built on a state-sync fabric. Moving away from the transient nature of traditional sandboxed execution, this architecture splits agent state and compute by utilizing durable event logs (Durable Streams) and typed, addressable entities. Under this model, every action, tool call, and state transition is appended to a persistent stream, enabling features such as session replaying, low-overhead stream forking, and the ability for agents to safely scale to zero and resume seamlessly.
While sandboxed environments (like Docker containers or E2B) are standard for running agent code safely, they treat state as an afterthought. Electric Agents shifts the paradigm from hardware virtualization to data virtualization, making state persistence and synchronization the core primitives. By representing agent sessions as append-only event logs, they solve the long-standing challenges of observability, debugging, and collaboration in multi-agent workflows, though developers will need to adapt to an event-sourced programming model.
* Splits state and compute, enabling agents to run as lightweight, stateless functions while maintaining durable state in a synchronized data log.
* The append-only event stream design natively supports "time-travel" debugging, allowing developers to replay, inspect, and fork agent histories.
* Enhances collaboration by allowing multiple agents and human users to interact directly through a shared sync fabric like CRDTs.
* Allows idle agents to instantly scale to zero without losing context, significantly reducing execution costs for long-running workflows.
DISCOVERED
2h ago
2026-06-04
PUBLISHED
2h ago
2026-06-04
RELEVANCE
AUTHOR
ElectricSQL