Back to directory

AI & Machine Learning · AI Development Platforms

Rivet

Durable actor orchestration for agentic workloads

Rivet is an open source orchestrator for durable Actors, aimed at agents, workflows, sandboxes, realtime applications, and other stateful workloads. Its Rust control plane handles scheduling, routing, persistence, networking, and observability, with deployment choices spanning local development, Rivet Cloud, BYOC, and infrastructure operated by the customer.

Key facts

License
Apache-2.0
Main language
Rust
Maintainer
rivet-dev
Latest release
v2.3.30, October 20, 2026
GitHub stars
6,321, October 2026
Hosted option
Cloud: Free; Hobby from $20/month plus usage; Team from $200/month plus usage

What Rivet is

Rivet began as a repository created on June 16, 2023, and is maintained by the rivet-dev organization, with NathanFlurry listed as the top contributor at 3,569 contributions. The repository describes Rivet as an orchestrator for agentic workloads, using Actors as the unit scheduled by its control plane. The repository contains RivetKit clients, a Rust control plane, a dashboard, documentation, and examples. Its stated focus covers durable processes for agents, workflows, sandboxes, and realtime applications, with Node.js, Bun, and Rust support, plus experimental Python and Swift projects.

How it works

Rivet models an Actor as a keyed, long lived process backed by durable state, a SQLite database or filesystem, a queue, realtime connections, and scheduling. Teams can create one Actor for each agent, session, user, tenant, document, room, or channel. Requests reach Actors through HTTP or WebSocket connections, while Actors can call one another directly. An idle Actor persists its state and releases active resources, then wakes when a request, message, or scheduled alarm arrives. Actor definitions generate client types for end to end type checking, and the React SDK can subscribe components to changing Actor state. The repository also describes workflows, sandboxes, and dynamic applications as Actor types, giving engineers one stateful programming model for several workload patterns.

Architecture and recent releases

The architecture separates backend application code, a control plane, and Actor state storage. The control plane is implemented in Rust and ships as a single binary or container. It handles scheduling, routing, persistence, multi region placement, and Actor networking, with Pegboard, Gasoline, Guard, and Epoxy named in the repository project list. Architecture documentation describes standalone self hosted deployment with filesystem or RocksDB persistence, while repository deployment material names Postgres, FoundationDB, and tiered S3 storage for supported configurations. The releases page shows v2.3.30 published October 20, 2026. GitHub lists 116 releases, while an exact first release date is not stated. Performance figures such as 12 millisecond cold starts and 72 KB per Actor are repository claims.

License and pricing

Rivet uses the Apache-2.0 license. The repository and pricing pages state that the complete open source control plane is self hostable, and that self hosting is free with no usage limits. Rivet Cloud lists Free at $0 per month, Hobby from $20 per month plus usage, and Team from $200 per month plus usage. Metered charges include Awake Actor Hours, state storage, reads, writes, egress, and compute. Enterprise Edition adds options such as FoundationDB persistence, multi tenancy, access controls, backups, air gapped deployments, priority support, service level agreements, and regulated industry guidance. BYOC places the control plane and storage inside the customer's VPC while Rivet manages the deployment. Pricing limits and allowances vary by plan.

Limitations and how it compares

Rivet targets engineers building stateful agent systems, durable workflows, sandboxes, collaborative applications, realtime services, and per user backends. Compared with Kubernetes, Rivet describes Actors as smaller scheduling units with durable state, while Kubernetes schedules pods and requires more surrounding infrastructure. Compared with Cloudflare Durable Objects, Rivet states that it avoids a 128 MB memory cap and 10 GB SQLite limit, supports native Node.js and Bun, and adds connection handling, broadcasting, scheduling, lifecycle hooks, and upgrade control. Compared with Erlang, Akka, and Orleans, Rivet uses a virtual actor pattern closest to Orleans while emphasizing SQLite persistence, multi region routing, and modern runtimes. The tradeoff is selecting or operating the control plane, storage, and deployment model.

Main features

  • Durable Actors. Keyed long lived processes combine durable state, SQLite or filesystem storage, queues, realtime connections, and scheduled work.
  • Actor Networking. Actors support direct HTTP and WebSocket access plus Actor to Actor calls without an intermediate queue or broker.
  • Idle Hibernation. Idle Actors persist state and release active resources, then wake when requests, messages, or scheduled alarms arrive.
  • Multi Region Routing. The control plane places Actors near users and data, then routes requests to each Actor's current location.
  • Typed Client Generation. Actor definitions generate client types so incompatible signature changes can fail during compilation rather than production.
  • Observability Integration. Rivet emits traces, metrics, and structured logs in OpenTelemetry format for collection by existing observability systems.
  • Built In Scheduling. Actors can wake on cron schedules or timestamps without requiring a separate scheduler service.
  • Single Binary Control Plane. The Rust control plane ships as one static binary or container and does not require a Kubernetes operator.

