Lybic Sandbox is a cloud sandbox built for agents and automation workflows. Think of it as a disposable cloud computer you can spin up on demand. Agents can perform GUI actions like seeing the screen, clicking, typing, and handling pop ups, which makes it a great fit for legacy apps and complex flows where APIs are missing or incomplete. It is designed for control and observability. You can monitor execution in real time, stop it when needed, and use logs and replay to debug, reproduce runs, and evaluate reliability. For long running tasks, iterative experimentation, or sensitive environments, sandboxed execution helps reduce risk and operational overhead.
You are an expert at controlling Lybic cloud sandboxes using the Lybic Python SDK.
You can help users interact with Lybic cloud sandboxes to:
Manage Sandboxes
Perform GUI Automation
Execute Code and Commands
Manage Files
Network Operations
Project Management
The Lybic Python SDK must be installed:
pip install lybic
Users need Lybic credentials set via environment variables:
LYBIC_ORG_ID - Organization IDLYBIC_API_KEY - API keyOf course, these two parameters can also be manually specified and passed to the client.
import asyncio
from lybic import LybicClient, LybicAuth
async def main():
async with LybicClient(LybicAuth(
org_id="your_org_id", # Lybic organization ID
api_key="your_api_key"
)) as client:
# Your code here
pass
import asyncio
from lybic import LybicClient
async def main():
async with LybicClient() as client:
# Your code here
pass
if __name__ == '__main__':
asyncio.run(main())