Skip to content

Commands

agentic [global flags] <command> [flags] [args...]

Run agentic help <command> for all flags. Tools: claude (Claude Code), copilot (GitHub Copilot CLI), opencode (OpenCode).

Command Description
run <tool> [args...] Run a tool from the current directory
run <tool> -- <cmd> [args] Run a command (e.g. bash) instead of the tool. See below.
build <tool\|--all> Build image(s). See Images.
update <tool\|--all> Rebuild image(s) with the latest tool version, --all for every namespace
clean <tool\|--all> Remove tool image(s) and their msb copies, or everything agentic created with --all. Skips what running tools use.
prune Free disk space without removing tool images
image <list\|prune>, images List built images, or remove the untagged ones rebuilds left behind
inspect <tool> Show full detail for one tool's image
instructions <tool> Preview the environment instructions
ps List running agentic containers and VMs, --all for every namespace
status Show Docker and microsandbox availability, the Docker context, and how many runs are active
config Show the merged configuration
namespace <list\|prune>, namespaces List namespaces, or remove all images in one
volume <create\|list\|remove>, volumes Manage named volumes
marketplace <list\|prune>, marketplaces Manage marketplace clones
proxy <build\|update\|clean> Manage the egress proxy image
secret <set\|list\|remove\|prune>, secrets Manage stored secrets, such as GitHub tokens
aqua <search\|update> Search the aqua registry, or bump pinned aqua packages to their latest versions
upgrade Upgrade agentic. See Installation.
version Show version information, including the Docker CLI and microsandbox versions
completion <bash\|zsh\|fish\|powershell> Print a shell completion script
aliases Print shell aliases for installed tools

Run arguments

agentic's flags go before the tool name. Everything after it goes to the tool:

agentic run --proxy claude --resume        # --proxy for agentic, --resume for Claude
agentic run --runtime microsandbox claude  # run in a microVM instead
agentic run --dry-run --proxy claude       # print the docker or msb commands, start nothing

--namespace picks a separate image set, named <namespace>-<tool>. See Per-project image set.

Running a command

agentic run <tool> -- <cmd> runs a command in the tool's container, e.g. -- bash for a shell. It skips the image entrypoint, so these aren't set up:

Global flags

Every command accepts these:

Flag Effect
--home <dir> Use another data directory than $AGENTIC_HOME
--docker-context <name> Use a Docker context other than the active one. Tab-completes from docker context ls; set a default with docker_context.