Expand description
§agentkernel-sdk
Rust SDK for agentkernel — run AI coding agents in secure, isolated microVMs.
§Quick Start
use agentkernel_sdk::AgentKernel;
let client = AgentKernel::builder().build()?;
let output = client.run(&["echo", "hello"], None).await?;
println!("{}", output.output);Re-exports§
pub use browser::BrowserSession;
Modules§
- browser
- Browser session for orchestrating headless browsers in sandboxes.
Structs§
- Agent
Kernel - Client for the agentkernel HTTP API.
- Agent
Kernel Builder - Builder for constructing an
AgentKernelclient. - Aria
Snapshot - ARIA accessibility tree snapshot of a web page (v2).
- Batch
Command - A command for batch execution.
- Batch
File Write Response - Result of a batch file write.
- Batch
Result - Result of a single batch command.
- Batch
RunResponse - Response from batch execution.
- Browser
Event - A browser interaction event for debugging and context recovery.
- Create
Sandbox Options - Options for creating a sandbox with a git source.
- Detached
Command - A detached (background) command running in a sandbox.
- Detached
Logs Response - Response from detached command logs.
- Exec
Options - Options for executing a command in a sandbox.
- Extend
TtlResponse - Response from extending a sandbox’s TTL.
- File
Read Response - Response from reading a file.
- Page
Link - A link extracted from a page.
- Page
Result - Result of navigating to a page.
- RunOptions
- Options for running a command.
- RunOutput
- Output from a command execution.
- Sandbox
Handle - Handle to a sandbox within a
with_sandboxclosure. - Sandbox
Info - Information about a sandbox.
- Snapshot
Meta - Metadata for a sandbox snapshot.
- Stream
Event - SSE stream event.
- Take
Snapshot Options - Options for taking a snapshot.
Enums§
- Detached
Status - Status of a detached command.
- Error
- Errors returned by the agentkernel SDK.
- Security
Profile - Security profile for sandbox execution.