Repository navigation
Command Line
Adi edited this page Oct 19, 2026
·
2 revisions
Reference.
cli.pyis a plain MCP client: scripts and benchmarks go through exactly the same path as Claude Code. It needsuv. The token comes from$AGENTBOX_MCP_TOKENor.env; the URL comes from$AGENTBOX_URL(defaulthttp://127.0.0.1:8765/mcp).
uv run --script cli.py models
uv run --script cli.py delegate --repo PATH --task-file FILE|- [--model ID] [--venv PATH]
[--timeout-min 30] [--max-turns 60] [--no-guide] [--raw]
uv run --script cli.py check --repo PATH --branch REF --command CMD [--venv PATH] [--timeout-min 15]
uv run --script cli.py cleanup --repo PATH --branch agent/<id>
-
--rawsends the task verbatim, without the subagent preamble. Use it when a benchmark brings its own prompt. -
--no-guidedisables the executor guide, for A/B tests. - Output is the tool's JSON result.
Scripts:
| Script | Purpose |
|---|---|
scripts/setup.sh |
Write .env, secrets.env and config/models.yaml if missing; create data dirs (0700) |
scripts/smoke-test.sh [model] |
End-to-end check of a model plus the sandbox properties, including run_checks
|
skills/local-agent-delegation/scripts/make_venv.sh REPO [pkgs…] |
Build a venv for python_env inside the agent image |
tests/test_gateway_bridge.py |
Offline tests for gateway and llm-bridge (no GPU, no Docker) |
docs/diagrams/build.py, render.sh
|
Regenerate and render the Excalidraw diagrams |
Tutorials
How-to guides
- Install
- Delegate from Claude Code
- Write good specs
- Python environments
- Add a local model
- Connect remote APIs
- Run under gVisor
- Operate
- Troubleshoot
Reference
Explanation