File System as Agent Core

In the OpenClaw architecture, the file system is not just storage, but the core of memory, knowledge, and capabilities:

  • MEMORY.md – facts and preferences;
  • dated logs;
  • SOUL.md – identity;
  • knowledge base files;
  • Git – versioning and rollback.

Markdown instead of a vector database is counterintuitive, but more effective: the user can read and edit memory directly, chronology is preserved naturally, rollback via Git, and the agent with write_file can write knowledge itself.

The file system survives breaks between messages (Sessionless): process state is serialized into the workspace files.

Related: Seven Basic Tools, Sessionless, Filesystem Paradigm for Knowledge