Skip to content
ActiveInferenceInstitutePublic

About

A portable, forkable ontology for modeling active and informational entities, roles, affordances, states, and interaction motifs across scientific ecosystems, with schema-validated YAML/JSON exports.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

1 watching

Forks

Active Entity Ontology for Science (AEOS)

AEOS is a portable ontology for modeling active and informational entities, their roles, affordances, states, and interaction motifs in scientific ecosystems. The repository is designed to be forked, edited, validated, and consumed without access to an external application.

Contents

Canonical surfaces

Path Purpose
data/aeos.yaml Canonical human-editable ontology source.
aeos.json Deterministic machine-readable export.
schema/aeos.schema.json Structural data contract.
releases.json Release and provenance manifest.
docs/ Model, data, fork, curation, and publication guidance.
paper/ Maintained publication source and artifact notes.
archive/ Preserved 2022/v2 source artifacts.

The interactive reference is AEOS on Coda. The published paper is An Active Inference Ontology for Decentralized Science.

Related surfaces

  • GNN — the Institute's notation and 25-step pipeline for specifying, validating, rendering, and executing active inference generative models; see its integration guides and the downstream adoption guide for repositories that consume the notation.
  • Active Inference Ontology — controlled vocabulary of active inference concepts with a generated GNN vocabulary bridge.
  • ATLAS — question-oriented discovery over entity, pattern, and typed-relationship graphs.
  • docs/ecosystem.md — the verified cross-reference: what overlaps with these surfaces, what does not, and what a real integration would require.

Status

Active, released as v1.0.0. Everything in this repository runs locally and offline: validation, the deterministic export, reporting, diffing, the test suite, and the release gate. No ontology command calls Coda, GitHub, Zenodo, or another network service. The release gate's artifact-freshness and page-image checks need external tools (soffice, qpdf, pdftotext, pdfinfo, pdftoppm); without them, those checks cannot run, but the ontology, manifest, and digest checks still do. The GNN conformance pin is .github/gnn-pin.json; the arm ./run.sh gnn provisions the pinned parser revision in .venv-gnn and runs the reader that revision ships, and is the only network step in the repository. The pin, the pointer and the migration from the interim local reader are recorded in docs/gnn-conformance.md.

Quick start

Requires Python 3.11 or newer and uv.

./run.sh setup
./run.sh gate

./run.sh is the single gate entry point; with no argument it runs fast (the suite without coverage instrumentation). Hosted validate calls ./run.sh ci-project; dedicated gnn-conformance alone owns hosted GNN. Full local gate and ci retain GNN and shared project checks. ./run.sh list prints every arm; docs/RUN_GUIDE.md records their commands and CI mapping.

The environment comes from uv.lock. To call the CLI directly:

uv run aeos validate
uv run aeos build
uv run aeos report --format json

pytest runs with the coverage gate (--cov=src --cov-fail-under=90), so the suite must stay at 90% or higher. The core commands are local and deterministic:

aeos validate --input data/aeos.yaml --schema schema/aeos.schema.json
aeos build --input data/aeos.yaml --output aeos.json
aeos build --check
aeos build --check --format json
aeos report --format json
aeos diff OLD.json NEW.json --format json

Use --input, --output, and --schema to work with a fork or a separate ontology file. The validator checks structure, IDs, references, roles, affordances, states, relationships, and motif steps. The export includes a derived graph for downstream search and visualization. The same commands are available as python -m aeos ...; see the command-line reference for all options, defaults, and exit codes.

Contributing

Edit data/aeos.yaml, run the validation and test commands, review the JSON diff, and document any release-level change in releases.json. The current release entry records SHA-256 digests of its source and generated files; the release gate verifies them, so regenerate and re-record the digests whenever a listed artifact changes. See docs/forking.md, docs/data-contract.md, docs/contributing.md, docs/model.md, docs/ecosystem.md, and docs/publication.md. The complete local gate is ./run.sh ci; hosted validate uses ci-project without repeating its dedicated GNN job. See docs/contributing.md for the required checks.

License and attribution

Repository content is released under CC BY 4.0. Please preserve the Active Inference Institute attribution, the ontology version, and the source publication when redistributing or adapting AEOS.

InstituteOS sidecar

This repository carries a committed .aii/ sidecar with curated InstituteOS metadata (aii-sidecar/v1): category, maturity, ecosystem relations, key artifacts, provenance, and portable tasks. It is read by InstituteOS tooling and does not affect the project's build or runtime.

About

A portable, forkable ontology for modeling active and informational entities, roles, affordances, states, and interaction motifs across scientific ecosystems, with schema-validated YAML/JSON exports.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

9 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages