phago-agents
Reference agent implementations using Phago biological primitives.
Agent Types
Digester
Consumes documents, extracts keywords, presents concepts to the knowledge graph.
- Implements: DIGEST, SENSE, APOPTOSE, TRANSFER, SYMBIOSE, DISSOLVE
Synthesizer
Dormant until quorum reached, then identifies bridge concepts and topic clusters.
- Implements: EMERGE, SENSE, APOPTOSE
Sentinel
Learns what "normal" looks like, flags anomalies by deviation from self-model.
- Implements: NEGATE, SENSE, APOPTOSE
Usage
use *;
use Position;
// Create a digester agent
let digester = new
.with_max_idle;
// Create with deterministic seed for testing
let seeded = with_seed;
Evolution
Agents include genome-based evolution with multi-objective fitness:
- 30% Productivity (concepts + edges per tick)
- 30% Novelty (novel concepts / total)
- 20% Quality (strong edges / total)
- 20% Connectivity (bridge edges / total)
Part of Phago
This is a subcrate of phago. For most use cases, depend on the main phago crate instead.
License
MIT