phago_agents/lib.rs
1//! # Phago Agents
2//!
3//! Reference agent implementations using Phago biological primitives.
4//!
5//! Each agent type implements a subset of the ten primitives, giving it
6//! specific biological capabilities:
7//!
8//! - **Digester** — DIGEST + SENSE + APOPTOSE — consumes and processes text input
9//! - **Synthesizer** — EMERGE + SENSE + APOPTOSE — collective intelligence through quorum sensing
10//! - **Sentinel** — NEGATE + SENSE + APOPTOSE — anomaly detection through negative selection
11//!
12//! ## Quick Start
13//!
14//! ```rust
15//! use phago_agents::prelude::*;
16//!
17//! let digester = Digester::new(Position::new(0.0, 0.0));
18//! let sentinel = Sentinel::new(Position::new(1.0, 1.0));
19//! let synthesizer = Synthesizer::new(Position::new(2.0, 2.0));
20//! ```
21
22pub mod digester;
23pub mod sentinel;
24pub mod synthesizer;
25pub mod genome;
26pub mod fitness;
27pub mod spawn;
28pub mod code_digester;
29pub mod serialize;
30pub mod prelude;
31
32#[cfg(feature = "semantic")]
33pub mod semantic_digester;