frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Launch HN: Rivet (YC W23) – Scale and Orchestrate Agents on S3

https://github.com/rivet-dev/rivet
17•NathanFlurry•46m ago
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.

As agents grew in popularity, it became clear that running agents in sandboxes is inefficient. Sandboxes are expensive, mostly idle, and slow to start. Developers started using actors because they are far more memory efficient (72 KB baseline for actors vs 512 MB for a minimal sandbox) and fast to start (4.9 ms p99 for actors vs 1.7 s p99 for sandboxes).

For example, Amp is using Rivet to orchestrate multiplayer agents. They originally tried to build on Cloudflare Durable Objects, but couldn’t launch because of the platform’s limitations and unresponsive support. They migrated to Rivet Actors in a weekend and deploy on-prem. Rivet’s flexible architecture lets them adapt it to their own use cases without being constrained by a framework or the memory, storage, and runtime limits of Cloudflare Durable Objects.

Under the hood, Rivet is backed by S3 while maintaining SSD speeds.

Why S3? Previously, Rivet ran on FoundationDB. However, we were surprised to find that companies are storing orders of magnitude more data on Rivet Actors than in Postgres, such as large session transcripts, agent artifacts, and full POSIX filesystems. As their data grew, they had to start paying for SSDs that sat mostly idle with old transcripts. This led us to double down on S3 as our primary storage medium without sacrificing performance. This choice means that data stored on Rivet is 10× cheaper than on EBS gp3 while maintaining SSD speeds.

It’s not as simple as writing data straight to S3. Lots of PUTs for tiny blobs of data are slow and expensive. Instead, we use an SSD tier to optimize speed and cost:

When you write data to an actor’s SQLite database, the write is acknowledged once SSDs in 2 of 3 availability zones have it. Then, the data is batched to S3 in the background. This means that S3 is never on the write path, which lowers latency and cost. When reading data or waking an actor, Rivet reads from SSDs if already cached and falls back to S3 if not. SSD caches can be tuned to meet your needs, giving you configurable tiered storage for your actors.

This architecture lets Rivet provide 1.07 ms durable writes (3 AZ, p99), 1.36 ms reads (p99), and 138 ms reads from object storage (p99).

We’ve spent a lot of time making sure that Rivet can run wherever you need it. Self-hosting requires deploying a single Rust binary with S3 as the only dependency, Rivet Cloud lets you deploy dedicated clusters on AWS or GCP in any region, and BYOC lets us deploy Rivet to your VPC without having to operate it yourself. Rivet also runs identically in local dev as in production, since Rivet is a lightweight binary that runs anywhere

Rivet Actors can be written in TypeScript or Rust. Out of the box, they support agents (Pi Durable), workflows, real-time, multiplayer, running AI-generated code, Durable Streams, and integrations with tools like Vercel’s Eve and Turso. See all of our available guides, or point your agent at them: https://rivet.dev/docs/#guides

