1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
//! # agnt-core
//!
//! The zero-I/O kernel of the agnt agent runtime. Defines the message types,
//! tool trait, backend abstraction, persistence abstraction, observer hooks,
//! and the synchronous agent loop itself — with no HTTP, no SQLite, and no
//! async runtime dependencies.
//!
//! Users who want a working agent typically depend on the flagship [`agnt`]
//! meta-crate which pulls in `agnt-net`, `agnt-store`, and `agnt-tools` as
//! well. Users building custom backends, custom stores, or WASM targets can
//! depend on `agnt-core` alone and wire up their own implementations of
//! [`LlmBackend`] and [`MessageStore`].
//!
//! ## Architecture
//!
//! ```text
//! agnt (flagship re-export)
//! ├── agnt-core ← you are here
//! ├── agnt-net (HTTP backend implementation)
//! ├── agnt-store (SQLite message store implementation)
//! └── agnt-tools (built-in tools: read_file, grep, fetch, etc.)
//! ```
//!
//! [`agnt`]: https://crates.io/crates/agnt
pub use Agent;
pub use ;
pub use AgentBuilder;
pub use ;
pub use ;
pub use ;
pub use ;