2026-11-26 15:48 UTC

Rivet launches self-hostable actor infrastructure for persistent AI agents

state: significantheat: lowuncertainty: mediumrelevance: highagent-infrastructure agent-orchestration open-sourceRivetNathan FlurryNicholas

What is this?

On November 6, 2026, Rivet co-founders Nathan Flurry and Nicholas announced Rivet Actors on Hacker News and pointed developers to the project’s GitHub repository. Rivet is an open-source, Apache 2.0 actor-based orchestrator: each agent or session can run as a lightweight, long-lived process with in-memory context, SQLite persistence, realtime connections and scheduling. Its design batches writes through SSDs and backs durable data with object storage such as S3, rather than allocating a heavyweight sandbox for every agent. Rivet says it is self-hostable and also offers managed-cloud and BYOC deployment options. The announcement and project materials are first-party claims; the supplied sources contain no independent performance verification or adoption evidence.

Why it matters

The release offers developers a potentially lower-overhead way to build durable, realtime agent applications, with deployment and data-control choices. Those possibilities are significant even though the claimed benchmarks and broader production impact remain unverified.

Current assessment

Rivet has released an Apache 2.0, self-hostable actor-based orchestrator for agentic workloads, with local, managed-cloud and BYOC deployment options and TypeScript/Rust support. Actors are long-lived processes with in-memory state, SQLite persistence, realtime connections and scheduling; the design uses shared processes rather than a sandbox per actor and backs durable storage with object storage such as S3. Rivet publishes low per-actor memory and fast-start/write/read benchmarks, but exact figures vary across its materials and remain company claims without independent verification here. The launch materials describe a customer migration and prior large-scale game infrastructure, also company-provided claims. Actors can support persistent and realtime agent applications, but do not provide sandbox-equivalent isolation for running untrusted generated code; Rivet presents agentOS separately for that purpose. Production performance across workloads, security properties and broader adoption remain unresolved. The launch discussion has cooled, and its engagement changes do not constitute new evidence.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady1 platformsage 502h
points/hour across evidence Β· reading as of 2026-11-27 02:23:58.509736+11:00 Β· deterministic, not a model opinion

How the heat travelled

11-05 17:17⭐ origin directly observedLaunch HN: Rivet (YC F25) – Scale and Orchestrate Agents on S3
NathanFlurry on hacker news
β€”
11-05 17:17amplified on hacker news πŸ‘‘hn.story.50381687
NathanFlurry
peak 123 Β· 60 comments Β· 100% of case engagement
11-05 17:20our radar first saw it Β· +0.1hdiscovery anchor: hn.story.50381687β€”
pace: p83 vs 1845 stories at the 336h mark (now 502h old) β€” ahead of carbon-x-dna-language-model-release (1.0x), behind snapdragon-x-q4-flash-next-inference (1.0x)

Evidence (1) β€” ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hn ⭐Launch HN: Rivet (YC F25) – Scale and Orchestrate Agents on S3
Retrieved article excerpt

Open article Β· Retrieved 2026-11-05T17:22:03.739412+00:00

