redis/agent-filesystem
Use when agents need persistent shared storage, when saving or restoring workspace state, or when coordinating file access across multiple agents and machines. Creates Redis-backed workspaces, checkpoints and restores agent state, mounts shared filesystems locally, searches workspace contents, and forks workspaces for parallel work.
npx skills add https://github.com/redis/agent-filesystem --skill agent-filesystem
AFS is a workspace system for agents, backed by Redis. Use it when you want a
durable workspace that still feels like normal files and directories, with
explicit checkpoints and easy movement between MCP, sync mode, and live mounts.
Use for:
afs fs grep or MCP file toolsAvoid for:
redis-cli examples from module-era docsafs mcpUse afs mcp when the agent can talk over MCP and does not need a local
directory.
afs CLIUse sync mode when the agent or user wants a real local directory:
./afs ws mount my-project ~/my-project
cd ~/my-project
Use ./afs config set --mode mount before mounting when you need the
workspace exposed directly as a mount rather than through the sync daemon.
./afs ws create my-project
./afs ws import my-project ./existing-dir
./afs ws list # verify the workspace exists
./afs ws mount my-project ~/my-project
./afs status # verify the mount is active
cd ~/my-project
./afs fs grep --workspace my-project "TODO auth"
./afs fs grep --workspace my-project --path /src -E "timeout|retry"
./afs cp create my-project before-refactor
./afs cp list my-project # verify the checkpoint was saved
./afs cp restore my-project before-refactor
./afs cp list my-project # confirm the restore completed
./afs ws fork my-project my-project-experiment
./afs ws list # verify the fork appears
workspace directly.
afs mcp and the CLI operate on the same workspace model..afsignore controls what gets imported from an existing local directory.docs/guides/agent-filesystem.md — agent-facing usage guidedocs/reference/cli.md — full CLI command referencedocs/reference/mcp.md — MCP tool reference for agent integrationsTake redis/agent-filesystem from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.