Durable Actors provide stateful serverless-style units with persisted state and serialized execution. SDKs target TypeScript and Python for chat, collaboration, and agent coordination workloads.
Overview
Durable Actors is infrastructure for building real-time applications where each actor keeps durable state and processes concurrent updates safely. You define actor classes with persisted fields and methods that become typed RPC and WebSocket contracts after code generation.
Each actor can host its own SQLite-backed state, WebSocket connectivity, and coordination logic so conversations, documents, or agent tasks survive restarts and flaky dependencies. The project positions itself as a way to host multiplayer assets and agents without tying you to a single cloud vendor.
Developers run actors locally with a dev command, then deploy to managed cloud or self-host the runtime on Google Cloud Platform. Observability dashboards cover request rates, queue timing, RPC calls, and WebSocket connections per actor.
The upstream materials compare the design to Cloudflare’s hosted durable objects model while emphasizing open distribution, bundled observability, and avoidance of proprietary runtime limits.
Key features
- Stateful actors with persisted fields
- Serialized execution for concurrent updates
- Type-safe clients for TypeScript and Python
- Per-actor SQLite and WebSocket hosting
- Local dev command and cloud deploy path
- Built-in actor observability dashboards
- Sample apps for chat and documents
- Coding-agent quickstart skill support
Use cases
- Multiplayer AI chat sessions
- Collaborative document editing
- Agent swarm coordination
- Shared real-time application state