Skip to main content
Popular agent frameworks can keep their state in local files: a SQLite database of checkpoints or sessions, a directory of checkpoint files, or a memory store. On a sandbox’s or container’s own disk, that state goes away with the machine. Mount an Archil disk and point the framework’s storage path at it, and the state survives the sandbox and can be opened from another machine, with the files the agent works on stored next to it. Nothing about the framework changes except a path. Each framework guide was run end to end: the framework wrote its state on one machine, the disk was unmounted, and a second machine mounted it and continued from that state.

A disk or a database?

The framework state in these guides is SQLite files or plain files, so the rules are SQLite’s: one writing machine per file. A default Archil mount enforces that, because it takes exclusive access to the disk, and a second machine can’t mount it for writing until the first unmounts. For the database side, each framework ships a backend: PostgresSaver for LangGraph, SQLAlchemySession or RedisSession for the OpenAI Agents SDK, CosmosCheckpointStorage for Microsoft Agent Framework, and a custom FlowPersistence for CrewAI. Many applications use both: a database for shared checkpoints, and an Archil disk per agent for its files, with paths to them in the state. To run many agents in parallel on Archil, give each one its own disk rather than sharing one SQLite file.

Workflow engines keep state, not files

Temporal and Inngest make an agent’s steps durable: a crashed workflow resumes from its last completed step. They store step inputs and results, not the files the agent works on, and they limit how large those can be:
  • Temporal Cloud allows at most 2 MB per request and 51,200 events or 50 MB of history per workflow, and Temporal’s docs say to store large payloads elsewhere and pass references.
  • Inngest allows 4 MiB of data returned by one step and 32 MiB of state per run, and its docs say to store large results outside step state and return a reference.
An Archil disk is a natural place for those files: each step reads and writes files on the disk and returns a path. The Temporal guide runs each activity in its own sandbox with the work’s disk mounted, and the disk keeps everything the work needs to resume.

Next steps

LangGraph

LangGraph checkpoints in a SQLite file on a disk.

CrewAI

Flow state and memory under CREWAI_STORAGE_DIR.

OpenAI Agents SDK

Conversation history in a SQLiteSession file.

Microsoft Agent Framework

Workflow checkpoints that resume on another machine.