HackerTrans
TopNewTrendsCommentsPastAskShowJobs

NathanFlurry

no profile record

Submissions

Show HN: SQLite for Rivet Actors – one database per agent, tenant, or document

github.com
45 points·by NathanFlurry·4 miesiące temu·16 comments

Show HN: Gigacode – Use OpenCode's UI with Claude Code/Codex/Amp

github.com
27 points·by NathanFlurry·5 miesięcy temu·11 comments

Show HN: Sandbox Agent SDK – unified API for automating coding agents

github.com
41 points·by NathanFlurry·5 miesięcy temu·7 comments

Actors: The Four Properties That Eliminate Complexity

rivet.dev
2 points·by NathanFlurry·8 miesięcy temu·0 comments

WebSockets for Vercel Functions: How We Built It

rivet.dev
6 points·by NathanFlurry·9 miesięcy temu·2 comments

Show HN: Vbare – a simple alternative to Protobuf for schema evolution

rivet.dev
2 points·by NathanFlurry·10 miesięcy temu·0 comments

comments

NathanFlurry
·3 miesiące temu·discuss
WASM- & V8 isolate-based operating system that's (almost) POSIX-compliant, including its own network stack, VFS, process tree, etc.

Allows you to compile most C or Rust programs to run in it without modification. Also can run Claude Code, Codex, Pi, and OpenCode unmodified.

Working on polishing, security, and documentation so I can share an in-depth deep dive on HN.

https://github.com/rivet-dev/agent-os
NathanFlurry
·4 miesiące temu·discuss
Cheers!
NathanFlurry
·4 miesiące temu·discuss
Yep, everyone seems to reinventing the actor model from first principles right now.

We're taking a different approach of building the best actor primitive for mainstream languages and letting people build a thin AI layer on top. We did not set out out build for AI when we started it, it was a happy accident.
NathanFlurry
·4 miesiące temu·discuss
Thanks! Any questions in particular on the comparison?
NathanFlurry
·4 miesiące temu·discuss
Cheers!
NathanFlurry
·4 miesiące temu·discuss
Hey! This is a common question.

In our experience, most apps don't need cross-tenant queries outside of BI. For example, think about the apps you use on a daily basis: Linear, Slack, ChatGPT all fit well with an actor-per-workspace or actor-per-thread model.

To be clear, we're not trying to replace Postgres. We're focused on modern workloads like AI, realtime, and SaaS apps where per-tenant & per-agent databases are a natural fit.

Using SQLite for your per-tenant or per-agent databases has a lot of benefits:

- Compute + state: running the SQLite database embedded in the actor has performance benefits

- Security: solutions like RLS are a security nightmare, much easier to have peace of mind with full DB isolation per tenant

- Per-tenant isolation: important for SaaS platforms, better for security & performance

- Noisy neighbors: limits the blast radius of a noisy neighbor or bad query to a single tenant's database

- Enables different schemas for every tenant

- AI-generated backends: modern use cases often require AI-generated apps to have their own custom databases; this model makes that easy

A few other points of reference in the space:

- Cloudflare Durable Objects & Agents are built on this model, and much of Cloudflare's internal architecture is built on DO

- https://neon.com/use-cases/database-per-tenant

- https://turso.tech/multi-tenancy

- https://www.thenile.dev/

- Val.town & Replit

> Better usage of resources

I'd be curious to hear more about what you mean by this.

> always allows a parent style agent do complex queries

Do you have a specific use case in mind where agents need to query other agents' data?
NathanFlurry
·4 miesiące temu·discuss
We built everything with this architecture internally already at Rivet. It's less common than you might expect to have to query cross-DB in practice.

However, we are planning on building a query engine that can operate over multiple databases. One option we're considering is exposing Rivet SQLite as a DuckDB datasource: https://duckdb.org/docs/stable/data/data_sources
NathanFlurry
·4 miesiące temu·discuss
What does this mean for Bun (recently acquired by Anthropic)?
NathanFlurry
·5 miesięcy temu·discuss
OpenCode supports:

- TUI (I prefer this for most programming)

- Web UI (negligible difference than VS Code)

- Mobile support (via web UI)

- TypeScript SDK to automate
NathanFlurry
·5 miesięcy temu·discuss
Been using it for a bit now, it's very convenient if I may say so myself. We're shipping a big stability update in a few minutes – would love feedback!
NathanFlurry
·5 miesięcy temu·discuss
Thanks!
NathanFlurry
·5 miesięcy temu·discuss
Yes. We want to support ACP. They have a spec for HTTP transport in the works, but there is nothing public on it. Trying to backchannel to the right folks.
NathanFlurry
·5 miesięcy temu·discuss
Hit the nail on the head.

(Sprites.dev in the works already.)
NathanFlurry
·5 miesięcy temu·discuss
Thank you!

Posted this morning an overview of the project: https://x.com/NathanFlurry/status/2018366627021291699
NathanFlurry
·5 miesięcy temu·discuss
That's correct.

As you said – in terms of project goals, the biggest difference is:

- ACP seems to be focused on providing a universal API for the subset of features required for editors

- Sandbox Agent SDK is focused on automating agents, so aims to provide a much more comprehensive API coverage for niche agent-specific features

We maintain a feature coverage matrix (https://sandboxagent.dev/docs/session-transcript-schema#cove...) – it's early, much more coming soon.
NathanFlurry
·6 miesięcy temu·discuss
Love it

Hacked together an SF parks ranking system based on current weather

https://sfparks.nathanflurry.com/
NathanFlurry
·10 miesięcy temu·discuss
We’re doing this on https://rivet.dev now. I did not realize how much context bloat we had since we were using Tailwind.
NathanFlurry
·10 miesięcy temu·discuss
I’ve been building an open-source alternative at https://github.com/rivet-dev-engine

It’s the only bit of the Cloudflare stack (afaik) that did not have an open-source alternative for the JS ecosystem. I built heavily with DO on another OSS project, but realized it was incredibly problematic that our customers couldn’t truly self-host.