Open-source GLAM and archival management software. Describe, preserve and publish the collections of archives, museums, libraries and galleries in one system, with Records in Contexts (RiC) as a first-class capability. Free under the GNU AGPL-3.0 licence.
Live demo and guided tour: heratio.org - Contribute: CONTRIBUTING.md - How we use AI: AI-STATEMENT.md
A modern, self-hostable alternative to legacy archival and museum software such as AtoM and ArchivesSpace, built for the international GLAM market.
Heratio is a pure Laravel 12 application built by Plain Sailing Information Systems (PSIS) and supported by The Archive and Heritage Group (AHG). It unifies archival description, museum collections management, digital asset management, digital preservation, and records management on a single standards-based stack (PHP 8.3, MySQL 8, OpenSearch or Elasticsearch).
Heratio supports galleries, libraries, archives, and museums of any size, and universities managing special collections, institutional archives, and research data together. It is built for the international GLAM market: the core is jurisdiction-neutral, and country-specific compliance (for example GRAP 103, POPIA, GDPR, IPSAS) ships as pluggable per-market modules rather than baked into the core.
Supported standards include ISAD(G), ISAAR(CPF), ISDIAH, Records in Contexts (RiC and RiC-O), and Dublin Core, with the OAIS / PREMIS / OCFL / BagIt preservation stack and IIIF deep-zoom image delivery. Museum collections management supports the primary museum collections procedures defined by the UK Collections Trust.
RiC (Records in Contexts) is a first-class capability within Heratio - not a hidden add-on. Every major entity page supports both a traditional archival view and a RiC contextual view over the same data, permissions, and identifiers.
The RiC-native semantic framework, documentation, and ecosystem is centralised under OpenRiC.
A live demonstration instance, reset every Sunday, is available at https://heratio.org, with a guided tour and a list of every capability marked released, preview or planned.
- Full archival description, hierarchy, workflows, editing, and administration
- Plugin architecture with modular packages for every functional domain
- Role-based access controls and institutional deployment support
- Import/export flows and digital object management
- Library management: cataloguing, circulation with loan rules, holds, fines and a cash desk, offline circulation, stocktake and a public catalogue (OPAC) (
ahg-library) - Portable exports: offline packages of a collection that apply the same disclosure rules as the public site, with expiring share links (
ahg-portable-export) - Versioned DOI releases for datasets and collections (
ahg-doi-manage) - Source migration: import from spreadsheets and other systems with field mapping and validation (
ahg-data-migration) - Archivematica connector for digital preservation - two-way transfer/DIP round-trip (setup + crons, install)
- NLP-based Named Entity Recognition (NER) pipeline extracts persons, organisations, dates, locations, and subjects
- Extracted entities mapped to archival description fields and authority records
- Human-in-the-loop review - AI suggestions presented for archivist approval before committing
- Model-agnostic architecture supports locally hosted models via Ollama, so records need not leave the institution's control, as POPIA, GDPR and similar laws expect
- Dual-view on every major entity page: traditional archival view and RiC contextual view
- RiC Explorer with interactive 2D/3D graph visualization (Cytoscape.js, Three.js)
- Automatic sync to Apache Jena Fuseki triplestore
- SPARQL endpoint queryable by external systems
- JSON-LD / RDF outputs and multi-standard export (EAD3, EAC-CPF, Turtle, RDF/XML)
- Semantic search across the archival graph (Qdrant vector search + OpenSearch)
- EAD/ISAD to RiC-O mapping
- Integrity checking, orphan management, and provenance tracking
- Dedicated portal for field researchers, subject matter experts, and contributing institutions
- Simplified ISAD(G)-mapped description forms accessible to non-archivists
- Five-stage workflow: Draft, Submitted, Under Review, Published, Returned for Revision
- Archivist review gate maintains description quality before public accessibility
- Automated POPIA/GDPR sensitivity screening
- AES-256-GCM digital object encryption for restricted holdings
- On-the-fly decryption for authorised access with streaming delivery
- Full audit logging of access and encryption events
Heratio has its own database. Because it uses the Qubit schema that AtoM uses, it can also be installed over an existing AtoM database without losing the catalogue (Scenario 1 below).
Heratio is a monorepo of 121 packages, one per functional domain. A selection:
packages/
├── ahg-core/ - Models, base services, pagination, components
├── ahg-theme-b5/ - Layouts, nav, footer, static assets
├── ahg-information-object-manage/ - IO browse/show (ISAD)
├── ahg-actor-manage/ - Actor browse/show
├── ahg-repository-manage/ - Repository browse/show (ISDIAH)
├── ahg-accession-manage/ - Accession browse/show
├── ahg-donor-manage/ - Donor browse/show
├── ahg-rights-holder-manage/ - Rights holder browse/show
├── ahg-storage-manage/ - Physical object browse/show
├── ahg-term-taxonomy/ - Term + taxonomy browse/show
├── ahg-function-manage/ - Function browse/show (ISDF)
├── ahg-user-manage/ - User browse/show (admin)
├── ahg-settings/ - Settings dashboard (admin)
├── ahg-jobs-manage/ - Jobs browse/show (admin)
├── ahg-iiif-collection/ - IIIF Collection management
├── ahg-library/ - Library cataloguing, circulation, fines, OPAC
├── ahg-research/ - Research portal: bookings, seats, access requests
├── ahg-ric/ - Records in Contexts entities and graph
├── ahg-records-manage/ - File plans, retention and disposal
├── ahg-portable-export/ - Offline packages and share links
├── ahg-data-migration/ - Import from other systems
└── ... - Additional domain packages
Heratio is the operational platform institutions use.
OpenRiC is the public RiC-native initiative that centralises RiC implementation guidance, semantic architecture, graph capabilities, documentation, mappings, and ecosystem collaboration.
OpenRiC powers the RiC capabilities within Heratio and is available as a standalone framework for the broader archival community.
At the AtoM Foundation AGM in September 2026, members put their wishes for the platform on a board. Many of them repeat the "AtoM 3" wish list gathered around TAATU in 2020, because AtoM 3 never shipped. We checked every item against Heratio's code; the full review, with file-level evidence, is in #1514. This is what you can use today.
| Wish | In Heratio |
|---|---|
| Nested parent-child storage locations | A storage-location tree (building, floor, room, aisle, bay, rack, shelf, container) with browse, search, a page per location and a move-safe parent picker (ahg-storage-manage) |
| Improve physical storage; multiple changes and easier relocation | An append-only movement log of where every container has been, current location at a glance, and bulk moves of a selection in one transaction |
| Compliance with new standards: RiC | RiC-O as a first-class mode: RiC entities, a Fuseki-backed graph, SHACL validation and OpenRiC serialisations (ahg-ric) |
| Custom metadata fields beyond RAD and ISAD(G), carried into PDF finding aids and exports | Admin-defined fields on every description form and page, in the PDF finding aid, EAD 2002 and EAD3, Dublin Core, MODS and CSV; a field can be kept out of exports (ahg-custom-fields) |
| Compliance with new standards: CAAIS | A CAAIS 1.0 accession profile: structured extent, source confidentiality, language of material, preservation requirements, custody and legal-transfer events, revision log, and a CAAIS export (ahg-accession-manage) |
| IIIF integration | IIIF Image API 3 through Cantaloupe, deep zoom, IIIF collections and manifests, and a choice of Mirador, Universal Viewer or OpenSeadragon |
| Search improvements | OpenSearch or Elasticsearch keyword search, semantic and thesaurus-expanded search, and a discovery layer (ahg-search, ahg-semantic-search, ahg-discovery) |
| Provenance | Provenance records on descriptions, AI-inference provenance as PROV-O, C2PA signing of digital objects (ahg-provenance-ai, ahg-c2pa) |
| A sandbox or testing environment | A one-command Docker test stack and a VM provisioner (docker/, bin/heratio-vm.sh) |
| Analytics and SEO | Usage statistics, sitemap.xml and robots.txt (ahg-statistics) |
| Share tools and reports instead of phpMyAdmin workarounds | A report builder and central dashboards (ahg-reports) |
| Ready for the agentic internet | REST API v1/v2 with API keys, OAI-PMH, ResourceSync, and a catalogue chatbot grounded in the collection and limited to public records |
| Wish | In Heratio |
|---|---|
| A modern, long-term-supported framework (PHP 7.3+, Composer) | Laravel 12 on PHP 8.3, managed with Composer |
| Get rid of nested sets for performance | Closure-table hierarchy queries (HierarchyQueryService) |
| A better REST API with create, update and delete | REST v1/v2 with full CRUD on descriptions and authorities, keyed and rate-limited |
| Merge duplicate terms | Merge a term into another of its taxonomy: every description link, narrower term and term-typed field moves across and the old name becomes a "use for" label. Dedupe merges duplicate descriptions for real, keeps a copy in the merge log and redirects the old address |
| CSV update and replace; CSV work for non-admin roles | Match-and-update and replace-in-place for descriptions, authorities (matched on identifier, then name), accessions and repositories; import and export are ACL actions any role can be granted |
| Search and replace across a fonds; batch edit and rename; numeric sort of children | Bulk edit: scoped find and replace, set the level, repository or publication status of a selection, rename from a pattern, natural or numeric sort of children; previewed, run in the background, audited and undoable |
| Remote logging; a warning before session timeout | A remote syslog channel for SIEMs (docs/remote-logging.md) and a "Stay signed in" warning before an idle session ends |
| Audit trail and change tracking | A full audit trail (ahg-audit-trail) |
| Reading-room requests, circulation, patron accounts | A research portal with bookings, seats, walk-ins, equipment and access requests (ahg-research, ahg-access-request) |
| Private, temporary access to records | Expiring share links (ahg-share-link) |
| IIIF manifests, related IIIF collections, Universal Viewer | IIIF manifests and collections, viewable in Mirador or the Universal Viewer (ahg-iiif-collection) |
| Merge duplicate authority records | Authority (actor) merge |
| Barcodes in physical storage | Barcodes on physical objects and label printing (ahg-storage-manage, ahg-label) |
| Internal reports for administrators | The report builder and dashboards |
| More usable rights | Extended rights, embargoes and ODRL access policies enforced on viewing and reproduction (ahg-extended-rights) |
| Hosting for small archives without IT staff | A packaged Docker stack, one instance per institution |
| Link an accession to its repository | Part of the CAAIS profile |
| OAI-PMH that stays in step with the web view | OAI-PMH served live from the database, through the same publication and access checks as the public site (ahg-oai) |
| Customisable carousel | Configurable digital-object carousel (autoplay, interval, thumbnails) |
| "Last modified" set only on a real change | A description's last-modified date (and so its OAI-PMH datestamp) moves only when its content actually changes |
| Default text on new records | New descriptions open with the default values of the form template that applies to them |
| Move a term to another taxonomy | A term moves with all its narrower terms, and every description keeps its link to it |
| Wikidata links on the description page | Creators' and name access points' Wikidata, VIAF and other authority links are shown on the description |
The wishes Heratio does not fully meet yet. Each has an open issue, and this list is updated as they close.
| Wish | From | Where it stands | Issue |
|---|---|---|---|
| Single sign-on across instances (OIDC, SAML, LDAP) | AGM 2026; 2020 #58-60 | Login stubs only; protocol choice pending | #1531 |
| Accessibility and web accessibility testing (WCAG) | AGM 2026 | Automated WCAG 2.2 AA scans run in CI and fail on a regression; the shared header and footer issues they found are fixed. An external audit and a published VPAT are still to do | #1532 |
| Physical storage: place objects, boxes inside boxes, capacity roll-up | AGM 2026 | Location tree and movement log shipped; these follow | #1528 |
| GraphQL with create, update and delete | 2020 #27, #29 | REST v2 has full CRUD with API keys; GraphQL is read-only for signed-in staff, and the docs now say so (#1539). A full GraphQL server waits for a client that needs it | #1539 |
| Retire the last nested-set queries | 2020 #41 | Subtree and breadcrumb reads in research, rights, embargo, OAI-PMH, exports and the APIs now use the closure tables; the description editor, tree view and disclosure gate follow | #1541 |
| Bot and SEO policy, agent access policy, worked API examples | AGM 2026 | Drafted in docs/ (bot and SEO policy, agent access policy, worked API examples); wording awaiting approval before publication |
#1544 |
Every release tag is installed from scratch in CI on Ubuntu 24.04 with PHP 8.3, MySQL 8.0 and OpenSearch 3.4, and the installed site must serve its home, sign-in and browse pages (the "Clean install" badge above). Those are the tested versions; the other versions in the table are expected to work but are not tested on every release. Only the latest release receives fixes - see SECURITY.md.
| Requirement | Version | Notes |
|---|---|---|
| PHP | 8.3 or higher | required for metal install |
| Laravel | 12 | bundled in composer.json |
| MySQL / MariaDB | 8.0+ / 10.3+ | utf8mb4 |
| Nginx | 1.18+ | Apache works too |
| OpenSearch or Elasticsearch | OpenSearch 3.4 (recommended, tested) or Elasticsearch 7.x / 8.x | same API; index prefix heratio_ |
| Cantaloupe | 5.x | optional, IIIF deep-zoom image server |
| Apache Jena Fuseki | 4.10+ | optional, for RiC SPARQL endpoint |
| Ollama | Latest stable | optional, remote - never bundled |
| html2canvas | 1.4.1 | bundled at public/vendor/html2canvas/1.4.1/ (CSP/offline-safe); powers the "Download PNG" button on the Museum-procedures label page. |
| Docker (alternative) | 24+ with the Compose plugin | Scenario 3 below - replaces every row above |
Heratio supports three install scenarios.
| Scenario | When to use | Entry point |
|---|---|---|
| 1. Overlay onto an existing AtoM database | You already run AtoM and want to add Heratio without losing your catalogue, or you're cutting a customer over from AtoM | ./bin/install-overlay |
| 2. Standalone clean install | No AtoM. New deployment from scratch | ./bin/install - full guide: docs/standalone-install-howto.md |
| 3. Docker test stack | You want to try Heratio without touching the host - laptop demo, CI, throwaway evaluations, libvirt VMs | docker compose -f docker/docker-compose.yml up -d --build |
Scenarios 1 and 2 share the same Laravel-side bootstrap (composer install, .env, key:generate, ServiceProvider auto-seed). The two scenarios differ only in how the database is brought to life. Scenario 3 wraps Scenario 2's pipeline inside a containerised stack - same code, no host setup.
Upgrading an existing install: docs/upgrade.md. Reporting a vulnerability and the supported versions: SECURITY.md. The same guides, pinned to the release a site runs, are linked from /solutions/documentation (on heratio.org for the current release).
Heratio sits on top of your existing AtoM database without destroying any data. The overlay adds Heratio-only tables, syncs missing columns on shared tables, and seeds Heratio's settings + help - using INSERT IGNORE everywhere so customer customisations are preserved. Re-runnable / idempotent.
git clone https://github.com/ArchiveHeritageGroup/heratio.git /path/to/heratio cd /path/to/heratio composer install cp .env.example .env php artisan key:generate # Point .env at your existing AtoM DB # DB_DATABASE=your_atom_db # DB_USERNAME=root # DB_PASSWORD=... # Dry-run first to see what would change (read-only) ./bin/install-overlay --target=your_atom_db --dry-run # Apply ./bin/install-overlay --target=your_atom_db
The overlay runs eight idempotent stages: pre-flight → schema overlay → column-delta sync → settings replicate → help replicate → ServiceProvider boot (auto-seed dropdowns) → Elasticsearch reindex → smoke test.
Full guide: docs/overlay-install-howto.md
For a fresh deployment with no AtoM. bin/install is a 14-stage idempotent installer: preflight → composer → npm build → .env + key:generate → create DB → core schema (database/core/) → plugin schema (heratio:install-bootstrap) → seeds (database/seeds/) → sector site profile → admin user → package migrations (artisan migrate --force) → storage paths → search reindex → GLAM browse facet cache → nginx config → smoke test. Install the OS prerequisites first (PHP 8.3, MySQL 8, nginx, Redis, Node, OpenSearch or Elasticsearch - see the how-to §3). (bin/install-host-tools.sh is separate: it installs the optional 3D / provenance tools only.)
Full step-by-step guide: docs/standalone-install-howto.md. (The original design doc is docs/standalone-install-plan.md.)
A self-contained Compose stack - PHP 8.3 + nginx + MySQL 8 + OpenSearch 3.4 - for clients, laptops, CI, throwaway evaluations, and libvirt VMs. Cantaloupe (IIIF) and Ollama (AI) stay external by design.
AI / model policy: The Heratio image contains no model weights or AI runtimes. Heratio is an AI client - HTR, NER, condition scan, and semantic search call out via HTTP to a separate Ollama / vLLM host you operate. The image is fully public on GHCR; nothing in Heratio itself is private. The Dockerfile asserts the AI-free invariant at build time and refuses to build if any model artefact is detected in the build context.
For production demos, customer evaluations, and any "I just want it running" scenario. Pulls a versioned, prebuilt image from GitHub Container Registry. No git clone required.
curl -fsSL https://raw.githubusercontent.com/ArchiveHeritageGroup/heratio/main/docker/install-heratio.sh | bashOr pin to a specific version:
curl -fsSL https://raw.githubusercontent.com/ArchiveHeritageGroup/heratio/main/docker/install-heratio.sh | HERATIO_VERSION=vX.Y.Z bashUse a tag from Releases. The version is written to .env.docker, so later restarts stay on it; to upgrade, see docs/upgrade.md.
The installer:
- Downloads
docker-compose.client.ymland.env.docker.exampleinto./heratio/ - Prompts for admin email + password + DB passwords + host port (on the terminal, so it works through
curl ... | bash). Without a terminal it writes.env.dockerand stops: set the three passwords there and run it again - Sets
vm.max_map_countif running as root (OpenSearch requires it) docker compose pull && up -d- typical install completes in 30-60 s after the image is local- On a first install only, asks whether to send one opt-in, anonymous install ping (default No): the Heratio version, the CPU architecture and a random install ID. No hostname, organisation, email or data is sent, and the receiving server does not store your IP address. It is skipped without asking when there is no terminal, when
CIis set, or withHERATIO_NO_PING=1. A failed ping never affects the install. See docker/README.md.
Image: ghcr.io/archiveheritagegroup/heratio:{latest,vX.Y.Z,X.Y} - multi-arch (amd64 + arm64), so it runs on Apple Silicon clients too. Published by .github/workflows/docker-publish.yml on every release tag.
For contributors and local code-change testing.
git clone https://github.com/ArchiveHeritageGroup/heratio.git cd heratio cp docker/.env.docker.example docker/.env.docker # edit docker/.env.docker - replace the three CHANGEME_ passwords (admin, DB, DB root) docker compose -f docker/docker-compose.yml --env-file docker/.env.docker up -d --build docker compose -f docker/docker-compose.yml logs -f heratio
First boot runs docker/init.sh which mirrors the standalone-install pipeline inside the container: generates .env, runs key:generate, loads database/core/*.sql, runs heratio:install-bootstrap passes 1+2, loads seeds, creates the admin user, and creates the heratio_* search indices. A marker at storage/.heratio-installed makes subsequent boots skip the schema/seed work.
Once the heratio container reports healthy, browse to http://<host>:8088/ and log in.
Reset everything (drops MySQL + search + uploads volumes):
docker compose -f docker/docker-compose.yml down -v
Any KVM host. Downloads the Ubuntu 24.04 cloud image, cloud-inits Docker, deploys the repo, brings the stack up, prints the VM IP:
sudo bin/heratio-vm.sh # default name: heratio-test sudo bin/heratio-vm.sh --name h2 # custom name sudo bin/heratio-vm.sh --force # destroy + rebuild
Defaults: 4 vCPU, 4 GB RAM, 40 GB disk, bridged on br0. Override with --cpus / --ram / --disk / --bridge.
Full Docker reference (config files, supervisord layout, healthchecks, caveats, AI-policy details): docker/README.md.
Point a subdomain (e.g. heratio.yourdomain.com) to Heratio's public/ directory. Nginx vhost templates ship under config/nginx/ for reference.
php artisan heratio:generate-encryption-key
Heratio is designed to support compliance with:
- POPIA - Protection of Personal Information Act 4 of 2013 (South Africa)
- PAIA - Promotion of Access to Information Act 2 of 2000 (South Africa)
- NARSSA - National Archives and Records Service of South Africa Act 43 of 1996
- GDPR - General Data Protection Regulation (EU)
- ISO 15489 - Records management principles
- ISO 23081 - Metadata for records
Institutions are responsible for configuring the system appropriately for their legislative context.
- Full NER pipeline integration with human-in-the-loop review
- RiC Explorer with 2D/3D graph visualization
- Fuseki triplestore sync and SPARQL endpoint
- IIIF manifest generation for digitised collections
- RiC dual-view on all major entity pages
- Relation-aware editing widgets
- SHACL and semantic validation in admin workflows
- PostgreSQL Heratio-native domains (workflow, audit, enrichment)
- Multi-language NER support (including isiZulu, Sesotho, Afrikaans)
- Bulk shared drive ingestion agent with automated classification
- Document Management (DM) - versioned digital-document workflows, check-in/check-out, redaction, watermarking, derivative chains
- Records Management (RM) - file plans, retention schedules, disposal workflows (recommend / approve / execute / reject / legal hold), audit event log (
ahg-records-manage)
Contributions are welcome. Please read CONTRIBUTING.md before submitting pull requests.
Heratio is released under the GNU Affero General Public License v3.0 (AGPL-3.0).
Heratio is the brainchild of Dr Johan Pieterse, conceived and architected as the operational platform for AI-assisted archival, records, and digital asset management. The AI subsystems and platform were built by:
- Dr Johan Pieterse - concept, architecture, platform lead
- Renaldo Venter - AI engineering
- Stefan du Toit - AI engineering
Heratio runs against the Qubit schema originally created for AtoM (Access to Memory) by Artefactual Systems Inc. (Copyright © 2006-2014, Artefactual Systems Inc., licensed under the GNU Affero General Public License v3.0 - see https://www.accesstomemory.org).
AtoM remains a foundational contribution to the open-source archival software ecosystem. Heratio's data model, descriptive standards (ISAD(G), ISAAR(CPF), ISDIAH, ISDF), class-table inheritance, and many cataloguing patterns derive directly from AtoM's design. Heratio is a Laravel-based platform built on top of that schema; it is not a fork of AtoM and contains no AtoM source code, but its existence depends on Artefactual's two decades of standards work, and that contribution is gratefully acknowledged.
The Heratio team thanks Artefactual Systems Inc., the AtoM contributor community, and the International Council on Archives (ICA) for the standards and tooling on which this work stands.
If you use Heratio in your research, please cite:
@article{pieterse2026heratio, author = {Pieterse, Johannes Jurie}, title = {AI-Driven Digital Transformation of Unstructured Records: A Socio-Technical Framework and Proof-of-Concept Implementation}, journal = {Information Systems Frontiers}, year = {2026}, note = {Submitted} } @article{pieterse2026samab, author = {Pieterse, Johannes Jurie}, title = {Artificial Intelligence as Collections Steward: Enabling Inclusive, Sustainable Museum Collections Management in the African Context}, journal = {South African Museums Association Bulletin (SAMAB)}, volume = {48}, year = {2026}, note = {Abstract accepted; full paper due 30 May 2026; editorial decision by 26 June 2026} }
The Archive and Heritage Group (AHG), supporting Heratio, which is built by Plain Sailing Information Systems (PSIS) Dr Johan Pieterse - [email protected]
Heratio in front. RiC beside it. OpenRiC above and beneath it.