Rivet 发布基于 Actor 的开源 AI 智能体编排器
来自 Rivet 的 Nathan 和 Nicholas 在 Hacker News 上宣布,Rivet 是一款采用 Actor 模型、面向智能体工作负载的开源自托管编排器。Rivet 称,每个智能体都以轻量级、长时运行的 Actor 运行,具备内存状态、由 S3 支持的 SQLite 存储,并在空闲时进入休眠。Rivet Actor 可使用 TypeScript 或 Rust 编写,项目称其模型与 Cloudflare Durable Objects 类似。
据发布帖介绍,Rivet 为运行具备长时状态和持久化存储的智能体提供了一种开源且可自托管的 Actor 架构方案。
Hey HN, this is Nathan and Nicholas from Rivet (https://rivet.dev) – a fast, high-density, and scalable orchestrator for agentic workloads using the actor model. Rather than running a heavyweight sandbox per agent, each agent gets a lightweight actor backed by S3.
Actors provide a long-lived process for long agent turns, in-memory state for context, a WebSocket server for multiplayer, durable SQLite storage backed by S3, and hibernation when idle.
It's a similar model to Cloudflare Durable Objects, but it’s open source and self-hostable.
Here’s a video walkthrough: https://www.youtube.com/watch?v=3Ev6I7DOV9c
When we went through YC in 2023, we were building infrastructure for multiplayer games like Diep and Krunker. This involved heavily optimizing high-throughput matchmaking, real-time player messages, and blitz scaling. Through that process, we spent a lot of time on workloads where Postgres couldn't keep up with our throughput. We started out by hacking together Lua scripts on top of Redis, but this became too cumbersome to maintain and upgrade. This led us to extend our game server orchestrator to support what we call Rivet Actors today: many lightweight workers with in-memory state and durable storage. By using actors, we were able to serve tens of millions of monthly active users.
#Rivet#Rivet Actors#Cloudflare Durable Objects#Amazon S3#TypeScript#Rust#Pi Durable#Amp