Self-hosting Rivet

Rivet can run locally during development and on infrastructure controlled by the customer in production. The open source control plane ships as a Rust binary or Docker image, with deployment material describing systemd, Kubernetes, VPC, on premises, and air gapped environments. Architecture documentation describes standalone deployment with filesystem or RocksDB persistence, while repository deployment material names Postgres, FoundationDB, and tiered S3 storage for supported configurations. Rivet states that self hosting is free under Apache-2.0 with no usage limits. Teams can use BYOC, where the control plane and storage run inside their VPC while Rivet manages deployment, or use Rivet Cloud for managed infrastructure. Storage choice and operational responsibility remain deployment decisions.

Strengths

  • Actors combine durable state, networking, scheduling, and persistence in one programming model.
  • The control plane is available as a single Rust binary or container for self hosted deployments.
  • Native Node.js and Bun support lets teams retain existing packages, tooling, and tests.
  • Rivet supports cloud, BYOC, fully self hosted, on premises, and air gapped deployment models.

Drawbacks

  • Python and Swift clients are described as experimental in the repository project list.
  • Production deployment still requires selecting and operating an appropriate storage and infrastructure model.

What teams replace with it

Teams usually evaluate Rivet when they want to move off Kubernetes for some stateful Actor orchestration workloads, Cloudflare Durable Objects for some self hosted durable object workloads.

For side-by-side commercial comparisons, browse our alternatives hub.

Open-source alternatives to Rivet

  • Kubernetes
  • Cloudflare Durable Objects
  • Orleans
  • Erlang
  • Akka

Frequently asked questions

What is Rivet?

Rivet is an open source orchestrator for agentic workloads and other stateful applications. It schedules keyed Actors, which are durable processes with persistence, queues, realtime connections, and scheduling. The repository positions Actors for agents, workflows, sandboxes, collaborative applications, and per user or per tenant backends. The control plane is written in Rust and can run through Rivet Cloud or on infrastructure controlled by the operator.

Can Rivet be self hosted?

Yes. Rivet states that the open source release can run in customer infrastructure, including VPC, on premises, and air gapped environments. It is distributed as a Rust binary or Docker image, and deployment material describes filesystem, RocksDB, Postgres, and FoundationDB related paths. Self hosting is free under Apache-2.0 with no usage limits, while Enterprise Edition adds operational and compliance features.

What does Rivet Cloud cost?

The observed pricing pages list Free at $0 per month, Hobby from $20 per month plus usage, and Team from $200 per month plus usage. Paid usage can include Awake Actor Hours, state storage, reads, writes, egress, and compute. The Free plan has stated monthly limits, while Hobby and Team include allowances and meter usage beyond them. Enterprise Edition pricing is described as custom.

How does Rivet compare with Kubernetes?

Rivet schedules Actors rather than Kubernetes pods. Its documentation describes an Actor as a smaller stateful unit with durable state, SQLite or filesystem storage, realtime connections, and scheduling. Rivet also states that it does not require a Kubernetes operator, custom resource definitions, or a service mesh. Kubernetes remains a named alternative when teams need its established pod, node, and cluster model or its wider range of orchestration tooling.

How does Rivet compare with Cloudflare Durable Objects?

Rivet describes itself as an open source alternative that can be self hosted and states that it avoids Durable Objects constraints including a 128 MB memory cap and 10 GB SQLite limit. It runs Actors on native Node.js or Bun rather than a custom runtime. The comparison also names built in connection handling, event broadcasting, durable scheduling, cron, lifecycle hooks, and Actor upgrade control as Rivet capabilities.

Does Rivet use a custom runtime?

No. The repository states that Rivet runs on native Node.js and Bun, and it also supports Rust through its SDK. The stated goal is to let teams use existing packages, tooling, and tests without adopting a custom runtime. The repository lists TypeScript, Rust, Python experimental, and Swift experimental RivetKit projects, while supported runtime descriptions specifically name Node.js, Bun, and Rust.

Similar projects to compare

Sources

Last updated 2026-10-22.