Skip to main content

Crate phago_agents

Crate phago_agents 

Source
Expand description

§Phago Agents

Reference agent implementations using Phago biological primitives.

Each agent type implements a subset of the ten primitives, giving it specific biological capabilities:

  • Digester — DIGEST + SENSE + APOPTOSE — consumes and processes text input
  • Synthesizer — EMERGE + SENSE + APOPTOSE — collective intelligence through quorum sensing
  • Sentinel — NEGATE + SENSE + APOPTOSE — anomaly detection through negative selection

§Quick Start

use phago_agents::prelude::*;

let digester = Digester::new(Position::new(0.0, 0.0));
let sentinel = Sentinel::new(Position::new(1.0, 1.0));
let synthesizer = Synthesizer::new(Position::new(2.0, 2.0));

Modules§

code_digester
Code-aware digester agent for source code analysis.
digester
Digester Agent — the first living cell.
fitness
Fitness tracking for evolutionary agent selection.
genome
Agent genome — evolvable parameters for biological agents.
prelude
Phago Agents Prelude — convenient imports for common usage.
sentinel
Sentinel Agent — anomaly detection through negative selection.
serialize
Agent state serialization for session persistence.
spawn
Spawn policies for evolutionary agent creation.
synthesizer
Synthesizer Agent — collective intelligence through emergence.