You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add sandbox network allowlists for Go and Python (#1648)
## Summary
- add sandbox allowlist config under top-level AgentSpec.Sandbox and
keep declarative sandbox execution deny-by-default
- generate valid mounted srt settings, wire Go skills into the live
runtime, and align Python execute_code with the session working
directory
- add unit and e2e coverage for standard agents and sandbox agents
## Testing
- make controller-manifests
- go test ./core/internal/controller/translator/agent ./adk/pkg/skills
./api/adk
- go test ./core/test/e2e -run ^
- uv run --project python pytest
python/packages/kagent-skills/src/kagent/tests/unittests/test_skill_execution.py
python/packages/kagent-adk/tests/unittests/test_context_config.py
python/packages/kagent-adk/tests/unittests/test_sandbox_code_executor.py
- KAGENT_LOCAL_HOST=172.18.0.1 KAGENT_URL=http://172.18.255.0:8083 go
test -v github.com/kagent-dev/kagent/go/core/test/e2e -run
'TestE2EDeclarativeAgentNetworkAllowlistWithSkills|TestE2ESandboxAgentNetworkAllowlistWithExecuteCode'
-count=1
---------
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
0 commit comments