amika CLI.
amika sandbox
Manage Docker-backed persistent sandboxes with bind mounts and named volumes.
Global sandbox flags
These flags apply to allsandbox subcommands (create, list, connect, stop, start, delete, ssh, code, agent-send):
When neither flag is set, commands default to remote mode. Use
--local to operate on local sandboxes only.
--local and --remote are mutually exclusive.
Create
Create flags
The
--secret flag requires --remote mode — secrets are resolved by the remote API.Supported agent kinds for
--agent-credential, --agent-credential-type, and --no-agent-credential are claude and codex. Each flag may appear at most once per kind. --no-agent-credential is mutually exclusive with the other two for the same kind. See Inject credentials for usage.When
--git is used with a repo that contains .amika/config.toml service declarations, those service ports are published automatically. If a --port flag conflicts with a service port (same container port and protocol), the command returns an error. See Services for details.The base branch is your current checked-out branch when
--git is a local path, or the repo’s default branch when it’s a URL.Mount modes
List
Aliases:ls
NAME, STATE, LOCATION, PROVIDER, IMAGE, BRANCH, PORTS, CREATED.
Connect
The shell starts in
/home/amika.
Delete
Aliases:rm, remove
When neither flag is set and the sandbox is the sole reference for a volume, you will be prompted to decide.
Stop
Stop one or more running sandboxes without removing them.Start
Start (resume) one or more stopped sandboxes.SSH
SSH into a remote sandbox, or revoke SSH access. Optionally pass a command to execute instead of opening an interactive session.Code
Open a remote sandbox in an editor via SSH.Agent Send
Send a prompt to an AI agent CLI running inside a sandbox container. The message can be provided as a positional argument or piped via stdin. By default the command waits for the agent to finish and streams the response.amika volume
Manage tracked Docker volumes used by sandboxes.
List
Aliases:ls
NAME, TYPE, CREATED, IN_USE, SANDBOXES, SOURCE.
Delete
Aliases:rm, remove
amika service
Manage services declared in sandbox configurations.
List
Aliases:ls
SERVICE, SANDBOX, PORTS, URL.
See Services for how to declare services in
.amika/config.toml.
amika auth
Authentication and credential commands.
amika auth login
Log in to Amika via the WorkOS Device Authorization Flow. Opens a browser for you to authorize the CLI.
--api-key-file. Use - to read from stdin so the key never lands on disk:
See Authentication for details on the login flow and session storage.
amika auth status
Show current authentication status.
amika auth logout
Log out of Amika and remove the saved session.
amika auth extract
Discover locally stored credentials from multiple sources and print shell environment assignments.
See Authentication for details on supported credential sources and priority.
amika secret
Manage secrets in the remote Amika secrets store.
amika secret extract
Discover locally stored credentials and optionally push them to the remote store.
amika secret push
Push secrets to the remote store from inline arguments, environment variables, or a .env file.
When multiple sources are used, positional arguments override
--from-file values, and --from-env overrides both.
amika secret claude
Manage Claude Code credentials for sandbox authentication. Credentials pushed here can be injected into sandboxes at creation time.
amika secret claude push
Push Claude Code credentials (API key or OAuth token) to the remote Amika secrets store. Scans your system for Claude credentials and lets you choose which one to push. On macOS, the keychain is also checked.
--value and --from-file are mutually exclusive.amika secret claude list
Aliases: ls
List pushed Claude credentials.
ID, NAME, TYPE.
amika secret claude delete
Aliases: rm
Delete a Claude credential by ID.
amika secret codex
Manage Codex credentials for sandbox authentication. Same shape as amika secret claude — pushed credentials can be injected into sandboxes at creation time.
amika secret codex push
Push Codex credentials (API key or OAuth token) to the remote Amika secrets store. Scans ~/.codex/auth.json for credentials and lets you choose which one to push.
--value and --from-file are mutually exclusive.amika secret codex list
Aliases: ls
List pushed Codex credentials.
ID, NAME, TYPE.
amika secret codex delete
Aliases: rm
Delete a Codex credential by ID.
amika materialize
Run a script or command in an ephemeral Docker container and copy output files to a destination.
The container runs with working directory /home/amika/workspace. Exactly one of --script or --cmd must be specified.
Flags
Pass script args after
--: