SDK for stateful serverless applications
Top 36.5% on sourcepulse
This project provides ActorCore, a TypeScript framework for building stateful, serverless applications, targeting developers of AI agents, collaborative tools, and local-first applications. It simplifies state management by offering long-lived compute units with automatic state persistence, eliminating the need for traditional databases and enabling real-time updates with built-in low-latency events.
How It Works
ActorCore implements a "stateful serverless" paradigm, where compute units retain state between invocations, akin to actors with built-in persistence. State is stored locally to the compute, enabling ultra-fast reads/writes without database round trips. Data is also deployed to the edge, close to users, minimizing latency. This approach aims to combine the benefits of the actor model with the scalability and ease of serverless.
Quick Start & Requirements
npx create-actor@latest
Highlighted Details
Maintenance & Community
Maintained by Rivet.gg, with active community engagement encouraged via Discord and GitHub Discussions. A roadmap for 2025 includes features like SQLite support, Auth extensions, and Workflows.
Licensing & Compatibility
Licensed under Apache 2.0, permitting commercial use and integration with closed-source applications.
Limitations & Caveats
Currently not ideal for OLAP, data lakes, graph databases, or highly relational data, though future improvements are expected. Read replicas for actors are under development to address potential single-bottleneck concerns.
3 days ago
1 day