Primary command: agent-workspace-launcher
Compatibility alias: awl
Runtime model:
- Supports
containerandhost - Default runtime is
container - Select runtime with
--runtime container|hostorAGENT_WORKSPACE_RUNTIME
brew tap graysurf/tap
brew install agent-workspace-launcher
agent-workspace-launcher --help
awl --helpHomebrew completion (default via formula):
agent-workspace-launcher <TAB>
awl <TAB>Upgrade to latest tap release and verify both commands:
brew update-reset "$(brew --repo graysurf/tap)"
brew upgrade graysurf/tap/agent-workspace-launcher || brew install graysurf/tap/agent-workspace-launcher
agent-workspace-launcher --version
awl --versionThis mode is Docker-outside-of-Docker (DooD): awl_docker runs the launcher inside
a container that talks to your host Docker daemon via /var/run/docker.sock.
It is optional and separate from the built-in container runtime (the default for
agent-workspace-launcher itself).
docker pull graysurf/agent-workspace-launcher:latest
docker pull graysurf/agent-env:latestWithout cloning (zsh):
mkdir -p "$HOME/.config/agent-workspace-launcher"
curl -fsSL https://raw.githubusercontent.com/graysurf/agent-workspace-launcher/main/scripts/awl_docker.zsh \
-o "$HOME/.config/agent-workspace-launcher/awl_docker.zsh"
autoload -Uz compinit
compinit
source "$HOME/.config/agent-workspace-launcher/awl_docker.zsh"Without cloning (bash):
mkdir -p "$HOME/.config/agent-workspace-launcher"
curl -fsSL https://raw.githubusercontent.com/graysurf/agent-workspace-launcher/main/scripts/awl_docker.bash \
-o "$HOME/.config/agent-workspace-launcher/awl_docker.bash"
source "$HOME/.config/agent-workspace-launcher/awl_docker.bash"Configure wrapper defaults (optional):
zsh:
AWL_DOCKER_IMAGE="graysurf/agent-workspace-launcher:latest"
AWL_DOCKER_AGENT_ENV_IMAGE="graysurf/agent-env:latest"
AWL_DOCKER_ARGS=(
-e HOME="$HOME"
-v "$HOME/.config:$HOME/.config:ro"
)bash:
AWL_DOCKER_IMAGE="graysurf/agent-workspace-launcher:latest"
AWL_DOCKER_AGENT_ENV_IMAGE="graysurf/agent-env:latest"
AWL_DOCKER_ARGS="-e HOME=$HOME -v $HOME/.config:$HOME/.config:ro"Common operations:
awl_docker --help
awl_docker create OWNER/REPO
awl_docker ls
awl_docker exec <workspace>
awl_docker rm <workspace> --yesDirect docker run is also supported:
docker run --rm -it \
-v /var/run/docker.sock:/var/run/docker.sock \
-e AGENT_ENV_IMAGE=graysurf/agent-env:latest \
graysurf/agent-workspace-launcher:latest \
create OWNER/REPODooD host-path rules:
- Mounting
docker.sockis root-equivalent host access. - Any
-v <src>:<dst>sent by launcher resolves<src>on the host. - If you need host files (
~/.config,~/.ssh), pass same-path mounts explicitly.
awl_docker completion:
source scripts/awl_docker.zsh(zsh) orsource scripts/awl_docker.bash(bash) will register completion automatically.
cargo build --release -p agent-workspace
./target/release/agent-workspace-launcher --helpCreate awl alias (optional):
ln -sf "$(pwd)/target/release/agent-workspace-launcher" "$HOME/.local/bin/awl"
awl --helpawlis alias compatibility only.agent-workspace-launcheris the canonical command name.- If Docker is unavailable on your host, use
--runtime host(or setAGENT_WORKSPACE_RUNTIME=host).