Skip to main content
AgentFS is a filesystem for AI agents. It provides copy-on-write isolation, letting agents safely modify files while keeping your original data untouched. It is available both as a CLI, that wraps an existing program in a sandboxed session, and an SDK that allows you to build custom agents with a filesystem abstraction.

Key Features

  • Copy-on-Write Isolation — Run agents in sandboxed environments where changes are isolated from your source tree
  • Single File Storage — Everything stored in one portable SQLite database for easy sharing and snapshotting
  • Built-in Auditing — Every file operation is recorded and queryable
  • Cloud Sync — Optionally sync agent state to Turso Cloud

Quick Start

# Install curl -fsSL https://agentfs.ai/install | bash  # Run a shell in an isolated environment cd /path/to/project agentfs run bash  # Any changes are isolated - your original files are safe 

Next Steps

Installation

Install the AgentFS CLI

Agentic Coding

Run AI coding agents safely

AgentFS SDKs

Build custom agents with the AgentFS SDKs
This software is in BETA. It may still contain bugs and unexpected behavior. Use caution with production data and ensure you have backups.