Volume mounts¶
The mounts agentic adds for each tool, and the checks every mount passes. For your own, see Volumes.
All tools¶
| Type | Host path | Container path | Purpose |
|---|---|---|---|
| Bind | $PWD |
/workspace |
The project you work on |
| Tmpfs | - | /tmp (1 GB, exec) |
Scratch space |
Claude¶
| Type | Host path | Container path | Purpose |
|---|---|---|---|
| Bind | $AGENTIC_HOME/tools/claude/data |
$CONTAINER_HOME/.claude |
Session history, memory and tool config |
| Bind | $AGENTIC_HOME/tools/claude/.claude.json |
$CONTAINER_HOME/.claude.json |
Login credentials |
.claude.json is created as {} on first run, as Claude Code can't create it itself.
Copilot¶
| Type | Host path | Container path | Purpose |
|---|---|---|---|
| Bind | $AGENTIC_HOME/tools/copilot |
$CONTAINER_HOME/.copilot |
Auth tokens and CLI config |
| Tmpfs | - | $CONTAINER_HOME/.cache (1 GB, exec) |
Cache (Copilot ignores /tmp) |
OpenCode¶
OpenCode writes to five XDG directories, each mounted separately.
| Type | Host path | Container path | Purpose |
|---|---|---|---|
| Bind | $AGENTIC_HOME/tools/opencode/data |
$CONTAINER_HOME/.opencode |
Main application data |
| Bind | $AGENTIC_HOME/tools/opencode/share |
$CONTAINER_HOME/.local/share/opencode |
XDG data dir |
| Bind | $AGENTIC_HOME/tools/opencode/state |
$CONTAINER_HOME/.local/state/opencode |
XDG state dir (logs, history) |
| Bind | $AGENTIC_HOME/tools/opencode/cache |
$CONTAINER_HOME/.cache/opencode |
XDG cache dir |
| Bind | $AGENTIC_HOME/tools/opencode/config |
$CONTAINER_HOME/.config/opencode |
XDG config dir |
Mount safety¶
agentic checks every bind mount before the run, and again right before anything mounts it. It refuses:
- A mount that would expose
agentic.jsonorstate.json, such as the agentic home or a parent like~. - A path through a symlink inside the workspace, so a planted
.git -> ~/.sshcan't be mounted. Mount the real path instead. - A path under
/proc, or one that can't be resolved.
Not covered: a symlink planted inside another :rw mount, or a path swapped for a symlink between the last check and the mount. Only something already running in the workspace, such as an agent from another run in the same project, can do the latter.