@sandagent/manager-cli
v0.6.2
Published
SandAgent Manager CLI - Manage sandboxes, run agents with templates, and control sessions from the command line
Downloads
60
Readme
@sandagent/manager-cli
Start SandAgent from your terminal using templates, run tasks in E2B/Sandock/Daytona sandboxes, and manage sessions (list/stop).
Note: this is a monorepo internal CLI (
"private": true) and is not published to npm. Run it from the repo source.
Quick start (beginner-friendly)
Prereqs: Node.js >= 20, pnpm, and at least one sandbox API key (e.g. E2B_API_KEY).
# 1) Install deps (from monorepo root)
pnpm install
# 2) Build the CLI
pnpm --filter @sandagent/manager-cli build
# 3) Run (execute the built artifact with node)
node apps/manager-cli/dist/cli.js info
node apps/manager-cli/dist/cli.js templatesRun a task (examples):
# Requires: ANTHROPIC_API_KEY (and your sandbox key, e.g. E2B_API_KEY)
node apps/manager-cli/dist/cli.js run "Create a hello world script"
node apps/manager-cli/dist/cli.js run --template coder "Build a REST API"Common commands
run [options] <prompt>: run a task in a sandbox (--template/--sandbox/--workspace)list: list running sandboxes/sessionsstop <id>: stop a sandbox/sessiontemplates: list available templatesinfo: show environment and configuration
Environment variables (most common)
ANTHROPIC_API_KEY: required (Claude)E2B_API_KEY: required for E2BSANDOCK_API_KEY/DOCKER_HOST: for SandockDAYTONA_API_KEY: for DaytonaSANDAGENT_TEMPLATE: default templateSANDAGENT_SANDBOX: default sandbox (e2b/sandock/daytona)
License
Apache 2.0
