agent-sandbox

mcp
Guvenlik Denetimi
Basarisiz
Health Uyari
  • License — License: Apache-2.0
  • Description — Repository has a description
  • Active repo — Last push 0 days ago
  • Low visibility — Only 5 GitHub stars
Code Basarisiz
  • spawnSync — Synchronous process spawning in .agents/evidence/scripts/sandbox-api-cloud-20261125.mjs
  • fs.rmSync — Destructive file system operation in .agents/evidence/scripts/sandbox-api-cloud-20261125.mjs
  • process.env — Environment variable access in .agents/evidence/scripts/sandbox-api-cloud-20261125.mjs
  • Hardcoded secret — Potential hardcoded credential in .agents/evidence/scripts/sandbox-api-cloud-20261125.mjs
Permissions Gecti
  • Permissions — No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

abx, the Agent Sandbox command-line interface: create, manage and deploy cloud sandboxes and sandbox templates for AI agents.

README.md

Agent Sandbox CLI

English | 中文

CI
npm

abx creates and manages isolated cloud environments for AI agents. Run commands, transfer files, open terminals, and launch reusable application templates from your terminal.

Alibaba Cloud Express (alicloud-express) is the default backend. Additional backends are available through provider plugins.

Website · Documentation · Templates

Preview release: Agent Sandbox is currently in preview and may introduce breaking changes.

Installation

Select the 0.6 preview explicitly (Node.js 20+):

npm install -g @agent-sandbox/[email protected] --registry=https://registry.npmjs.org
abx --version
abx --help

The preview uses a new command layout. Read upgrading from 0.5.10 before updating scripts, especially those using --ci. The npm latest channel and default stable installers continue to select 0.5.10; use its own --help for that version. See installation for preview binaries and source builds.

Quick start

Configure your provider, then create a sandbox:

abx config init
abx deploy --template-id base --name demo --yes

For Express, use a Sandbox API key for your account and region. The setup guide explains credential sources and required permissions, including the optional AccessKey-based preparation flow. Interactive settings are saved locally for later commands. If an environment variable or project .env overrides an entered value, setup identifies the active source.

Use the saved deployment name in subsequent commands:

abx exec demo -- echo hello
abx status demo
abx connect demo
abx delete demo --yes

connect opens a terminal. Exiting it leaves the sandbox running; delete deletes it. See the CLI tutorial for files, background processes and other operations.

Launch an application template

To deploy an Agents API with one stable Gateway and a separate Sandbox per Session, use the
managed application guide.

Templates package tools such as browser automation, coding agents and web services. Choose one from the catalog and follow its setup instructions:

abx template list python
abx deploy python-hello --name hello --yes

Source templates need the selected provider's build prerequisites. Launch starts the template's declared services and returns its sandbox ID. The CLI generates and saves the default application authentication token automatically. Model credentials are needed only for templates that use a model.

Use abx delete hello --yes when finished. It deletes owned sandboxes and templates; borrowed builds and images requiring manual cleanup are retained. follow the template guide for setup and resource cleanup.

Use with AI tools

Run abx mcp start to expose sandbox operations through MCP. The repository also includes an Agent Skill for AI coding tools.

Documentation

Task Guide
Configure credentials and defaults Guided configuration
Choose or install a backend Providers
Build and publish a template Authoring templates
Look up commands and options CLI reference
Move an existing Alibaba E2B CLI setup Migration guide
Resolve an error Troubleshooting

See the full documentation index and changelog.

Python SDK

Use the Python SDK to control sandboxes from an application. The Node.js SDK calls an already running sandbox application service.

Community

Join the Agent Sandbox 开发者工具交流群 on DingTalk to discuss usage and share feedback. Join the group or search for group number 213605001586.

Scan the QR code with DingTalk:

DingTalk group QR code

Contributing

Development setup, checks and contribution workflow are in CONTRIBUTING.md. Report CLI problems through Issues.

License

Apache-2.0. See NOTICE for attribution.

Yorumlar (0)

Sonuc bulunamadi