Skip to main content

Crate agent_block_core

Crate agent_block_core 

Source
Expand description

agent-block-core — host runtime + Lua stdlib bridge + EventBus.

Depends on agent-block-types (error / obs) and agent-block-mcp (rmcp wrapper). The bin crate agent-block is a thin CLI on top.

Re-exports§

pub use host::run;
pub use host::BlockConfig;
pub use host::HostContext;

Modules§

bridge
Lua Stdlib Bridge — injects all *.* global APIs into the Lua VM.
bus
EventBus: serial event dispatcher feeding Lua handlers registered via bus.on(kind, fn) / bus.on_any(fn).
host
Host — the thin Rust shell that wires up Lua VM, Mesh, HTTP, and MCP.