A controlled vocabulary of Active Inference and Free Energy Principle concepts. The v5 content release contains 429 terms; the repository publishes it through a version 2 structured source, deterministic exports, explicit stable identities, and typed relation records.
- Content release: v5 (May 25, 2023)
- Source contract:
active-inference-ontology/source/v2 - Export contract:
active-inference-ontology/export/v2 - Live website: https://coda.io/@active-inference-institute/active-inference-ontology-website
- Institute information: https://www.activeinference.org/home
- Citation: 10.5281/zenodo.7430332 (Zenodo concept DOI; see
CITATION.cff)
- To browse terms, open
site/index.htmlin a browser from a local checkout. - To use the data in software, download
ontology.jsonand keep the stable term IDs for joins and citations. See the import examples. - For a spreadsheet, open the v5 CSV export.
- To read or reproduce the publication, see the manuscript guide and the native Template render guide.
- To change the ontology, start with the curation workflow
and edit
ontology.source.json.
docs/README.md— index of the repository documentation (source and export contracts, curation, releases, integration).TO-DO.md— scoped worklog of completed and deferred review items.CONTRIBUTING.md— how to propose changes and the acceptance gates.AGENTS.md— orientation for AI agents and automation..aii/README.md— InstituteOS sidecar metadata for this repository.
| Path | Role |
|---|---|
ontology.source.json |
Canonical structured source with stable IDs, metadata, and relations. |
ontology.json |
Generated version 2 machine-readable export. |
Ontology_v5_May_25_2023.csv |
Generated spreadsheet export. |
ontology.toml |
Explicit paths, release metadata, and validation policy. |
run.sh |
Gate entry point; its arms are the commands the public workflow runs. |
scripts/ontology.py |
Build, validation, reporting, diff, export, and site CLI. |
scripts/manuscript.py |
Generate, validate, render, and hash the publication manuscript. |
scripts/check_docs.py |
Documentation links, anchors, and index coverage gate. |
scripts/validate_gnn_conformance.py |
Pinned-GNN parser conformance check (.github/gnn-pin.json). |
scripts/report_gate.py |
Measures the gate arms and writes docs/_generated/gate.md. |
schemas/ |
Machine-readable source, export, and release-manifest schemas. |
site/index.html |
Generated dependency-free browsing surface. |
docs/manuscript/ |
Template-compatible manuscript source and rendered publication artifacts. |
docs/documentation-index.md |
Flat index of every long-lived document. |
docs/_generated/gate.md |
Generated measured gate numbers (run ./run.sh bench). |
releases.json |
Hashed current and historical release manifest. |
docs/ |
Source, export, migration, curation, release, and integration documentation. |
Archived versions/ |
Immutable historical source evidence (indexed by the folder guide). |
SUMO/ |
SUMO mapping-support material. |
GNN/ |
Generated GNN vocabulary bridge and its reviewed declared-label input. |
TO-DO.md |
Scoped review worklog (completed and deferred items). |
CITATION.cff |
Machine-readable citation metadata. |
.aii/ |
InstituteOS sidecar metadata and integration notes. |
LICENSE |
CC BY 4.0 license text. |
Repositories that consume the notation follow the GNN downstream adoption guide.
Builds and ordinary structural checks use only Python 3.11+. Strict validation also
uses the JSON Schema validator pinned in requirements-ci.txt.
run.sh runs the same checks as the public workflow. To set up a dedicated
environment and run the fast checks, use these commands from the repository root.
python3 -m venv .venv
./run.sh deps
./run.shUse ./run.sh all for the full gate, including the pinned GNN integration check.
See the build and validation guide for
individual gates and the separate manuscript rendering toolchain.
The command-line tools also support building, auditing, and rendering directly.
python3 scripts/ontology.py build
python3 scripts/ontology.py export-csv
python3 scripts/ontology.py site
python3 scripts/ontology.py gnn-terms
python3 scripts/ontology.py sync-manifest
python3 scripts/ontology.py validate --strict
python3 scripts/ontology.py schema-check
python3 scripts/ontology.py report
python3 scripts/ontology.py build --check
python3 scripts/ontology.py export-csv --check
python3 scripts/ontology.py site --check
python3 scripts/ontology.py gnn-terms --check
python3 scripts/ontology.py diff OLD_SOURCE.json NEW_SOURCE.json
python3 scripts/ontology.py audit-csv INPUT.csv
python3 scripts/manuscript.py generate # admitted disposable publication copy
python3 scripts/manuscript.py render --format all
python3 scripts/manuscript.py validate --strict
python3 scripts/manuscript.py checkbuild, export-csv, site, and gnn-terms write deterministic artifacts
atomically. validate checks source integrity, generated freshness (including the
GNN vocabulary bridge), relation targets, release metadata, archive hashes, and
current-release counts. validate --strict also
validates the source, export, and release manifest against their published JSON
Schemas. report exposes quality gaps without presenting incomplete historical
metadata as complete. audit-csv reports duplicate labels, generated-ID collisions,
and malformed rows without producing a source document.
The manuscript pipeline derives its cover, metrics, tables, and figures from
the ontology release and renders PDF, HTML, DOCX, and EPUB with Pandoc.
New renders use the current manuscript date in the publication timezone.
Use --date YYYY-MM-DD for a specific edition. The read-only manuscript arm
verifies existing inputs and per-format receipts against the stored edition date.
Render in a disposable checkout.
See the manuscript guide
and artifact manifest.
Each term has an explicit stable opaque id, display label, aliases, publication status,
list, nullable tag, structured definitions/examples, preserved connection prose,
and relations. Existing free-text references were migrated only as mentions; no
stronger semantic relation is inferred automatically.
Initial migration IDs are derived from labels, but subsequent label changes retain
the curated ID and are reported by diff. The CSV remains available for spreadsheet workflows, but it is generated from the
structured source and must not be edited independently. See
docs/release/migration-v2.md before consuming the new export.
Follow docs/curation/workflow.md and the
release sequence: align approved release metadata,
regenerate every projection, synchronize the current manifest, then validate.
Historical files and their recorded hashes remain immutable.
For dated manuscript editions and standalone downloads, see the
GitHub publication guide.
For citation, include the Zenodo DOI (concept DOI 10.5281/zenodo.7430332), content release, source filename, and repository commit or tag.
The ontology and manuscript are licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). The upstream formalism filter carries its Apache 2.0 license.