2 releases
Uses new Rust 2024
| new 0.1.0 | Dec 18, 2025 |
|---|
#440 in GUI
35KB
84 lines
Lybic SDK for Rust
Developing, testing, and deploying GUI-based AI agents is complex. Developers waste precious time wrestling with cloud instances, VNC servers, and environment configurations instead of focusing on what matters: building intelligent agents.
Lybic is the infrastructure layer for your GUI agents.
Lybic (/ˈlaɪbɪk/) provides a robust, on-demand infrastructure platform designed specifically for the AI agent development lifecycle. This SDK for Go is your command center for programmatically controlling the entire Lybic ecosystem, empowering you to build, test, and scale your agents with unprecedented speed and simplicity.
Usage
[dependencies]
lybic-sdk-rs = "0.1.0"
example:
use lybic_sdk_rs::{Client, types::CreateSandboxDto};
const ORG_ID: &str = "lybic-sdk-rust-example";
#[tokio::main]
async fn main() -> Result<(), anyhow::Error> {
// Create a client
let client = Client::new("https://api.lybic.cn");
// Create a sandbox
let sandbox = client
.create_sandbox(
ORG_ID,
&CreateSandboxDto {
max_life_seconds: Some(3600.0),
name: ORG_ID.to_string(),
project_id: None,
shape: "<your-sandbox-shape>".to_string(),
},
)
.await?;
println!("Sandbox created: {:?}", sandbox);
// Delete the sandbox
client.delete_sandbox(ORG_ID, &sandbox.id).await?;
println!("Sandbox deleted");
Ok(())
}
Dependencies
~5–22MB
~235K SLoC