Rivet Actors adds SQLite storage: one database per agent, tenant, or document

Rivet Actors, an open-source alternative to Cloudflare Durable Objects, has released SQLite storage under Apache 2.0 license. Every actor gets its own SQLite database, allowing for millions of independent databases—one per agent, tenant, user, or document.
Key Details
This approach provides per-entity data isolation with SQLite running in-process with each actor. A custom VFS persists writes to HA storage (FoundationDB or Postgres). The single-writer actor model keeps reads local and fresh, unlike client-server databases where reads can be slow or stale.
Use cases include:
- AI agents: per-agent DB for message history, state, embeddings
- Multi-tenant SaaS: real per-tenant isolation without RLS hacks
- Collaborative documents: each document gets its own database with built-in multiplayer
- Per-user databases: isolated, scales horizontally, runs at the edge
How it compares
- Cloudflare Durable Objects & Agents: similar colocated SQLite and compute, but closed-source and vendor-locked
- Turso Cloud: closed-source with different use case—clients query over network, so reads are slow or stale
- D1, Turso (the DB), Litestream, rqlite, LiteFS: tools for running a single SQLite database with replication, while Rivet is for running lots of isolated databases
Rivet Actors also provide realtime (WebSockets), React integration (useActor), horizontal scalability, and actors that sleep when idle.
📖 Read the full source: HN AI Agents
👀 See Also

Claudlytics: Self-Hosted Dashboard for Tracking Claude Code Token Usage and Costs
Claudlytics is a Node.js web server that reads Claude Code's local .jsonl session files to provide real-time tracking of token usage and costs. It runs locally on 127.0.0.1 and can be accessed via SSH tunnel for remote servers.

Claude Code hooks prevent Chrome tab interference between multiple sessions
A developer created three hooks (session-start, capture-tab-id, enforce-tab-id) that pin each Claude Code session to its own Chrome tab, preventing sessions from accidentally accessing other sessions' tabs during test runs and form fills.

Claude Code v2.1.126: Model Picker, Project Purge, OAuth Fixes, and Security Improvements
Claude Code v2.1.126 adds a /model picker for Anthropic-compatible gateways, a new claude project purge command, fixes OAuth login in WSL2/SSH/containers, and patches security issues with managed settings and clipboard exposure on Windows.

Exploring the Claude Code Guidelines: A Minimalist Approach in 65 Lines
The Claude Code extension encapsulates essential AI coding principles in just 65 lines of Markdown, emphasizing 'Think Before Coding'. Despite its simplicity, it has gained notable traction among developers.