Skip to main content

Crate anyclaw_sdk_runtime

Crate anyclaw_sdk_runtime 

Source
Expand description

Runtime SDK for anyclaw.

Provides the Runtime trait for building runtime extensions that manage agent sandbox environments (containers, VMs, etc.) and the [RuntimeHarness] for JSON-RPC stdio framing.

A runtime extension is responsible for:

  • Creating and managing the execution environment (container, network, proxy)
  • Providing process execution capability via Runtime::exec
  • Health reporting and graceful shutdown

The supervisor uses exec() to spawn agent worker processes inside the runtime environment. All internal infrastructure (proxy, networking, auth) is the runtime’s concern — the supervisor only sees the trait interface.

§Stability

This crate is unstable — APIs may change between releases.

Re-exports§

pub use error::RuntimeSdkError;
pub use trait_def::Runtime;
pub use types::*;

Modules§

error
Error types for runtime SDK operations.
trait_def
The Runtime trait that runtime authors implement.
types
Types for the runtime initialize handshake, exec, and health reporting.