Quick Start
Get up and running with the Agent Sandbox in under 5 minutes. Install the SDK, authenticate, and run your first sandboxed code execution.
1
Install the SDK
pip install alphagent-sdk3
Run Your First Sandbox
from alphagent import Sandbox
# Create a new sandbox instance
sandbox = Sandbox()
# Execute Python code
result = sandbox.run("""
print("Hello from the sandbox!")
x = 2 + 2
print(f"2 + 2 = {x}")
""")
# Print the output
print(result.output)
# => Hello from the sandbox!
# => 2 + 2 = 4Questions? We'd love to hear from you.
Connect with Founders