lybic-sdk-rs

Crates.iolybic-sdk-rs
lib.rslybic-sdk-rs
version0.1.0
created_at2025-12-18 07:41:19.500243+00
updated_at2025-12-18 08:36:51.625989+00
descriptionLybic sdk for Rust
homepagehttps://lybic.ai
repositoryhttps://github.com/lybic/lybic-sdk-rs
max_upload_size
id1991914
size326,091
AEnjoy (AEnjoy)

documentation

README

Lybic Logo

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(())
}
Commit count: 0

cargo fmt