Files Are the Universal Interface for Agents

The Idea

Agents are naturally good at files. Claude Code works because bash + filesystem is the most battle-tested agent interface there is. Pick any LLM trained on internet-scale data and it already knows cat, grep, mv, mkdir. File operations are the primitives agents are most fluent with.

Files give an agent-native app five compounding properties:

  • Already known. No tool-use training required; the agent has read millions of file-based examples.
  • Inspectable. Users can see what the agent created, edit it, move it, delete it. No black box.
  • Portable. Export is trivial. Backup is trivial. Users own their data.
  • Syncs across devices. With iCloud or Dropbox, all devices share the same filesystem. The agent’s work appears everywhere without you building a server.
  • Self-documenting. /projects/acme/notes/ is legible in a way that SELECT * FROM notes WHERE project_id = 123 isn’t.

The General Principle

Design for what agents can reason about. The best proxy for that is what would make sense to a human. If a human can look at your file structure and understand what’s going on, an agent probably can too.