4 Commits
Author SHA1 Message Date
Yash Shah d1c349e59f feat(v0.8): egress allowlists for sandboxed runs
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.
2026-09-18 21:06:01 +05:30
Yash Shah 1c3c07df1d feat(v0.6): Linux network namespace deny-egress
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.
2026-09-14 16:23:35 +05:30
Yash Shah 5658447185 feat(v0.5): limits_applied, oom_killed, max memory clamp
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.
2026-09-14 15:25:01 +05:30
Yash Shah 3ef07d2fe9 feat(v0.2): add Node runtime, per-run timeouts, and TypeScript client
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.
2026-08-19 01:07:54 +05:30