agentkernel_sdk/lib.rs
1//! # agentkernel-sdk
2//!
3//! Rust SDK for [agentkernel](https://github.com/thrashr888/agentkernel) — run
4//! AI coding agents in secure, isolated microVMs.
5//!
6//! ## Quick Start
7//!
8//! ```no_run
9//! # async fn example() -> agentkernel_sdk::Result<()> {
10//! use agentkernel_sdk::AgentKernel;
11//!
12//! let client = AgentKernel::builder().build()?;
13//! let output = client.run(&["echo", "hello"], None).await?;
14//! println!("{}", output.output);
15//! # Ok(())
16//! # }
17//! ```
18
19mod client;
20mod error;
21mod types;
22
23pub use client::{AgentKernel, AgentKernelBuilder, SandboxHandle};
24pub use error::{Error, Result};
25pub use types::{RunOptions, RunOutput, SandboxInfo, SecurityProfile, StreamEvent};