New User — Learning Path
You are new to COGANT and want to understand what it is, install it, run your first analysis, and know where to look when something is unclear. This path is the shortest route from "never heard of it" to "scanned my first repository and read the resulting GNN".
Estimated reading time: ~45 minutes. Estimated hands-on time: ~30 minutes.
Steps
-
Home — What is COGANT? — One-page tour of the project, what problem it solves (translating source code into Active Inference generative models), and where the docs live. Read this first to set expectations.
-
What is a GNN? — Conceptual primer on the Generalized Notation Notation format COGANT emits. You don't need to write GNN by hand, but you should know what the output means before you generate any.
-
Installation — Install the package (uv-managed, Python 3.11+). Verify with
cogant doctor. Roughly five minutes if your environment is already set up. -
Quick Start Tutorial — Your first end-to-end run on a tiny example repository. By the end of this tutorial you will have produced a GNN file, an HTML report, and a JSON dump.
-
Small Repo Walkthrough — Apply the same workflow to a real (but small) project. This is where the abstract concepts from step 2 become concrete: you will see how a real codebase becomes a state-space model.
-
FAQ — When you get stuck, check here first. Common issues, "why is X happening?", and pointers into the deeper docs.
Where to go next
- If you want to call COGANT from Python code rather than the CLI, follow the API Consumer path.
- If you want to understand the active-inference theory behind the translation, follow the Theory Reader path.
- If you want to extend COGANT with new languages or rules, follow the Plugin Author path.