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)
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+. The strict contract
gate additionally uses the pinned dependency in requirements-ci.txt.
run.sh is the gate entry point; its arms are the exact commands the public
workflow runs, and docs/build-and-validation.md
documents them. From the repository root:
./run.sh # no arm: the fast inner-loop selection
./run.sh deps # one locked install
./run.sh all # every arm the public workflow runsThe arms call the two CLIs 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 all reported metrics, tables, figures, and provenance
from the canonical source and release manifest. It renders PDF, HTML, DOCX, and EPUB
outputs with Pandoc and records their hashes in
docs/manuscript/artifact-manifest.json.
The read-only manuscript arm validates existing input and per-format render
provenance; it never regenerates or backfills receipts. Rendering belongs in an
admitted disposable copy, with publication reserved to the integration owner.
The workflow selects ubuntu-24.04; local qualification is not hosted acceptance.
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/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 citation, include the Zenodo DOI (concept DOI 10.5281/zenodo.7430332), content release, source filename, and repository commit or tag.
The repository and its content releases are licensed under the Creative Commons Attribution 4.0 International License (CC BY 4.0).