🚀 Announcing Agent Sandbox v0.4.5!
We're excited to announce the release of Agent Sandbox v0.4.5! This release brings significant improvements across release automation, Python SDK capabilities, core stability, and extensive documentation, making Agent Sandbox more robust and user-friendly.
⚠️ Breaking Changes
- Python SDK Update: Upgraded GKE PodSnapshot API from
v1alpha1tov1, which requires adding theagents.x-k8s.io/sandbox-name-hashlabel to yourPodSnapshotPolicygrouping rules. Removed support for restoring sandboxes by creating new claims from previous snapshot templates.
Key Highlights
- CI/CD and Release Automation
A major overhaul of the release workflow introduces fully automated tagging (including graceful handling of release candidates and transitions to stable versions), enhanced release note generation with AI-powered summaries and accurate contributor listing, and robust image promotion to thek8s.ioregistry with PR polling. Workflow permissions have been refined, and all GitHub Actions dependencies updated for better reliability. - Python SDK Improvements
The Python SDK now supports the stablev1version of the PodSnapshot API, ensuring better compatibility and introducingsandboxNameHashfor snapshot grouping. A new Prometheus metric,sandbox_client_discovery_latency_ms, has been added to monitor client connection latency across different connection strategies. The SDK client now correctly acceptswarmpoolparameters for sandbox claim creation, resolving cross-namespace adoption issues, and the sandbox router efficiently streams large request bodies instead of buffering them. - Enhanced Documentation and Examples
Documentation has been significantly expanded with new guides forvolumeClaimTemplatesand a quickstart for the Golang client. New examples showcase dynamic scaling ofSandboxWarmPoolwith Horizontal Pod Autoscaler (HPA) and integration with Kueue for admission control and quota management (updated tov1beta2API). Documentation pages have been reordered and cleaned up for improved navigation, and a new PR template has been added to streamline contributions. - Core Stability and Benchmarking
Memory leaks in theextensions/controllerspackage (includingSandboxClaimReconcilerandSimpleSandboxQueue) have been identified and fixed through the integration ofuber.org/goleakfor robust goroutine leak detection, enhancing long-term stability. Benchmarking capabilities are improved with CSV output for easier analysis and better Boskos resource tracking ensuring consistent GCR.io image pushes. - Policy and Security Examples
New Kyverno policy examples have been added and hardened to prevent RBAC privilege escalation for Sandbox workloads, improving the security posture of your deployments.
Installation
Core & Extensions
# To install only the core components:
kubectl apply -f https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v0.4.5/manifest.yaml
# To install the extensions components:
kubectl apply -f https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v0.4.5/extensions.yamlPython SDK
pip install k8s-agent-sandbox==0.4.5Contributors
We extend our sincere thanks to all contributors to this release:
@ArthurKamalov, @CodesbyUnnati, @alimx07, @app/dependabot, @chw120, @drogovozDP, @janetkuo, @justinsb, @moficodes, @pandaji, @realshuting, @shrutiyam-glitch, @sohanpatil, @vicentefb, @volatilemolotov
👋 New Contributors
@CodesbyUnnati made their first contribution in #684
@pandaji made their first contribution in #618
@sohanpatil made their first contribution in #715
@realshuting made their first contribution in #682
Full Changelog: v0.4.3...v0.4.5