Agent Sandbox Registry

agent-sandbox

Decision: CLI Tool (abx)

无中文版

.agents/notes/implemented/feature/2026-09-02-cli-tool.md

Decision: CLI Tool (abx)

Status: implemented Implemented: 2026-09-02

Problem

Users need command-line access to sandbox management for scripting, CI/CD, and interactive use.

Decision

cli/ package with Click + Rich: - Lazy subcommand loading for < 200ms startup time - Commands: create, list, info, kill, exec, connect, run, upload, download, deploy + config + template + mcp + sandbox (sub-command groups) - Output formats: --format table|json|quiet (table default for TTY, json for pipes) - Exit codes: 0 (success), 1 (general error), 3 (auth error), 4 (not found), 5 (timeout), 6 (quota) - Global options: --json, --quiet, --verbose, --no-color, --ci, --log-level, --timeout, --region

CLI entry point: abx (configured in pyproject.toml [project.scripts]).

API Design

abx <command> [options]

Top-level commands: create list info kill exec connect run upload download deploy
Sub-command groups: config  template  mcp  sandbox
Global options:     --json --quiet --verbose --no-color --ci --log-level --timeout --region

Implementation

Alternatives considered

Dependencies

Test Strategy

Acceptance criteria