Skip to main content

Crate agentkernel_sdk

Crate agentkernel_sdk 

Source
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§

AgentKernel
Client for the agentkernel HTTP API.
AgentKernelBuilder
Builder for constructing an AgentKernel client.
AriaSnapshot
ARIA accessibility tree snapshot of a web page (v2).
BatchCommand
A command for batch execution.
BatchFileWriteResponse
Result of a batch file write.
BatchResult
Result of a single batch command.
BatchRunResponse
Response from batch execution.
BrowserEvent
A browser interaction event for debugging and context recovery.
CreateSandboxOptions
Options for creating a sandbox with a git source.
DetachedCommand
A detached (background) command running in a sandbox.
DetachedLogsResponse
Response from detached command logs.
ExecOptions
Options for executing a command in a sandbox.
ExtendTtlResponse
Response from extending a sandbox’s TTL.
FileReadResponse
Response from reading a file.
PageLink
A link extracted from a page.
PageResult
Result of navigating to a page.
RunOptions
Options for running a command.
RunOutput
Output from a command execution.
SandboxHandle
Handle to a sandbox within a with_sandbox closure.
SandboxInfo
Information about a sandbox.
SnapshotMeta
Metadata for a sandbox snapshot.
StreamEvent
SSE stream event.
TakeSnapshotOptions
Options for taking a snapshot.

Enums§

DetachedStatus
Status of a detached command.
Error
Errors returned by the agentkernel SDK.
SecurityProfile
Security profile for sandbox execution.

Type Aliases§

Result