Set cwd and isolation: --chdir / --unshare-all --share-net --die-with-parent (drop --share-net for a network-isolated variant).
Create the runtime dir and prompt: --dir /run/user/$(id -u) --setenv XDG_RUNTIME_DIR /run/user/$(id -u) --setenv PS1 'bwrap-demo$ '.
Inject stub identity files and launch: --file 11 /etc/passwd --file 12 /etc/group /bin/sh with 11< <(getent passwd $UID 65534) 12< <(getent group $(id -g) 65534), wrapped in (exec bwrap ...) under set -euo pipefail as the script does.
Give your agent this knowledge — and 18,200+ more routes
One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?