agentfs command-line tool.
For the latest reference, see MANUAL.md in the repository.
Installation
Commands
agentfs init
Initialize a new agent filesystem.ID- Agent identifier (default:agent-{timestamp})
Example:
agentfs run
Execute a program in a sandboxed environment.
Examples:
agentfs mount
Mount an agent filesystem or list mounts.
Examples:
- Linux:
fusermount -u <MOUNT_POINT> - macOS:
umount <MOUNT_POINT>
agentfs serve mcp
Start an MCP (Model Context Protocol) server.
Available Tools:
Examples:
agentfs serve nfs
Start an NFS server.
Example:
agentfs sync
Synchronize with a remote Turso database.
Example:
agentfs fs
Filesystem operations on agent databases.agentfs fs ls
f <name> for files, d <name> for directories.
agentfs fs cat
agentfs fs write
agentfs diff
Show filesystem changes in overlay mode.agentfs timeline
Display agent action timeline.
Examples:
agentfs completions
Manage shell completions.bash, zsh, fish, powershell
Environment Variables
Variables set inside the sandbox:Files
See Also
Installation
Installation instructions
Sandbox Guide
Running agents in sandboxes