Skip to main content

Crate kernex_runtime

Crate kernex_runtime 

Source
Expand description

kernex-runtime: The facade crate that composes all Kernex components.

Provides Runtime for configuring and running an AI agent runtime with sandboxed execution, multi-provider support, persistent memory, skills, and multi-agent pipeline orchestration.

§Quick Start

use kernex_runtime::RuntimeBuilder;

#[tokio::main]
async fn main() -> anyhow::Result<()> {
    let runtime = RuntimeBuilder::new()
        .data_dir("~/.kernex")
        .build()
        .await?;
    Ok(())
}

Re-exports§

pub use kernex_core as core;
pub use kernex_memory as memory;
pub use kernex_pipelines as pipelines;
pub use kernex_providers as providers;
pub use kernex_sandbox as sandbox;
pub use kernex_skills as skills;

Structs§

Runtime
A configured Kernex runtime with all subsystems initialized.
RuntimeBuilder
Builder for constructing a Runtime with the desired configuration.