Static public resource hub for the Active Inference Institute.
Canonical deployment: https://activeinference.institute/ — migrated from Squarespace to GitHub Pages (cutover complete). For the redirect architecture and SEO infrastructure, see docs/MIGRATION_AND_REDIRECTS.md.
Canonical repository: https://github.com/ActiveInferenceInstitute/institute_website
For contributors and agents: start at INDEX.md (top-level repository
map) or AGENTS.md (documentation map), and the agent skill at
.claude/skills/institute-website/SKILL.md. Full conceptual guides live in
docs/README.md. How to version and release: RELEASING.md.
The gated public-projection contract: GATING.md.
- Purpose
- Public Content Policy
- Architecture
- Content Model
- Public Data Injection
- Local Workflow
- Internationalization
- Deployment
- Status
- License
- Design Contract
- InstituteOS sidecar
This site helps visitors quickly find:
- What the Active Inference Institute is and how it is organized.
- How to start learning Active Inference.
- Which activities, programs, and projects are public entry points.
- How to join, contribute, follow, or support the Institute.
- Verified public resources, official web surfaces, public repositories, channels, and media links.
- Audience-specific pathways for newcomers, learners, researchers, developers, contributors, partners, and supporters.
- Structured public tables for public GitHub people, open-source repositories, research links, ideas, and ontology relationships.
- A visible InstituteOS public-interface page that explains how private
docs/andlibrary/sources are projected, gated, and verified before they reach the public site.
The site is intentionally a static GitHub Pages build: no runtime framework and
no server dependency. Client-side scripts are small, self-hosted, and
CSP-safe — navigation and resource filtering, quick-search (search.js),
theme/accent/TTS controls, and the graph renderer.
The public site must not expose input artifacts, drafting screenshots, generated trace views, page-by-page extraction surfaces, or downloadable working materials. Internal materials may inform authored public copy, but the published site should remain a visitor-facing resource hub.
Volatile public links are centralized in src/content/live-sources.json. Templates should resolve public channels, official pages, and repositories by sourceId instead of hardcoding repeated external URLs.
Visitor-facing links must not point directly at resolved Coda destinations. If an official *.activeinference.institute shortlink redirects to a Coda page, render the shortlink. Resolve redirect targets during live verification; keep them out of the committed source registry.
InstituteOS-adjacent data may be injected only through the public sync script or the private InstituteOS website export pipeline. The sync and export outputs are intentionally sanitized: they may include public GitHub profile rows, public repository rows, concept nodes, relationship rows, approved brand marks, public project summaries, public narrative excerpts, graph rows, strategy summaries, and public communications, but they must exclude nonpublic rosters, private operational fields, raw task detail, nonpublic stewardship records, working documents, demos, recordings, and internal UI captures.
.
├── src/
│ ├── build.mjs # Static generator (renders all public HTML + crawler files)
│ └── content/
│ ├── site.json # Site metadata and canonical URL
│ ├── navigation.json # Accessible dropdown navigation groups
│ ├── metrics.json # Homepage summary metrics
│ ├── social.json # Footer social links by live resource id
│ ├── live-sources.json # Checked external-link registry
│ ├── resources.json # Public resource directory model
│ ├── official-pages.json # Official site pages and public subdomains
│ ├── repositories.json # Public ActiveInferenceInstitute repositories
│ ├── audience-pathways.json # Homepage visitor pathways
│ ├── instituteos/*.json # Sanitized Open Source Map public tables
│ └── pages/*.json # Curated public guide pages
├── assets/
│ ├── css/styles.css # Site theme on top of the design-system tokens
│ ├── css/instituteos-ds.css # Design-system token export (from library/design-system)
│ ├── css/graphs.css # Graph / visualization styles
│ ├── js/site.js # Navigation disclosure, resource filters, repo sorting
│ └── js/theme.js # Light/dark theme toggle (localStorage)
├── scripts/
│ ├── sync_instituteos_public_data.py # Sanitized public data injection
│ ├── generate-cards.mjs # Per-page Open Graph social cards
│ ├── generate-icons.sh # Brand icon / favicon generation
│ ├── check_internal_links.py # Local HTML and asset link checker
│ ├── check_markdown_links.py # Relative-link gate for tracked Markdown docs
│ ├── check_live_sources.py # External-link verifier (network)
│ ├── check_site_contract.py # Public resource-hub contract checker
│ ├── check_static_security.py # Static-site security contract checker
│ ├── check_redirects.py # Redirect map vs url-taxonomy gate
│ ├── check_design_system_export.mjs # Design-token fallback gate
│ ├── check_project_discoverability.py # Project-page coverage gate
│ ├── check_project_catalog_coverage.mjs # data/projects.json vs pages gate
│ ├── i18n_translate.mjs # Offline translation (Ollama/hosted API)
│ ├── i18n_check_terminology.mjs # Terminology QA sweep over the translation catalogs
│ ├── sync_video_transcripts.py # Video transcript excerpts from the Journal
│ ├── generate_bibliography.py # Bibliography/citations from act_inf_metaanalysis
│ └── …
├── index.html # Generated public root (only flat HTML besides 404)
├── 404.html # Generated not-found page (served by GitHub Pages)
├── resources/index.html # Generated searchable resource directory (clean URL /resources/)
├── directory/index.html # Generated global index (clean URL /directory/)
├── knowledge/index.html # Generated Open Source Map (clean URL /knowledge/)
├── search/index.html # Generated dedicated search page (clean URL /search/)
├── sitemap/index.html # Generated human-readable HTML sitemap (clean URL /sitemap/)
├── <section>/<slug>/index.html # Generated curated pages as clean URLs (about/, projects/, programs/, ecosystem/, …)
├── robots.txt # Generated crawler policy
├── sitemap.xml # Generated XML sitemap
├── feed.xml # Generated RSS feed
├── feed.json # Generated JSON feed
├── manifest.webmanifest # Generated PWA manifest (installability)
├── version.json # Generated machine-readable version + provenance
├── .well-known/security.txt # Generated RFC 9116 disclosure contact
└── .nojekyll # GitHub Pages static passthrough
Since v2.0 every routed page is served as a clean URL: the generator writes
<section>/index.html (and <section>/<slug>/index.html for child pages) so
GitHub Pages serves /resources/, /projects/<name>/, etc. The only flat HTML
files at the repository root are index.html and 404.html.
Curated pages live in src/content/pages/*.json. Each page should define:
slug,title,subtitle,audience, andledeprimaryActionsfor main internal or verified external actionsresourceGroupsto pull related resources from the directorysectionsandcardsfor visitor-facing contentrelatedSlugsfor internal signpostingexternalSourceIdsfor verified public links
Public resources are split by purpose:
src/content/resources.jsoncontains curated cross-channel resources and filter taxonomies.src/content/official-pages.jsoncontains reachable official site pages,activeinference.org,activeinference.institute, START, and official shortlinks.src/content/repositories.jsoncontains all reachable publicActiveInferenceInstituterepositories.src/content/audience-pathways.jsoncontains homepage routes for visitor intent.src/content/instituteos/*.jsoncontains sanitized Open Source Map tables: public GitHub people, public repositories, ideas, ontology relationships, and brand assets.src/content/pages/institute/instituteos.jsondocuments the public export boundary and links visitors to the public map, directory, and provenance surfaces.src/content/live-sources.jsonremains the canonical registry for external URLs and verification status. Itsurlfield is the public display URL; redirect targets are resolved live bycheck:sourcesand never committed (finalUrlin the manifest is a gate error).
Rendered resources use stable fields: sourceId, type, category, audience, tags, summary, relatedSlugs, priority, and promoted.
The public Open Source Map is generated from public repository metadata plus public-safe concept graph data from a sibling InstituteOS checkout. By default it looks for ../instituteos next to this repository; set the INSTITUTEOS_ROOT environment variable to point elsewhere:
npm run sync:instituteosCheck that injected files are current without rewriting them:
npm run check:instituteosThe sync creates src/content/instituteos/projects.json, ideas.json, ontology.json, entities.json, fellows.json, policies.json, and assets.json, plus brand-only images under assets/img/instituteos/. Project rows must come from public repositories. Fellows rows carry only what the Institute publishes on its Research Fellows roster. Only ActInferServe.png and Dark_ActInfServe.png are copied. Do not copy working documents, demos, recordings, nonpublic rosters, or internal UI captures into the public website.
Additional private library/ exports are owned by the InstituteOS package, not by hand edits in this repo:
uv run instituteos export-website
uv run instituteos export-website --checkThose commands write or verify public artifacts behind the strict PublicGate. The generated data/export-manifest.json records the gate version, source fingerprint, output paths, record counts, and artifact hashes that the public /instituteos/ page surfaces for operators and visitors.
The /instituteos/ page and homepage export-gate band are covered by npm run check:site; the checker verifies the route, page anchors, manifest totals, per-artifact rows, gate version, source fingerprint, and homepage links.
The build has no runtime dependencies; no package installation is needed.
The committed package-lock.json remains the npm metadata authority.
./run.sh # default: fast i18n helper tests, no build needed
./run.sh lint # existing Node/Python syntax checks
./run.sh docs # Markdown links, flat index, generated measurements
./run.sh build # regenerate the static site
./run.sh full # complete offline release gate (includes lint/docs)
CHROME_BIN=/path/to/chrome ./run.sh browserCI calls these same arms through scripts/gates.mjs, which
delegates to the canonical package commands rather than copying their bodies.
The separate GNN arm, local setup and CI/deployment ownership are documented in
the run guide. Timings and failures are recorded in the
generated gate measurements.
npm run check remains the full offline umbrella. Individual check:*
commands remain available for targeted investigation.
check:sources is intentionally
separate because it probes the network; use check_live_sources.py --offline
when only manifest integrity can be verified.
Serve locally from the repository root:
python3 -m http.server 4173Open http://localhost:4173/. Non-English locales are served under their own path, e.g. /es/about/.
The site is multilingual: English is canonical, and every other language is
pre-rendered at build time into its own URL subtree (/es/…, /zh/…, …) with a
language switcher on every page. Runtime/browser translation is impossible under
the site's CSP (connect-src 'none'), so translation happens offline via a
local Ollama model (or a hosted API) and is committed as reviewable JSON
catalogs; the build itself never calls a model.
npm run i18n:extract # collect translatable strings after content changes
npm run i18n:translate -- --all # fill every locale via local Ollama
npm run i18n:check-terms # terminology QA report over the catalogs
npm run build # render all locale subtreesFull architecture, the add-a-language recipe, model recommendations, and the hosted-API setup are in INTERNATIONALIZATION.md.
GitHub Pages is configured to serve from main at the repository root. A release is published by committing generated output and pushing main to origin.
Before pushing, confirm:
npm run buildhas refreshed generated HTML,robots.txt,sitemap.xml, the HTML sitemap at/sitemap/,feed.xml,feed.json,manifest.webmanifest,version.json, and.well-known/security.txt.npm run check:instituteosconfirms sanitized Open Source Map tables and brand assets are current.npm run checkpasses.npm run check:linkspasses.npm run check:sourceshas been run when network access is available, or the offline manifest check has been recorded when it is not.npm run check:sitepasses.npm run check:securitypasses.npm run check:design-systemconfirms the CSS stays aligned with the design-system tokens.- Browser checks cover desktop home, Resources, Directory, mobile navigation, Projects, Get Involved, and 404.
What works offline, today, with no install (node ≥ 20 and python3 only):
npm run build renders the complete site, and npm run check runs all 17
offline sub-gates. python3 -m http.server 4173 serves the committed output for
local review.
What needs the network: npm run check:sources probes every external link in
src/content/live-sources.json (it is deliberately outside npm run check);
use python3 scripts/check_live_sources.py --offline when disconnected.
What needs a private/adjacent checkout: npm run sync:instituteos reads the
InstituteOS registries via INSTITUTEOS_ROOT (the committed
src/content/instituteos/*.json keep the offline build working), and
uv run instituteos export-website is owned by the private InstituteOS package,
not by this repository. Browser checks (npm run check:browser*) need a real
Chrome via CHROME_BIN.
Because the site runs under connect-src 'none', translation cannot happen in
the browser: npm run i18n:translate runs offline against a local Ollama model
or a hosted OpenAI-compatible API and commits reviewable JSON catalogs.
This repository is licensed under the
Creative Commons Attribution 4.0 International (CC BY 4.0)
— the Active Inference Institute's standard open license; see LICENSE
for the full terms. If you use or reference the site in your work, please cite
this repository (see CITATION.cff). Contributions are welcome —
see CONTRIBUTING.md and the
Code of Conduct.
- Dark mode by default.
- Near-black background, gray surfaces, white primary text, muted gray secondary text.
- Red is the only accent color.
- Dropdown navigation must work by click, keyboard focus, and mobile disclosure.
- Every curated page must include local section navigation, related internal pages, and verified external resources.
- The home page must include audience pathways for newcomer, learner, researcher, developer, contributor, and partner/supporter visitors.
- The resource directory must include focused views for Featured, Official pages, Official shortlinks, Repositories, Learning/Research, Participation, and the Full Directory.
- The full resource directory must support search plus type, group, audience, and popular-tag filtering without a huge tag dropdown.
- The repository view must support local sorting by updated date, stars, language, and group.
- The global directory must index every curated page, page section, resource group, official page, official shortlink, verified external link, and public repository.
- The Open Source Map must expose searchable/filterable structured tables for public GitHub people, repositories, research links, ideas, and ontology relationships, with Directory links to every table and row anchor.
- Static security must remain simple: local scripts/styles only, CSP and referrer meta tags present, no forms, no embedded frames, and external anchors backed by
src/content/live-sources.json. - External public links should render only internal GitHub Pages links, official Institute domains or shortlinks, GitHub repositories/pages, papers and research records, media/social/donation/contact links, or other verified public resources.
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.
Stable URLs in a Multilingual Static Research Website includes the paper source and reproducible PDF build.