1. Archil
Best for: an agent's whole working state, its files, repositories and artifacts plus the SQLite databases beside them, shared across agent instances, kept across restarts and forked per attempt
An Archil disk is a POSIX file system that many agents mount at once, from any machine or sandbox, and that keeps its contents when they stop. A write is durable when fsync returns, on SSD replicated across Availability Zones, and every disk is also an S3-compatible endpoint that is strongly consistent with the file system, so services that don't mount it can read and write the same files. The structured part of the state goes in a SQLite file next to the files: the sqlite3 CLI, Python's sqlite3 module or any SQLite library works on a mounted disk, as Archil's web app guide shows, because SQLite only sees a file. WAL mode works, and a plain mount gives that machine exclusive access, so SQLite's locking behaves as on a local disk. A checkpoint or branch then captures the files and the databases together. When several machines must write the same database, Archil's SQLite integration runs queries from many clients, writes included.
Strengths
- Files and structured state on one disk, with one set of credentials and one lifecycle; plain SQLite needs no SDK and has no per-query charge, since it's billed as ordinary disk storage
- Up to 5,000 connected clients per disk, on Linux, macOS, containers, Kubernetes, other providers' sandboxes and Archil's own sandboxes; in conditional mode any client can write anywhere
- A checkpoint takes about 13 ms and a branch about 33 ms at p50, whatever the disk's size, so each attempt gets its own writable copy of the files and databases
- A real file system, so git and npm run on it; a react
git clonetook 9.8 s on Archil and 81.5 s on Amazon EFS in Archil's benchmark - Readable over S3, and a disk can sync both ways with your own S3, GCS or R2 bucket, each file an ordinary object
- For many machines writing one database, the SQLite integration allows any number of databases per disk; each write gets the database file to itself, and reads run in parallel
Tradeoffs
- With plain SQLite, keep one writing machine per database file: SQLite's locks don't extend across machines. Heavy concurrent writes from many machines to one database belong in Postgres
- If all you persist is a framework's thread checkpoints, a Postgres checkpointer is simpler
- A file system isn't a memory or vector layer; facts ranked by relevance need Mem0 or a store
- In conditional mode, if two clients write the same part of a file, the last write to reach the disk wins; a reader can serve cached listings for up to five minutes, so hand off through your orchestrator and run
archil invalidate-cache - Writes not yet sent are lost if a sandbox is killed before
fsync,archil syncor unmount, and a crashed client's checkouts stay until you revoke them - Checkpoints and branches work on Archil-managed disks, in AWS regions; disks that keep files as ordinary objects in your bucket can't branch on any plan (your own bucket can branch only in Archil's proprietary format, on Enterprise), and branches can't be deleted yet or merged back
- The SQLite integration is TypeScript-only (
@archildata/sqlite), runs on disks in AWS regions only, and bills each query as one serverless tool call, $0.05 per 1,000 on Developer and Team - A managed service, not open source; public regions are three in AWS and one in Google Cloud