Support AGENTBOX_EGRESS_ALLOWLIST and per-request egress_allowlist.
Empty list keeps deny-all (Docker --network=none / Linux netns); a
non-empty list applies a soft Python/Node userspace filter and returns
the effective hosts on the run response.
Context:
- When deny_egress is on, probe unshare/bwrap and wrap runs in a netns; report network_isolated.
- Falls back to credential scrub when privileges are missing.
Test Plan:
- docker compose run --rm test pytest tests/ -q
Additional Notes:
- Version 0.6.0.
Context:
- Surface applied limits and OOM heuristic on run responses.
- Clamp memory via AGENTBOX_MAX_MEMORY_MB; expand API scenario suite.
Test Plan:
- docker compose run --rm test pytest tests/ -q
- docker compose up -d agentbox && curl /health + /v1/run scenarios
Additional Notes:
- Version 0.5.0. PyPI name is agentbox-sandbox.
Context:
- Python-only subprocess runs were not enough for agent sandboxes.
- Execute JavaScript, honor per-request timeouts, and ship a fetch-based TS client.
Test Plan:
- docker compose build test && docker compose run --rm test
- POST /v1/run with language javascript and limits.timeout_seconds=1
Additional Notes:
- Isolation is still subprocess, not gVisor.