Try it out now, by reading our quickstart guides (https://rivet.dev/docs/) or ask your agent: “Run npx skills add rivet-dev/skills, then build a multiplayer chat agent and run it locally.”

We’d love to get feedback on your experience with Rivet! We’re deeply invested in making Rivet an easy-to-self-host, flexible, and efficient way to run agentic workloads.

GitHub: https://github.com/rivet-dev/rivet

Architecture: https://rivet.dev/docs/architecture/

Benchmarks: https://rivet.dev/docs/benchmarking/

Self-hosting: https://rivet.dev/docs/deploy/self-host/

Comments

fastball•37m ago
Rivet is very cool. Switched a Cloudflare Durable Object piece of our infrastructure that lived in its own little fairy tale land to our own infra that could exist easily in the rest of our VPC. Was a very pleasant experience.

Haven't had the change to try Rivet v3 yet but hoping to get the chance soon.

NathanFlurry•24m ago
Appreciate the kind words, would love to hear feedback on v3 in our Discord when you upgrade!
apsurd•19m ago
Wouldn't an agent in any capacity need a sandbox runtime to do agentic work? When you say "sandboxes are too slow" do you mean needing to boot the sandbox to get back Agent state? Is the idea that state/memory/context and runtime env are separate concepts in rivet?

(I'm a professional developer but don't do any orchestration so trying to understand from basic mental model pov)

k9294•2m ago
There is a notion right now of decoupling the agent loop from the sandbox, so the sandbox isn't waiting for request-response from the agent. This would probably be 90+% of all the agent work.

If you combine this with products like Sprites from Fly.io (or OSS version - agent substrate), where you pay only per execution request in a sandbox, you can have huge savings compare to the event loop inside the sanbdox. You will be billed only for request executions (tens of milliseconds per read/write, hundreds of milliseconds per search, etc.) and zero for all the waiting time during the the inference phase.

Also, if you don't require a real Linux sandbox — you might actually emulate the environment, e.g. just-bash idea with linux-like environment to give agents something that looks like their native habitat, but under the hood, it can be just CF Durable Objects SQLite or whatever else.

Probably(?) almost all knowledge work doesn't require a Linux sandbox. You can just build a document reading and editing agent that does tool calls and connects to other products via MCPs, APIs, etc. And lightweight actors make a lot of sense to me in these cases.

realty_geek•8m ago
Ah, another rivet. I initially thought it was a pivot of:

https://rivet.ironcladapp.com/

NathanFlurry•4m ago
<insert spiderman meme here>

Show HN: A terminal viewer for plain text data files (JSON,YAML,CSV,XML,)

https://aless.tabnas.dev/
1•rjrodger•1m ago•0 comments

Does SpiritFone Work?

http://spirititc.org/2026/10/19/spiritfone-spirit-acknowledges-they-are-listening-to-me/
1•pkshadygrove•1m ago•0 comments

Show HN: PitchFlip – Silicon Valley origin stories as flipbooks

https://pitchflip.shiptiffin.app
1•bilater•2m ago•0 comments

TeXmacs Upsilon

https://mgubi.github.io/texmacs/
1•remywang•3m ago•0 comments

Personal Finance in Claude

https://claude.com/resources/articles/introducing-personal-finance-in-claude
2•louiereederson•3m ago•0 comments

Nasdaq Sinks 5% as Investors Retreat from AI Trade After Election

https://www.wsj.com/livecoverage/stock-market-today-dow-sp-500-nasdaq-11-05-2026
5•armcat•4m ago•1 comments

HackerBuys – Products recommendations from HN comments

https://hn.shellbear.me/
1•shellbear•5m ago•1 comments

I abused agent swarms to collect all your data (how to make it work)

https://www.tinyfish.ai/blog/inside-tinyset
2•gargigupta•5m ago•1 comments

Homeport – a Mac app that runs your dev servers by project

https://gethomeport.app/
1•elmadah•5m ago•0 comments

Show HN: Markdown OKF-Schema Studio for VS Code

https://github.com/gsemet/markdown-okf-schema-studio
1•gsemet•10m ago•0 comments

How the *sshole vulnerability came to be

https://twitter.com/JonathanBeuys/status/2118400999651946919
1•JonathanBeuys•11m ago•0 comments

Show HN: Paste your MCP config, see what each server does at startup

https://mcp.brydge-ai.com/paste.html
1•DevanshKontey•11m ago•0 comments

AI e-nose and wearable device deliver programmable smells with 73% accuracy

https://news.osu.edu/new-tech-passes-the-smell-test/
2•giuliomagnifico•13m ago•1 comments

Kevin Mitnick – The Art of Intrusion (2005)

https://archive.org/details/pdfy-xiVfICtkDwD1k90A
1•joebig•13m ago•0 comments

Testing Tracing Locally with OpenTelemetry (OTel)

https://blog.apartment304.com/otel-telemetry-testing/
1•selljamhere•13m ago•0 comments

Mbx – shared cargo builds across worktrees

https://github.com/jdx/mr-boxington
1•tarr11•15m ago•1 comments

Ask HN: How to verify response generated by AI in API response quickly

2•mehtahet619•16m ago•1 comments

President of Paraguay resigns amid crisis over bank collapse

https://www.cnn.com/2026/11/05/americas/president-paraguay-resigns-latam-intl
4•randycupertino•18m ago•0 comments

Benchmarking Decision Models on the Test of Proficiency in Korean (Topik)

https://rickcarlino.com/notes/korean-language/topik-bench-measuring-korean-ability-of-decision-mo...
3•rickcarlino•18m ago•0 comments

Declarative Dragging

https://declarative-dragging.github.io/
3•birdculture•18m ago•0 comments

William Nordhaus, favourite economist of the right and the left

https://www.economist.com/finance-and-economics/2026/11/05/william-nordhaus-favourite-economist-o...
2•donchuru•19m ago•0 comments

Show HN: Sanctuary – Offline LLM Running on Apple Silicon Metal (iOS)

https://testflight.apple.com/join/Z51G6g5G
3•AryanDinakaran1•19m ago•0 comments

How to discuss latency in system design interviews

https://interviewing.io/blog/how-to-discuss-latency-in-system-design-interviews
3•leeny•20m ago•0 comments

Perplexity Team Mates

https://www.perplexity.ai/hub/products/teammate
2•sidcool•20m ago•0 comments

Show HN: I made a tool that turns your Google Search Console data IN public page

2•sohaill•21m ago•0 comments

Show HN: I built a feed of the best minutes of long interviews

https://realalpha.app/
1•rushabhsheth•21m ago•0 comments

What to Kill in Your Engineering Org This Quarter

https://irfan.build/blog/what-to-kill-engineering-org
1•jphorism•23m ago•0 comments

Show HN: Tokenfund – back open source with your coding agent's tokens, not money

https://tokenfund.myclawn.com
1•myclawn•24m ago•0 comments

Hermes-Voice: Talk to a Hermes Agent Profile Through Home Assistant Assist

https://github.com/majorminorlabs/hermes-voice
1•thunderbong•26m ago•0 comments

Compilers for Machine Learning at CMU by George Hotz

https://10-411.com/
2•skadamat•26m ago•0 comments