Agents like to interact with filesystems. Models trained on decades of data expect commands like open(), read(), and grep to just work. The industry has caught on and is heading in this direction.
Mesa and Archil are two of the most prominent entrants. Both expose a POSIX-compatible filesystem, including standard file descriptors and directory semantics, to agents. Both mount into sandboxes. Both pitch themselves as the storage layer of the agent stack. From the landing pages, they look like direct substitutes.
Despite the surface similarities, the overlap where both are equally valid is slim. This article breaks down what each one does and when to use it.
A Small Summary of the Services
Archil is a large-scale data-access filesystem. It mounts your existing object storage, whether that's S3, GCS, or another S3-compatible store, as an elastic local filesystem with an NVMe caching layer in front of it, using a FUSE-style virtual filesystem interface. Your data stays in your bucket, which remains the source of truth.
Mesa is a versioned filesystem. It gives agent-written files the primitives of a code repository: branches, diffs, merges, history, and rollback, exposed through a mountable filesystem and Git-compatible APIs. Your data lives inside Mesa's storage layer.
Where the data lives drives most of the downstream tradeoffs.
What Mesa is built for
Mesa's core bet is that agent output behaves like a codebase, not like files in a bucket. Since agents produce artifacts at high velocity, edit them in parallel, and generate changes that need review, approval, and sometimes reversal, version history is a natural fit. Object storage does not support this; concurrent writes overwrite each other and record no diff.
Mesa makes version control a first-class primitive:
- Branching and merging: Fork a workspace in milliseconds, run parallel agents on isolated branches, and merge the best result. No locking, no clobbering.
- Checkpoints and rollback: Every write persists to a "Change" (Mesa's commit analog). You can restore any file to any prior state with one API call, just like with git.
- Human-in-the-loop workflows: Since edits land on branches you can build approval queues and policy gates before changes merge. This matters in domains like legal, healthcare, and insurance, where an agent's edit to a claims file needs sign-off.
- Audit trails: Every change carries an author and a history, giving you observability into what your agents did.
- Git interop: Mesa can sync branches and tags with Git upstreams such as GitHub and GitLab, in either direction.
Mesa handles large files better than vanilla Git or Git LFS. It claims no per-file size limits, allows random access into large files, has built-in deduplication, and has sparse materialization so agents only fetch the files they touch, similar to sparse checkout in standard Git workflows. Latency claims sit at sub-50ms reads and writes through its filesystem, with millisecond-level forks.
Use case: SWE agents that need branch-per-attempt isolation, prompt-to-app platforms storing per-project histories, agent memory and skill libraries that evolve over time, and any enterprise agent workflow where "review before it lands" is a hard requirement.
What Archil is Built For
Archil's core bet is different: the hardest storage problem for AI teams is not versioning what agents produce, it's connecting agents to the massive datasets they already have. Those datasets live in object storage because object storage is cheap and effectively infinite. Agents can't use S3 data until it looks like local files, and raw S3 is too slow for agent workflows.
Archil answers by making the bucket itself mountable:
- Your bucket is the source of truth: On a bring-your-own-bucket disk, files are stored as ordinary objects in your bucket, and Archil holds only active data in its storage layer, temporarily. Stop using Archil and your data stays exactly where it is, readable without Archil, which matters for data sovereignty requirements as much as for compliance. For teams with compliance or data-residency requirements this is a must-have.
- Local-disk performance on object storage: Cached reads hit NVMe at sub-millisecond latency. Cache misses fetch from the source and cache for next time. A write is durable, replicated across multiple availability zones, as soon as fsync returns, and is copied to the bucket asynchronously. The disk itself is strongly read-after-write consistent for every client.
- Elastic capacity and pricing: Agent workspaces don't need pre-provisioned sizes. A disk can hold 1 MB or grow into terabytes, and you only pay for what's actively used.
- Petabyte-scale data access: instant access to datasets in S3, no downloads required. Training data, model weights, and log corpora are the native use cases.
- Serverless executions: Archil disks accept bash commands directly, so an agent can grep gigabytes of logs without provisioning a sandbox.
- Checkpoints and branches: An Archil disk can be checkpointed in about 15 ms and forked into a writable copy-on-write branch in about 35 ms, regardless of its size, so parallel attempts and rollbacks don't copy data. (Branching needs Archil-managed storage, or Enterprise for bring-your-own-bucket disks.)
Target workloads: agent fleets reading and writing large shared datasets, training and inference pipelines pulling weights and data from S3, sandboxes that spin up and die in seconds but need instant access to gigabytes or terabytes, and teams that want filesystem semantics without migrating data out of their existing bucket.
A simple decision framework
Use these questions to choose between them.
-
Where does the data your agents need already live? If the answer is "in our S3 buckets," Archil connects agents to that data without migration. If the answer is "the agents will mostly create it," Mesa's versioning becomes the headline feature.
-
Do agent writes need review, rollback, or an audit trail? For most agent fleets, the answer is no. Output is mostly disposable or additive and what matters is that a write is immediately and reliably readable, not that it's versioned. That's where Archil shines, and its checkpoints and branches cover rollback and branch-per-attempt work. In regulated workflows where a human gate before merge and a per-change history are hard requirements, Mesa's built-in versioning shines.
-
Is data residency a constraint? If files have to stay in your own bucket, Archil's bring-your-own-bucket disks keep them there in their native format. For stricter requirements, both vendors offer deployments into your own cloud account.
There's also a real "both" architecture. Archil mounts the multi-terabyte read corpus while Mesa versions the comparatively small set of artifacts agents produce and iterate on. The two products sit at different points in the pipeline, so they compose more naturally than the shared filesystem for agents framing suggests.
Final Thoughts
Mesa is GitHub rebuilt for machines: version control semantics, delivered as a filesystem, for the artifacts agents create. Archil is the missing bridge between agents and object storage: your existing buckets, delivered as a local filesystem, at local speed and any scale.
If the bottleneck is governing what agents write, including versioning agent memory and skill artifacts, start with Mesa. If the bottleneck is feeding agents the data they already have, start with Archil. For teams building serious agent infrastructure in 2026, the answer will look less like a versus and more like a stack.