skip to content
FILESYSTEM.md

Why Filesystems for Agents

Last updated:

View Markdown source

The short answer

AI agents already understand filesystems. Training corpora are full of ls, cat, grep, path navigation, and incremental edits. When you give an agent a navigable tree of files instead of a stuffed prompt or an opaque retrieval blob, you get:

FILESYSTEM.md does not invent “filesystems for agents.” It standardizes the workspace contract on top of that emerging consensus: which files bootstrap the agent, what is loaded on demand, where memory and logs live, and how behavior files map across harnesses.

What the industry is converging on

Three recent pieces capture complementary layers of the same idea:

SourceCore claimLayer
Amplify Partners — File systems for agentsAgents need FS-like interfaces more than OLTP/object-store semantics; today’s POSIX FS may need evolution for agent-scale concurrencyInfrastructure & storage thesis
Vercel Academy — Building Filesystem AgentsStructure domain data as files, give the agent bash, keep context minimal and debuggableApplication pattern / how to build
Box — Filesystems as the context layerA filesystem is an interface contract; backends can be Box, SQLite, local disk via a composite FSEnterprise context layer / backends

Related foundations (still essential reading):

Why not “just put everything in the prompt”?

Prompt stuffing fails as soon as workflows become multi-step:

Filesystem agents invert this: metadata and paths first, full content only when needed.

Why not vector search alone?

Vector retrieval is strong for semantic “find something like X.” It is weak when you need:

Filesystem operations (grep, cat path/to/file) return exact results. Many production systems combine both: vectors as an index, files as the source of truth.

Why not OLTP databases or object stores as the primary agent interface?

Amplify’s analysis is a useful map:

You can emulate a filesystem on top of either. At that point the agent-facing contract is still “files and paths.” FILESYSTEM.md assumes that contract and standardizes the project layout and bootstrap rules agents should follow.

Filesystem as interface, not “only local disk”

Box’s framing matters for production: the agent sees one tree (/docs, /memories, /workspace), while backends differ. LangChain Deep Agents–style composite backends make the same point — SQLite rows can surface as virtual files; cloud storage can back /docs/ without changing agent tools.

Implications for FILESYSTEM.md:

How FILESYSTEM.md fits in the stack

Think in three layers:

  1. Storage / backend FS — local disk, Vercel Sandbox, Box, S3, virtual files from SQL (Amplify / Box / framework backends)
  2. Agent toolsbash, read_file, write_file, grep (Vercel / LangChain patterns)
  3. Workspace contract — FILESYSTEM.md + AGENTS.md (+ optional identity overlays) describing bootstrap, memory layers, skills, and safety

FILESYSTEM.md is layer 3. It answers:

It does not replace MCP (tools), vector indexes (retrieval aids), or enterprise DMS permissions — those plug in underneath or beside the contract.

Practical adoption pattern

  1. Keep domain data and agent state as files (or FS-backed views).
  2. Give the agent filesystem tools (or bash in a sandbox).
  3. Add FILESYSTEM.md so bootstrap and memory layout are explicit.
  4. Keep shared rules in AGENTS.md; use harness files as thin adapters.
  5. If you are implementing the runtime, follow /build/; for mounts/cloud FS see /infra/.
  6. Cite and track ecosystem writing on the Reading List.

FAQ for agents and humans

Is FILESYSTEM.md competing with “filesystem agents”?

No. “Filesystem agents” are an architecture. FILESYSTEM.md is a portable project standard for how those agents should find identity, memory, skills, and logs inside a workspace.

Do I need a special distributed filesystem to use FILESYSTEM.md?

No. Start with a local or sandbox filesystem. Upgrade backends later without rewriting the workspace contract.

Where should I start reading?

  1. This page (orientation)
  2. Manifesto (normative contract)
  3. Getting Started (adoption steps)
  4. Amplify / Vercel Academy / Box articles above (industry context)