
Nathan Flurry ๐ฉ
@NathanFlurryThe actor guy. DMs open. Founder @rivet_dev (YC W23 & Speedrun) https://git.new/rivet + https://git.new/agent-os
- Followers
- 10.2KFollowing 2.9K
- Typical Views
- 3.9K30d ยท 61 posts29/7d
- Bookmark %
- 0.9%Like 1.3%Eng. 2.2%
- 30d Breakout Hits
- 17Peak 20.5ร
Shipped Products
3ActorCore
MakerFreeRivet is a library for long-lived processes with durable state, realtime, and scalability. Easily self-hostable and works with your infrastructure.
3-Day Follower Growth
Hover to inspect daily follower changes
Content Format Mix
14-Week Posting Cadence
- 14w Posts
- 61
- Active Days
- 14/15
- Active Weeks
- 3/3
- Avg / Week
- 28.5
- Peak Day
- 8
- Peak Day/Wk
- Fri
quick tip we learned the hard way @ rivet:
jev does not reason
...which is by design
...and we should have rtfm first
~
we started by prompt-engineer to ask something like:
``` ๐๐๐๐๐๐๐๐ข = ๐๐๐( "๐๐๐๐ ๐๐ ๐๐๐ ๐๐๐๐๐๐๐๐ข ๐๐ ๐๐๐๐ ๐๐๐๐๐. ๐๐๐ ๐๐ก๐๐๐๐๐, ๐๐๐-๐ท ๐๐ ๐, ๐๐๐-๐ธ ๐๐ ๐, ๐๐๐-๐น ๐๐ ๐, ๐๐๐", ๐๐๐๐๐๐๐=[๐๐ด๐ ๐ท, ๐๐ด๐ ๐ธ, ๐๐ด๐ ๐น, ๐๐ด๐ ๐บ] ) ๐๐๐๐๐๐ ๐๐๐๐๐๐๐๐ข ```
normally, an llm would spend reasoning tokens to come to a descent conclusion
but doing this with jev gives meh results, and defeats what makes jev awesome
~
after rtfm, we split it up in to tiny prompts like this:
``` ๐๐_๐๐๐ ๐ = ๐๐๐("๐ณ๐๐ ๐๐๐๐๐ ๐๐๐๐๐๐๐๐๐๐ ๐๐๐๐๐๐๐ ๐๐ ๐๐๐ ๐ ๐๐ ๐๐๐๐๐๐ ๐๐๐๐๐๐๐๐?")
๐๐_๐๐๐๐๐๐๐ = ๐๐๐("๐ฐ๐๐ ๐๐๐๐ข ๐๐๐๐๐๐๐ ๐ ๐๐๐ ๐๐ ๐ ๐๐๐๐๐๐๐๐๐?")
๐๐_๐๐๐๐๐๐ = ๐๐๐("๐ธ๐ ๐๐๐๐๐๐๐๐๐ ๐๐ ๐๐๐๐๐ ๐๐๐๐๐๐ ๐๐ ๐๐๐๐๐๐๐?")
๐๐ (๐๐_๐๐๐๐๐๐๐) ๐๐๐๐๐๐ ๐๐ด๐ ๐ท ๐๐ (๐๐_๐๐๐ ๐) ๐๐๐๐๐๐ ๐๐ด๐ ๐ธ ๐๐ (๐๐_๐๐๐๐๐๐) ๐๐๐๐๐๐ ๐๐ด๐ ๐น ๐๐๐๐๐๐ ๐๐ด๐ ๐บ ```
which works like a charm
(example screenshot of real-world classifier below)
~
any time we find a ticket that isn't weighted well:
- we give the ticket to an llm with what we expected - llm adds it to a test suite - llm adjusts decision logic - backtests new decision logic on old issues
within a few tickets the classifier logic was really solid
~
this is a feature of jev, not a limitation
in practice, it gives more control over how each decision is weighed than a generic llm
which makes it easier to reason about, monitor, and back test how agents will behave
~
for reference, this is how many jev questions we ask for a few of our classifiers in our internal support tool:
support classification and customer status: 13 severity: 6 team replies and problem identification: 6 follow-up timing: 6 linked dependencies and later conversations: 4 addressed teammate: 2 conversation grouping: 2
~
all that to say, jev is awesome
rex vs herdr desktop first impressions (1 hour in)
herdr: - feels more customizable (afaik its just electron) - onboarding is basic, but worked flawlessly - mobile basic but it works
rex: - feels fast (no electron) - clean native ui - great onboarding, but agent could not figure out connecting to my vm - still working on trying mobile
both migrated my existing tmux / herdr configs, i did have to rewrite my herdr plugins though
dropping ghostty/termius is a big jump, let's see how it holds up
Code Mode benchmarks:
- Lua is the ๐ for tiny scripts - V8 the ๐ for complex / data-heavy scripts - QuickJS is, in fact, quick for very simple scripts - Embedded JS isolates are better than standalone processes - dash > bash - LuaJIT only makes sense for complex scripts - Lua needs many C exts to be fast (e.g. JSON parsing)
What other languages / runtimes should I bench?
~
These benchmarks are most relevant when separating the harness from the sandbox, since Code Mode is running inside the harness.
When there are hundreds of agents running on a single machine, the cost of the dynamic code execution will be a large portion of compute resources.
That said, you probably won't be able to tell a huge difference when using < 10 MB of RAM and < 50 ms time to response in practice.
~
Embedded vs Processes:
Embedded languages work as a library inside your existing process. This tends to amortize your memory & cold starts.
~
Optimizations:
There's plenty of optimizations that can be made across the board, such as:
- Prewarming VMs - Process & VM forking
~
Sandboxing:
Per-process will require some sort of jailing / sandobxing to run securely.
Embedded languages can be risky to trust for sandboxing without extensive security review for things like Spectre & access to stdlibs.
~
Benches attached in thread. There's loads of other more experimental languages & runtime I want to bench too.
Today, we're introducing OpenOrange.
Run Cloudflare Workers, Durable Objects, Workflows, etc on any cloud.
๐ No-downtime migrations, no code changes ๐ 4.8ร cheaper compute, 8.7ร cheaper storage ๐ No runtime limits, just Node/Bun ๐ AWS, GCP, Azure, Rivet Cloud, your servers
i regret to inform you that Microsoft's RDP is still king
- free - resizes to your client's screen size (mobile & desktop) - great headless linux server (xrdp) - great ios & mac client (by Microsoft) - great for hitl computer use / browser use - works with agent-browser cli for hitl - it all just worksโข - use over tailscale
RustDesk and Parsec are faster in some situations, but their clients never felt as fluid as Microsoft's apps
OpenOrange vs celld
34.8x lower S3 costs for agent workloads
This is made possible by building OpenOrange on Rivet's storage engine. We've spent years scaling the actor model, and Rivet's storage engine was built for this.
celld's architecture balloons costs for:
- Agents - Workflows - Background jobs - Session stores
~
Why?
First, a primer on running databases on S3.
S3 is cheap for storing data. It's about 10x cheaper than AWS EBS replicated across 3 availability zones:
$0.023 vs $0.24 per GB per month
But it gets expensive once you actually operate on that data. Writing one object every second for a month costs:
AWS EBS ~$0 S3 $13
This is because S3 charges per operation, while AWS EBS charges for how much you store and for how long:
PUT costs $5 per million LIST costs $5 per million COPY costs $5 per million GET costs $0.40 per million
On AWS EBS, these operations are effectively free.
The catch is that the number of operations scales with how many objects you have. Every object has to be written with its own PUT, so 1,000 objects cost 1,000 PUTs. Pack the same data into one object and it costs one.
~
So why is celld so expensive?
celld stores each Durable Object as its own S3 objects. So the more Durable Objects you create, the more objects you have, and the more you pay.
Every new Durable Object costs PUTs to its own objects: claiming it, then saving it when it goes to sleep. That's ~4 PUTs and 1 GET per Durable Object in our benchmark.
If you have a fixed number of Durable Objects, this cost is reasonable. But if you're constantly creating new ones, your cost grows with every one.
And agents tend to be high churn. Some agents work for days, but most do a quick, discrete task and never get used again.
These types of workloads suffer, since they frequently create new Durable Objects:
- Agents - Workflows - Background jobs - Multiplayer game rooms - Chat rooms - Per-user sessions - Rate limiting
~
So how does OpenOrange stay so cheap?
Rivet's storage engine is built on an LSM tree (log-structured merge tree). It's the same idea behind mature S3-backed databases like ClickHouse, used to keep performance high and cost low.
Instead of giving each Durable Object (called Actors on Rivet) its own S3 objects, Rivet's LSM packs many of them into shared S3 objects.
Here's how PUTs compare per 1,000 new Durable Objects:
- OpenOrange ~90 - celld ~4,000
When you create a Durable Object or write to SQLite on OpenOrange:
1. The write is replicated to SSDs across 3 availability zones (single-digit ms) 2. After about a minute, writes from many Durable Objects are merged into one batch 3. That batch is written to S3 as one object
~
These benchmarks are modeled on real-world agent workloads, measured at 8 to 25,000 concurrent agents. Each agent lives 60 seconds and writes a turn every 10 seconds. We only measured S3 cost, and both ran on identical hardware.
~
OpenOrange is open source today.
We've attached the benchmarks below.
Rex is the only recent software I've seen adopt Lua > JS
(Roblox & Redis & Nginx are old guard)
I figure it comes down to:
Lua lacks NPM's ecosystem โ but AI can write its own libraries now
Lua lacks mainstream TypeScript-like typing โ but AI doesn't need to be hand held with types anymore (hot take)
Poor standard library โ requires many extensions for basic functionality (e.g. JSON, networking)
Cloudflare & Vercel push JS โ CF Code Mode / Workers has better tooling
Takes more tokens than JS โ but tokens are cheaper & faster now
JS has more training data โ but AI writes Lua perfectly now
Code Mode benchmarks:
- Lua is the ๐ for tiny scripts - V8 the ๐ for complex / data-heavy scripts - QuickJS is, in fact, quick for very simple scripts - Embedded JS isolates are better than standalone processes - dash > bash - LuaJIT only makes sense for complex scripts - Lua needs many C exts to be fast (e.g. JSON parsing)
What other languages / runtimes should I bench?
~
These benchmarks are most relevant when separating the harness from the sandbox, since Code Mode is running inside the harness.
When there are hundreds of agents running on a single machine, the cost of the dynamic code execution will be a large portion of compute resources.
That said, you probably won't be able to tell a huge difference when using < 10 MB of RAM and < 50 ms time to response in practice.
~
Embedded vs Processes:
Embedded languages work as a library inside your existing process. This tends to amortize your memory & cold starts.
~
Optimizations:
There's plenty of optimizations that can be made across the board, such as:
- Prewarming VMs - Process & VM forking
~
Sandboxing:
Per-process will require some sort of jailing / sandobxing to run securely.
Embedded languages can be risky to trust for sandboxing without extensive security review for things like Spectre & access to stdlibs.
~
Benches attached in thread. There's loads of other more experimental languages & runtime I want to bench too.
i'd put money down the future of Rex is:
- a browser - just-in-time software
it's such a fluid experience to say "open this file" and it opens a neovim tab or "visualize this" all inline
my biggest question for me is how they will abstract agents, i expect terminals are a stopgap
ACP is cool, but i've found it's hard to use in practice since it's always trailing the latest harness features
i use a lot of different mediums for working with agents (deep, multiplayer, background, research, security), but very excited to see how this evolves for my deep work
Item #1: Agents as Actors
"The actor model provides runtime isolation, which is necessary for self-improving harnesses, where self-improving refers to an agent being able to write its own extensions or hooks on the fly."
Call me incredibly biased, but I couldn't agree more
Actors give a tiny sandbox-like primitive for cheap, scalable agents
(There' s bunch of other great points in here too!)
Agent platform of 2027.
This is the end game. This is the blueprint for the one and only application layer software that will exist. Every other software will effectively become databases for this layer, the everything agentic operating system for the million agent swarm to work on top of.
This is obviously the end game vision for the application layer of ChatGPT and Claude. I have reasons to believe that an independent company will own this product layer. But most ADE, "enterprise agent platform", or vertical saas companies, are focused on the wrong things far too narrowly, not technically competent, and do not have the product / technical vision to see this inevitable future.
The correct agent platform that wins will function like the base of a garden, from which customers will plant their unique "seeds" to grow their own plants and trees, managed and evolved by agents, humans, and signals from the sensors of the business. This presents a clearer picture than "factory of a factory" imo.
i don't know who needs to hear this:
stop @ ing your agent in slack/discord
jev can tell your agent if it needs to respond to a message (code below)
Rex can run a browser (!!!)
give rexweb some love, the x algo is broken man
what if a @superlogical rex pane could be a real browser, right beside your terminal, and your agent could drive it?
โonly accessible in tailnetโ
crazy how fast this is becoming a dealbreaker for us:
- confidence in who can access resources - identity aware auth, no oauth (big one!!) - startup-friendly security ops
we are fine paying for saas/managed but benefits of tailscale push us to eat overhead of self-hosting
lots of stuff like chatgpt and claude mobile donโt work in tailnet unfortunately
I'm sick of having to setup + auth MCP servers across multiple machines and harnesses
Giving @RhysSullivan's Executor a shot - connect apps once and then access everything over a single (or multiple) MCP connection
I've got mine self-hosted and only accessible on my tailscale tailnet
brace yourself, 2027 will be the year of the neolangs
early 2027 will be focused on performance + formal verification + compilation speed
end of 2027 langs will have the Effect effect -- more correct, but far more verbose than humans want
stop ๐ putting ๐ UUIDs ๐ in ๐ your ๐ URLs
stop ๐ storing ๐ UUIDs ๐ as ๐ strings
fascinating to see how output differs between SwiftUI and React
SwiftUI apps seem way more fluid and cleaner with one shot (Claude)
curious how much is the training set vs how accessible animations/styling is in SwiftUI
interesting -- Rex uses Lua for scripting, not JS/Py
Lua is the king of embedded scripting, so makes sense -- esp if you're not relying on JS ecosystem
experiment: does ui framework affect quality anymore (mobile)
swiftui ($2.71): great attention to ui details, including button layout + timer callout @ 2s
react native ($5.03): basic, no animations, spacing feels a bit off
html5 ($3.08): base layout is on par with swiftui, but typography feels a bit off & config panel is awful
pixijs ($2.21): style drastically different, feels like a cheap mobile game
framer motion ($2.55): basically identical to vanilla html5
~
verdict:
swiftui is night and day to the other uis in my opinion, but i'm picky as hell. they all get the job done just fine, but others don't feel polished.
interesting tidbits:
- surprised how cheap react native oneshot was - html5 & motion had more in-your-face animations than swiftui's tasteful animations - crazy how different pixijs was from the rest, but maybe that was luck of the draw - framer motion did not improve animations compared to vanilla html5 - it feels like they RL'd html5 on native iOS components - react native used a ton of tokens getting cocoa pods and expo set up, this might be related to why felt so cheap - html5 & framer motion went with raw javascript - pixijs & react native went with typescript
~
prompt:
"Build me a simple Pomodoro timer mobile app using ____. It basically just shows how much time's remaining and then has a nice little alarm sound when it's done. I click on it to change it, the basic stuff. Very simple"
model: opus 5.5 xhigh
fascinating to see how output differs between SwiftUI and React
SwiftUI apps seem way more fluid and cleaner with one shot (Claude)
curious how much is the training set vs how accessible animations/styling is in SwiftUI
quick, build a programming language while the file extension's tld is free
.eat .fly .here
Google Registry recently launched three new top-level domains โ .eat, .fly, and .here. All three are now publicly available for purchase through your registrar of choice.
Explore how 15 businesses are already using these new domains to connect with customers.
OpenOrange has extensive ecosystem compatibility testing
(self-host Cloudflare Workers on any cloud)
Includes support for self-hosting:
- tldraw - Kody - Supermemory - Cloudflare OS - Cloudflare Computer - Cloudflare Agents SDK - PartyKit - OpenInspect - y-durableobjects
Anything we should add?
We're still working on implementing a few missing Cloudflare services, let us know if you find anything broken that our tests don't cover!
@NathanFlurry This is huge!!! Can it run Cloudflare OS out of box?
Similar Creators
Explore AI โWorking on @ampcode. Writing https://registerspill.thorstenball.com. Once authored http://interpreterbook.com and http://compilerbook.com.
We make the engine. You make it Unreal.
co-founder @clay
VP & GM @HeyGen building @HyperFrames_ - agentic video production reimagined past: founder & CEO at Alisa (acq.), eng exec @Pinterest