Use this file to discover all available pages before exploring further.
Named sessions let you share a filesystem between multiple agents, terminals, or runs. All participants see the same copy-on-write view of your project.
Run the same command to resume where you left off:
# First run - make some changesagentfs run --session my-project /bin/bash$ echo "hello" > test.txt$ exit# Second run - changes are still thereagentfs run --session my-project /bin/bash$ cat test.txthello
Multiple terminals can share the same session simultaneously:
# Terminal 1agentfs run --session shared-work /bin/bash# Terminal 2 - joins the same filesystemagentfs run --session shared-work python3 agent.py# Terminal 3 - also sees the same filesagentfs run --session shared-work vim
All terminals share the same copy-on-write filesystem. Changes made in one terminal are immediately visible in others.
# Morning sessionagentfs run --session feature-x /bin/bash# ... work on the feature, then exit for lunch# Afternoon session - continue where you left offagentfs run --session feature-x /bin/bash
Create a session, try something risky, then decide whether to keep it:
agentfs run --session experiment /bin/bash# ... try some changes# Option A: Happy with changesagentfs diff experiment # Review# Apply changes to real filesystem (manually or via script)# Option B: Discard everythingrm .agentfs/experiment.db
Run an agent and monitor its work from another terminal:
# Terminal 1: Run the agentagentfs run --session agent-task python3 agent.py# Terminal 2: Watch what it's doingagentfs run --session agent-task /bin/bash$ watch ls -la # See files being created$ tail -f agent.log # Monitor logs