Skip to content
ActiveInferenceInstitutePublic

About

Adaptive Thinking and Learning Architecture System: a question-oriented knowledge management framework with entities, patterns, a graph-backed query engine, and pluggable interfaces, from the Active Inference Institute.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

ATLAS

License: CC BY 4.0 Gate

ATLAS — Adaptive Thinking and Learning Architecture System — is a knowledge management framework of the Active Inference Institute. It provides question-oriented information discovery over entities, patterns, and typed relationships, without requiring shared schemas across domains.

The Institute's public Open Source Map classifies ATLAS as a project materials repository within the open-source projects family. For context, see docs/architecture/overview.md.

Contents

Status

Active, released as v1.0.0. The core engine, entities, patterns, queries, and interfaces run locally and offline with only networkx installed. The optional viz, obsidian, and http extras add visualization, vault import/export, and an HTTP client; the tests that use them skip when the extra is absent. The GNN conformance arm (./gate gnn) installs the parser pinned in .github/gnn-pin.json at run time and needs network access. ATLAS accepts only literal True from the checker and refuses ambiguous warning sentinels. Distinguishing invalid files from no files remains an upstream GNN task; see TO-DO.md for that dependency and open optional items.

Features

  • Entities and attributes — knowledge items with typed attributes, anomaly/exception tracking, and requests for information (RFIs).
  • Patterns — reusable question kits with hierarchy, similarity, clustering, and usage analysis (PatternEngine).
  • Question-oriented queries — iQuery lifecycle with quality and confidence scoring.
  • Pluggable interfaces — simple transforms, HTTP (REST client), and identity/format factories.
  • Graph-backed engine — networkx directed graph with relationships, metrics, and GraphML/GEXF/JSON export.
  • Optional integrations — Obsidian vault parsing and visualization modules (viz extras).

Installation

Use Python 3.12 or later.

git clone https://github.com/ActiveInferenceInstitute/ATLAS.git
cd ATLAS
python -m venv .venv
source .venv/bin/activate
pip install -e .

Optional extras: pip install -e ".[viz]" (visualization), .[obsidian] (vault import/export), .[http] (HTTP prompt interface), and .[test] (test suite). .[all] installs everything.

Quick start

from atlas import ATLASEngine
from atlas.core.engine import ATLASConfig

engine = ATLASEngine(config=ATLASConfig())
engine.add_entity("doc1", {"title": "Active Inference", "body": "Free energy principle."})
engine.add_pattern("pat1", {"qkit": ["free energy", "active inference"]})

results = engine.query("active inference")
for r in results:
    print(r["id"], r["type"], r["relevance_score"])

See docs/guides/usage.md for a full walkthrough.

Tests

The repository has one gate with separately runnable arms — see docs/operations/gate.md:

./gate setup   # one environment for the lint and test arms
./gate         # fast arm: the suite without the `slow` marker
./gate test    # full suite
./gate all     # lint, docs, test

The gate installs the optional extras, so the visualization, Obsidian, and memory-instrumentation tests run instead of skipping.

Documentation

Repository layout

Path Description
src/atlas/ The ATLAS package (engine, entities, patterns, queries, interfaces, integrations, visualization, utils).
tests/ Test suite (kept green in CI; optional-dependency tests skip without extras).
examples/ Runnable examples (basic, advanced).
pyproject.toml Packaging metadata, dependency extras, and pytest configuration.
README.md This overview.
AGENTS.md Working conventions for contributors (human and agent).
CONTRIBUTING.md How to contribute.
CITATION.cff Machine-readable citation metadata.
LICENSE CC-BY-4.0 license text and summary.
SECURITY.md Security reporting.
docs/ Documentation index and guides.
TO-DO.md Scoped improvements and open items.
gate The single gate entry point; ./gate --list prints every arm.
.flake8 Lint arm configuration (fatal-error codes only).
scripts/docs_qa.py Documentation QA gate (the docs arm).
scripts/gnn_conformance.py Pinned GNN conformance (the gnn arm).
scripts/gate_metrics.py Measures the arms into docs/_generated/GATE.md.
.github/ Issue/PR templates, the gate workflow, and the GNN pin.
.aii/config.yaml InstituteOS metadata sidecar.

Quality gate

Before opening a pull request, run the gate. Its documentation arm requires ruby on PATH with the YAML and date libraries.

./gate all

all is lint, documentation QA, and the full test suite. The gnn arm (./gate gnn) additionally needs network access and runs in its own CI job. Every arm runs from one entry point and CI calls the same arms; see docs/operations/gate.md and the badge above.

Provenance

The initial implementation was ported from the public reference fork (docxology/ATLAS) on 2026-08-02 and is distributed under this repository's CC-BY-4.0 license. The fork's own documentation was not ported: its claims (version/status headers, an aspirational Web UI and REST API, and assessment artifacts) were unverified relative to its code. See docs/architecture/overview.md and REVIEW_LOG_2026-08-02.md.

License

ATLAS is licensed under the Creative Commons Attribution 4.0 International (CC BY 4.0) license. See LICENSE for the full text and a human-readable summary.

Citation

If you use or reference this repository, please cite it as:

Active Inference Institute — ATLAS.

Machine-readable citation metadata is available in CITATION.cff.

Links

ATLAS carries no generative-model specification and no ontology mapping; the surfaces above own those contracts. See docs/architecture/applied-active-inference.md.

About

Adaptive Thinking and Learning Architecture System: a question-oriented knowledge management framework with entities, patterns, a graph-backed query engine, and pluggable interfaces, from the Active Inference Institute.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages