v0.2.7 #28
sami-marreed
announced in
Announcements
v0.2.7
#28
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
🎉 Major Features
🔐 Enterprise Policy System
CUGA now includes a comprehensive policy framework that enables enterprise-grade governance, safety, and compliance controls for AI agents. The policy system provides declarative, configurable policies that can guide, block, modify, or format agent behavior based on various triggers and conditions.
Policy Types
Key Capabilities
PolicyContextto extract relevant information from agent state for policy evaluationIntegration Points
Policies are seamlessly integrated into the CugaLite graph execution flow:
SDK Support
Policies can be configured programmatically via the Python SDK:
Documentation
☁️ E2B Cloud Sandbox Integration
CUGA now supports E2B for cloud-based code execution in secure, ephemeral sandboxes. This provides better isolation than local execution while being faster than Docker/Podman containers.
Key Features
per-session(default): One sandbox per conversation thread, cached for reusesingle: Single shared sandbox across all threads (most cost-effective)per-call: New sandbox for each execution (most isolated, highest cost)Benefits
Configuration
Enable E2B in
./src/cuga/settings.toml:Setup Requirements
cuga-langchaintemplate using E2B CLIuv sync --group e2bUsage
Once configured, E2B automatically executes code in cloud sandboxes. You'll see logs indicating "CODE SENT TO E2B SANDBOX" when E2B is active.
Note: E2B is a paid service with a free tier. Check e2b.dev/pricing for details.
🔧 Configuration Updates
Policy System Configuration
Enable/disable the policy system in
./src/cuga/settings.toml:E2B Configuration
New settings in
./src/cuga/settings.toml:📚 Documentation
Updated Documentation
🧪 Testing
Policy System Tests
Comprehensive test suite in
src/cuga/backend/cuga_graph/policy/tests/:E2B Integration Tests
src/cuga/backend/cuga_graph/nodes/cuga_lite/executors/tests/test_e2b_direct.pysrc/cuga/backend/cuga_graph/nodes/cuga_lite/executors/tests/test_e2b_lite.py🚀 Migration Guide
Enabling Policies
Ensure policy system is enabled in
settings.toml:Policies are automatically checked during agent execution - no code changes required
To add policies programmatically, use the SDK:
Enabling E2B
Install E2B dependencies:
Set up E2B API key and template (see README.md for detailed instructions)
Configure ngrok tunnel for registry exposure
Enable in
settings.toml:📊 Performance & Benchmarks
Policy System
E2B Integration
🙏 Acknowledgments
Special thanks to the CUGA community for feedback, testing, and contributions that made these features possible.
📝 Notes
For detailed setup instructions, see the README.md and SDK Documentation.
This discussion was created from the release v0.2.7.
Beta Was this translation helpful? Give feedback.
All reactions