leviath_runtime/embed/mod.rs
1//! Embedding the runtime as a library: the batteries-included assembly a
2//! Rust application uses to run agents in-process, without the `lev` CLI,
3//! the daemon, or a config file.
4//!
5//! The daemon remains the primary interface for the CLI; this module is the
6//! same machinery ([`PipelineWorld`](crate::world::PipelineWorld) +
7//! [`WorldHost`](crate::host::WorldHost)) assembled from plain values.
8
9mod error;
10mod spawner;
11mod stream;
12mod tool_service;
13mod world;
14
15pub use error::EmbedError;
16pub use stream::EventStream;
17pub use tool_service::BasicToolService;
18pub use world::{AgentWorld, AgentWorldBuilder, BlueprintSource, RunId, SpawnSpec};