mxp_agents/lib.rs
1//! MXP-native autonomous agent runtime SDK facade.
2//!
3//! Depend on this crate via `cargo add mxp-agents`. It bundles the internal runtime
4//! crates behind feature flags so downstream users can enable or disable components
5//! as needed for their agents.
6
7#![warn(missing_docs, clippy::pedantic)]
8
9/// Re-export shared primitives for convenience.
10pub use agent_primitives as primitives;
11
12/// Agent lifecycle runtime (enabled by `kernel` feature).
13#[cfg(feature = "kernel")]
14pub use agent_kernel as kernel;
15
16/// LLM and service adapters (enabled by `adapters` feature).
17#[cfg(feature = "adapters")]
18pub use agent_adapters as adapters;
19
20/// Tool registration and enforcement (enabled by `tools` feature).
21#[cfg(feature = "tools")]
22pub use agent_tools as tools;
23
24/// Memory subsystem (enabled by `memory` feature).
25#[cfg(feature = "memory")]
26pub use agent_memory as memory;
27
28/// Policy and governance (enabled by `policy` feature).
29#[cfg(feature = "policy")]
30pub use agent_policy as policy;
31
32/// Observability and replay (enabled by `telemetry` feature).
33#[cfg(feature = "telemetry")]
34pub use agent_telemetry as telemetry;
35
36/// Prompt orchestration (enabled by `prompts` feature).
37#[cfg(feature = "prompts")]
38pub use agent_prompts as prompts;
39
40/// Configuration management (enabled by `config` feature).
41#[cfg(feature = "config")]
42pub use agent_config as config;