[Rivet](https://www.rivet.dev)
  
  

### Fast, high-density, scalable orchestration for agentic workloads.

Instead of a heavyweight sandbox per agent, each agent gets a lightweight Rivet Actor backed by S3.  
4.99 ms p99 cold starts and 72 KB per Actor. Open source and self-hostable.

[Quickstart](https://www.rivet.dev/docs) β€’
[Documentation](https://www.rivet.dev/actors/docs) β€’
[Changelog](https://www.rivet.dev/changelog) β€’
[Discord](https://www.rivet.dev/discord) β€’
[X](https://x.com/rivet_dev)

## Getting Started

|  |  |
| --- | --- |
| Use with Your Coding Agent  Give your coding agent the Rivet skills to create examples or integrate into existing projects:  ``` npx skills add rivet-dev/skills ```  Works with Claude Code, Cursor, Windsurf, and other AI coding tools. | Start From Scratch   - [Node.js & Bun](https://www.rivet.dev/actors/docs/quickstart/backend) - [React](https://www.rivet.dev/actors/docs/quickstart/react) - [Next.js](https://www.rivet.dev/actors/docs/quickstart/next-js) - [Rust](https://www.rivet.dev/actors/docs/quickstart/rust) - [Effect](https://www.rivet.dev/actors/docs/quickstart/effect)   [View documentation β†’](https://www.rivet.dev/docs) |

## What is Rivet?

Rivet is an orchestrator for agentic workloads built on the actor model. Each Rivet Actor is a long-lived process with in-memory state, a SQLite database, WebSockets for realtime, and scheduling, addressed by key. Create one per agent, session, user, or tenant, and run it on plain Node.js, Bun, or Rust.

- **72 KB per Actor**: Actors share a node process instead of each booting a sandbox, so one server holds hundreds of thousands.
- **4.99 ms p99 cold starts**: No image pull and no VM boot.
- **SQLite backed by S3, at SSD speeds**: 1.07 ms durable writes and 1.36 ms reads at p99, for about 10.4Γ— less than replicated SSD storage.
- **Hibernates when idle**: Idle Actors cost nothing and wake on the next request with nothing lost.

**Backend**

```
import { actor } from "rivetkit";
import { db } from "rivetkit/db";

const agent = actor({
  // Per-Actor SQLite database, persisted across restarts and hibernation
  db: db({
    onMigrate: async (db) => {
      // Apply the SQLite schema
      await db.execute(`CREATE TABLE IF NOT EXISTS messages (role TEXT, content TEXT)`);
    },
  }),

  actions: {
    chat: async (c, text: string) => {
      // Durably save the message
      await c.db.execute("INSERT INTO messages VALUES (?, ?)", "user", text);
      const messages = await c.db.execute("SELECT role, content FROM messages");

      const response = streamText({ model: openai("gpt-5"), messages });

      // Stream tokens to every connected client for multiplayer
      for await (const delta of response.textStream) {
        c.broadcast("token", delta);
      }

      // Durably save the response
      await c.db.execute("INSERT INTO messages VALUES (?, ?)", "assistant", await response.text);
    },
  },
});
```

**Client** (frontend or backend)

```
// Connect to an Actor
const agent = client.agent.getOrCreate("agent-123").connect();

// Listen for realtime events
agent.on("token", delta => process.stdout.write(delta));

// Call an action on the Actor
await agent.chat("how many r's in strawberry?");
```

## Actor types

Every product Rivet ships is an Actor, scheduled by the same control plane.

- **[Actors](https://www.rivet.dev/actors/docs)**: Long-lived processes with state, realtime, and scheduling built in.
- **[Agents](https://www.rivet.dev/agents/docs)**: A durable process per agent, with memory that survives restarts.
- **[Workflows](https://www.rivet.dev/workflows/docs)**: Multi-step operations that replay instead of starting over.
- **[agentOS](https://www.rivet.dev/agentos/docs)**: Run the code your agent writes, securely, with granular control over network access, filesystem access, and resource limits.
- **[Dynamic Apps](https://www.rivet.dev/dynamic-apps/docs)** (preview): A backend per user, deployed the moment it is generated.

## Built for everything agents need

- **Coding agents**: One Actor per agent, with a durable process and state that survives restarts.
- **Agent app builders**: Each generated backend deploys as its own Actor that scales to zero.
- **Agents in your VPC**: Run agents next to your databases and APIs, so no data leaves your cloud.
- **Realtime apps**: One Actor per document, room, or channel, broadcasting changes to every client.

## How Actors compare to sandboxes

|  | Rivet Actor | Sandbox |
| --- | --- | --- |
| **Cold start (p99)** | **4.99 ms** | 1.70 s |
| **Memory per instance** | **72.4 KB** | 512 MiB |
| **Storage** | **SQLite backed by S3**, about 10.4Γ— cheaper than replicated SSDs | Disk per sandbox |


Benchmark details & methodology

- **Rivet numbers** come from the published [Rivet Actors vs Cloudflare Durable Objects benchmark](https://github.com/rivet-dev/bench-rivet-actors-vs-durable-objects), run on Rivet 3.0.3. Its repository has the raw samples and the scripts to reproduce them.
- **Sandbox numbers** are a documented default memory allocation and a third-party cold start benchmark.
- **Storage cost** compares S3 Standard with three Amazon EBS gp3 copies at AWS list prices.
- Sources, dates, and the full method are at [rivet.dev/docs/benchmarking](https://www.rivet.dev/docs/benchmarking/).

## Features

- **Fault tolerance**: If a node goes down, its Actors move elsewhere with their state intact.
- **HTTP & WebSocket networking**: Call an Actor over HTTP or hold a live WebSocket to it.
- **End-to-end type safety**: Typed clients for your backend and React hooks for your frontend.
- **Cron & scheduling**: Wake an Actor on a schedule or at a time it sets for itself.
- **Actor-to-Actor calls**: Actors call each other by key across the cluster.
- **OpenTelemetry**: Traces, metrics, and logs in OTel format.

## Deployment Options

|  |  |  |
| --- | --- | --- |
| Local & Self-Host  Run Rivet locally while you build. In production, run the control plane on Docker, Kubernetes, or a VM on AWS, GCP, Azure, or Hetzner. S3 is the only dependency.  ``` npm install rivetkit ```  [Open the quickstart β†’](https://www.rivet.dev/actors/docs/quickstart/backend) [Read self-hosting docs β†’](https://www.rivet.dev/docs/deploy/self-host/control-plane/) | Rivet Cloud  Fully managed, dedicated clusters on AWS or GCP in any region. Run your nodes on Rivet Cloud or bring your own.  [Get started with Rivet Cloud β†’](https://dashboard.rivet.dev) | BYOC  Run the control plane inside your own VPC on AWS, GCP, or Azure, fully managed by Rivet. Your data never leaves your cloud.  [Read the BYOC docs β†’](https://www.rivet.dev/docs/deploy/byoc/) |

Every option runs the same control plane, from local dev to production. [Talk to an engineer β†’](https://www.rivet.dev/talk-to-an-engineer)

## Works with the tools you already use

Typed SDKs for your backend and React hooks for your frontend. Rivet runs on native Node.js and Bun with no custom runtime, so your existing packages, tooling, and tests work unchanged.

**Deploy nodes on**: [Docker Compose](https://www.rivet.dev/docs/deploy/self-host/nodes/docker-compose/) β€’ [Kubernetes](https://www.rivet.dev/docs/deploy/self-host/nodes/kubernetes/) β€’ [VM & bare metal](https://www.rivet.dev/docs/deploy/self-host/nodes/vm/) β€’ [Hetzner](https://www.rivet.dev/docs/deploy/self-host/nodes/hetzner/) β€’ [AWS ECS](https://www.rivet.dev/docs/deploy/self-host/nodes/aws-ecs/) β€’ [Railway](https://www.rivet.dev/docs/deploy/self-host/nodes/railway/) β€’ [Render](https://www.rivet.dev/docs/deploy/self-host/nodes/render/)

**Frameworks**: [React](https://www.rivet.dev/actors/docs/clients/react) β€’ [Effect](https://github.com/rivet-dev/rivet/blob/main/examples/ai-agent-effect)

**Runtimes**: [Node.js](https://www.rivet.dev/actors/docs/quickstart/backend) β€’ [Bun](https://www.rivet.dev/actors/docs/quickstart/backend) β€’ [Rust](https://www.rivet.dev/actors/docs/quickstart/rust)

**Tools**: [Vitest](https://www.rivet.dev/actors/docs/testing) β€’ [OpenTelemetry](https://www.rivet.dev/actors/docs/general/tracing) β€’ [Pino](https://www.rivet.dev/actors/docs/general/logging) β€’ [AI SDK](https://github.com/rivet-dev/rivet/blob/main/examples/ai-agent) β€’ [OpenAPI](https://github.com/rivet-dev/rivet/blob/main/rivetkit-openapi) β€’ [AsyncAPI](https://github.com/rivet-dev/rivet/blob/main/rivetkit-asyncapi)

[Request an integration β†’](https://github.com/rivet-dev/rivet/issues/new)

## FAQ

**Does Rivet have BYOC?**

Yes. Rivet deploys into your own cloud account, including air-gapped environments: the control plane and storage run inside your VPC while Rivet operates them. See the [BYOC docs](https://www.rivet.dev/docs/deploy/byoc/).


**Does Rivet have a cloud?**

Yes. [Rivet Cloud](https://dashboard.rivet.dev) runs fully managed, dedicated clusters on AWS or GCP in any region. It can run your app's Docker image as [nodes on Rivet Cloud](https://www.rivet.dev/docs/deploy/cloud/compute/), or you can [bring your own nodes](https://www.rivet.dev/docs/deploy/self-host/nodes/).


**Can I self-host Rivet?**

Yes. Rivet is fully self-hostable; see the [self-hosting docs](https://www.rivet.dev/docs/deploy/self-host/control-plane/). The control plane runs anywhere a container runs, with guides for Docker Compose, Kubernetes, VMs and bare metal, Hetzner, Railway, Render, and AWS ECS. For enterprise support with a self-hosted deployment, [contact us](https://www.rivet.dev/enterprise/).


**Do I still need Postgres, FoundationDB, or NATS?**

No. An object storage bucket is the only dependency: there is no database to run and no message bus, and control plane instances find each other through the bucket. Rivet works with Amazon S3, Google Cloud Storage, Azure Blob Storage, and any S3-compatible store such as MinIO, Cloudflare R2, or Hetzner Object Storage. A local filesystem backend is available for trying Rivet on one machine.


**Is Rivet open-source?**

Yes. Rivet is open source under the permissive Apache 2.0 license. You're looking at it.


**How does Rivet compare to sandboxes?**

A sandbox boots a VM or container per agent, which is slow to start and sits mostly idle. A Rivet Actor runs inside a shared node process: 72 KB and 4.99 ms p99 to start, versus 512 MiB and 1.70 s for a sandbox, and it hibernates when idle. To run untrusted code your agent writes, use [agentOS](https://www.rivet.dev/agentos/docs).


**How does Rivet compare to Cloudflare Durable Objects?**

Rivet is often used as an open-source alternative to Cloudflare Durable Objects that is easy to self-host and scales. It also fixes many of the constraints of Durable Objects: no 128 MB memory cap, bottomless storage instead of a 10 GB SQLite limit, Actors are not randomly evicted, and you control the runtime because Actors run on vanilla Node.js or Bun instead of a custom runtime. Rivet also adds built-in connection handling, event broadcasting, durable scheduling and cron, full Vitest support, lifecycle hooks for draining, and control over Actor upgrades. See the [Cloudflare Durable Objects comparison](https://www.rivet.dev/actors/compare/rivet-actors-vs-cloudflare-durable-objects/).


**Does Rivet use a custom V8 runtime?**

No. Rivet runs on native Node.js and Bun, so your existing packages, tooling, and tests work unchanged.


**Is Rivet like Erlang, Akka, or Orleans?**

Rivet implements the virtual actor pattern, which is closest to Orleans, but focuses on what modern workloads need: SQLite persistence instead of simple JSON stores and support for modern runtimes. Erlang and Akka do not provide virtual actors out of the box, though ecosystem packages exist that offer functionality comparable to Rivet Actors.


**Does Rivet require microVMs, gVisor, or nested virtualization?**

No. Rivet only needs a standard process that connects to the control plane over WebSocket. That process can be Node.js, Bun, Rust, or anything else.

## Projects in This Repository

| Project | Description |
| --- | --- |
| [RivetKit TypeS
NathanFlurry12360

Interpretation history

Decision trace