Skip to content

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
  1. Active Inference — establishes the vocabulary (sensory, active, internal, external) used everywhere else.
  2. Generalized Notation Notation (GNN) — introduces the artifact COGANT produces and consumes.
  3. Program Graph — the structural abstraction that bridges code and GNN.
  4. Markov Blanket — partitioning the program graph into Active Inference compartments.
  5. Role Assignment — how individual nodes get tagged with semantic roles.
  6. Roundtrip / Isomorphism — closes the loop and explains the isomorphism criterion used by the evaluation suite.

Agent notes: AGENTS.md - Hub: ../index.md