Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3 github.com · 28 p...

@best

Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3 github.com · 28 points · 18 comments · HN thread

TL;DR Rivet (YC W23) is an open-source, self-hostable orchestrator that runs each agent, session, or user as a lightweight 'actor' with in-memory state and a per-actor SQLite database, instead of a full sandbox per agent. The launch post claims 72 KB memory and 4.99 ms p99 cold starts per actor versus 512 MiB and 1.7 s for a minimal sandbox, and it stores actor data on S3 with an SSD write tier so S3 is off the write path. The thread is mostly founder replies to questions about how Rivet differs from sandboxes and Cloudflare Durable Objects, with light skepticism about agent workloads and UX.

  • Each Rivet Actor is a long-lived process with in-memory state, a SQLite database, WebSockets, scheduling, and hibernation when idle, addressed by key; it is positioned as a self-hostable alternative to Cloudflare Durable Objects.
  • Claimed benchmarks: 72.4 KB per actor vs 512 MiB for a minimal sandbox; 4.99 ms p99 cold start vs 1.70 s; 1.07 ms durable writes and 1.36 ms reads at p99; 138 ms reads from object storage at p99.
  • Storage design: writes are acknowledged once SSDs in 2 of 3 availability zones have them, then batched to S3 in the background; reads hit SSD cache first and fall back to S3.
  • Claimed cost: S3 Standard storage is about 10.4× cheaper than three replicated EBS gp3 copies at AWS list prices, excluding request and transfer costs.
  • Deployment options: self-host as a single Rust binary with S3 as the only dependency, Rivet Cloud dedicated clusters on AWS or GCP, or BYOC inside the customer's VPC; Apache 2.0 licensed.
  • Languages and runtimes: TypeScript or Rust on plain Node.js or Bun, with guides for agents, workflows, realtime chat, games, and an agentOS sandbox for running agent-written code.

Links in the post

  • Rivet homepage: Product landing page describing Rivet Actors, deployment options, benchmarks, and FAQs on the self-hosted, cloud, and BYOC offerings.
  • Rivet video walkthrough: Video walkthrough of Rivet linked from the launch post; the page content captured here is only YouTube site boilerplate, so the video itself was not read.
  • Rivet docs guides index: Guide index with code samples and categories for agents, coding agents, workflows, realtime apps, databases, games, and concepts.
  • Rivet documentation: Quickstart docs with install steps and examples: a chat room actor, a workflow, the agentOS VM client, and durable streams.
  • Rivet architecture: Explains the three parts of Rivet: object storage, the control plane that schedules and routes actors, and nodes that run user code, plus tiered SSD and S3 storage.

Discussion The thread is short and mostly consists of the founder, Nathan, answering questions. Early commenters were friendly, with one user reporting they moved a Cloudflare Durable Object workload into their own VPC. The main substantive exchange asks whether agents need sandboxes at all: the founder says developers use three patterns (agents with only tools, agents with a lightweight V8/WebAssembly sandbox, and agents whose harness runs outside the sandbox), and that cold starts are the bottleneck for interactive agents. Other questions probed how the S3-backed durability works at sub-hundred-millisecond latency, how it compares to the celld project, and whether it is useful beyond agents. One commenter criticized the confusing UX, and another remarked that the name overlaps with an existing product. The mood is curious and mostly positive, with a few skeptical questions.

  • Sandboxes are wasteful for many agents; lightweight actors fit better (some): Commenters agree that most agent time is spent waiting on the model, so sandboxes sitting idle are costly. One commenter suggests decoupling the agent loop from the sandbox and paying only for execution requests, and notes many knowledge-work agents need no real Linux sandbox.
  • Agents still need a sandbox for real work (some): A commenter asks whether any agentic work can avoid a sandbox runtime and whether state and runtime environment are separate concepts. The founder answers that Rivet supports three patterns, including keeping the harness outside the sandbox for blast-radius and trust reasons.
  • Rivet is useful as general TypeScript actors, not only for agents (some): One commenter wants self-hostable Node actors without agents, comparing it to Akka. The founder replies that Rivet is pure actors at its core, with the agent library as an optional layer.
  • Positive first-hand experience moving off Cloudflare Durable Objects (a few): A user reports moving a Durable Object workload into their own VPC and finding it pleasant, and plans to try Rivet v3 later.
  • Unclear UX and edge cases (a few): A user says their coding agent was confused about how to use Rivet and what the edge cases are, pointing to the onboarding experience as a weakness.
  • Skepticism about S3-backed latency and comparison to celld (a few): Commenters ask how S3-backed durability can stay under a few hundred milliseconds and how the design differs from celld. The founder says the design uses an SSD tiered engine rather than an object per actor.

Links from the comments

#agents #actors #serverless #storage #selfHosted #typescript