mirror of
https://github.com/yashshah9/agentbox.git
synced 2026-11-18 18:03:44 +00:00
Context: - Subprocess + netns probes are not enough for production agent code execution. - Ephemeral docker run --rm with --network=none and optional --memory is the essential isolation path for agentbox-backed products like agentforge. Test Plan: - docker compose run --rm test - ruff check src tests - pytest tests/test_docker.py (mocks CLI; live skip without docker) Additional Notes: - Default remains subprocess for local/CI unit tests. - Set AGENTBOX_SANDBOX_BACKEND=docker (plus Docker CLI/daemon) for production.