pub mod drivers;
pub mod ipc;
pub mod kernel;
pub mod process;
pub mod scheduler;
pub mod vfs;
pub mod data; pub mod ft; pub mod r#gen; pub mod llm_funcs; pub mod memory; pub mod mix; pub mod ml_funcs; pub mod npc_array; pub mod npc_compiler; pub mod npc_sysenv;
pub mod tools; pub mod work;
pub mod build_funcs;
pub mod init;
pub mod launcher;
pub mod mcp;
pub mod plugin_setup;
pub mod serve;
pub mod shell;
pub mod streaming;
pub mod template;
#[cfg(feature = "ffi")]
pub mod ffi;
pub mod db;
pub mod error;
pub use error::{NpcError, Result};
pub use r#gen::{LlmResponse, Message, ToolCall, ToolDef, Usage};
pub use r#gen::{calculate_cost, sanitize_messages};
pub use kernel::Kernel;
pub use npc_compiler::{Agent, CodingAgent, Jinx, NPC, Team, ToolAgent};
pub use process::Process;
pub use shell::ShellState;
pub use tools::ToolRegistry;