Concepts
Theory and core ideas behind COGANT: Active Inference, Generalized Notation Notation (GNN), Markov blankets, the program graph abstraction, semantic role assignment, and the forward/reverse roundtrip. Read this section first if you want to understand why COGANT does what it does before learning how to use it.
Contents
| Page | Description | Level |
|---|---|---|
| Active Inference | Free Energy Principle and the Active Inference roles COGANT assigns to code | Beginner |
| Generalized Notation Notation (GNN) | The GNN intermediate representation used as COGANT's interchange format | Beginner |
| Markov Blanket | How sensory / active / internal / external partitions are derived from program graphs | Intermediate |
| Program Graph | Static + dynamic program graph extraction model | Intermediate |
| Role Assignment | Code-to-role mapping rules and confidence model | Intermediate |
| Roundtrip / Isomorphism | Forward (code -> GNN) and reverse (GNN -> code) roundtrip and what isomorphism means here | Advanced |
Recommended Reading Order
- Active Inference — establishes the vocabulary (sensory, active, internal, external) used everywhere else.
- Generalized Notation Notation (GNN) — introduces the artifact COGANT produces and consumes.
- Program Graph — the structural abstraction that bridges code and GNN.
- Markov Blanket — partitioning the program graph into Active Inference compartments.
- Role Assignment — how individual nodes get tagged with semantic roles.
- Roundtrip / Isomorphism — closes the loop and explains the isomorphism criterion used by the evaluation suite.
Related modules
- ../theory/README.md — formal statements of the same ideas covered informally here.
- ../evaluation/README.md — empirical evidence for the claims introduced here.
- ../tutorials/README.md — hands-on walkthroughs that exercise these concepts.
- ../rules/README.md — how role assignment is implemented in the rule engine.
Agent notes: AGENTS.md - Hub: ../index.md