Skip to content

feat(cli): add command-line interface for AIO Sandbox#189

Open
Ricardo-M-L wants to merge 2 commits into
agent-infra:mainfrom
Ricardo-M-L:feat/cli-tool
Open

feat(cli): add command-line interface for AIO Sandbox#189
Ricardo-M-L wants to merge 2 commits into
agent-infra:mainfrom
Ricardo-M-L:feat/cli-tool

Conversation

@Ricardo-M-L
Copy link
Copy Markdown

Summary

  • Add a CLI tool for managing AIO Sandbox environments via REST API
  • Supports shell command execution, file operations, browser automation, and code execution (Python/Node.js)

Test plan

  • CLI help command works
  • All subcommands show proper help
  • Test against running sandbox (requires docker)

Example usage

```bash

Execute a shell command

sandbox exec "ls -la"

Read a file

sandbox cat /home/user/.bashrc

Take screenshot

sandbox screenshot screenshot.png

Run Python code

sandbox run-python "print('Hello, World!')"
```

🤖 Generated with Claude Code

Ricardo-M-L and others added 2 commits April 17, 2026 16:25
…_main__ block in browser-use-cua

The browser-use-cua example had three duplicated sections at the top
level:

- Two sets of imports for \`asyncio\`, \`base64\`, \`os\`, and \`io.BytesIO\`
- Two \`tools = Tools()\` instantiations (the second overwrote the
  first, discarding any action registrations that referenced the
  original binding — harmless here only because the registration
  occurs after the second line)
- Two \`if __name__ == "__main__": asyncio.run(main())\` blocks at the
  bottom (the second runs main twice in a row)

Removed the redundant copies. This is a pure cleanup; behavior is
unchanged for normal happy-path runs, but the example no longer ships
with the second main() call that would have executed after the first
completed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Add a CLI tool for managing AIO Sandbox environments via the REST API.
Supports shell command execution, file operations, browser automation,
and code execution (Python/Node.js).

Example usage:
  sandbox exec "ls -la"
  sandbox cat /home/user/.bashrc
  sandbox screenshot screenshot.png
  sandbox run-python "print('Hello')"

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant