AI-Native Team Memory Architecture for local-first agent operating memory and knowledge banks.
Project description
ANTMA
AI-Native Team Memory Architecture.
ANTMA is a local-first Python library for teams that run AI agents and need a clear boundary between agent operating memory and reusable knowledge.
It is deliberately small. ANTMA is a memory architecture layer: it helps teams keep raw logs, durable memory, source-of-truth notes, promotion candidates, evidence packets, and knowledge bank entries separate while still making them searchable and usable.
Why ANTMA
AI teams often collect chat logs, notes, research, decisions, and project state in one large retrieval pile. That creates three problems:
- Agents cannot tell current truth from old context.
- Humans cannot easily review or edit memory.
- Search backends become hidden sources of truth.
ANTMA starts from the opposite rule:
Multiple memory backends are allowed, but there is only one canonical memory ledger.
The canonical ledger is local, human-readable Markdown. Optional indexes and adapters are derived views.
Core Ideas
- Agent operating memory is for state, decisions, roles, preferences, and work.
- Knowledge bank content is for reusable research, examples, frameworks, and reference material.
- Source-of-truth documents outrank general memory and search results.
- Promotion candidates are pending evidence, not durable truth.
- Evidence packets make completion claims auditable.
- External backends may support search or analysis, but they do not own truth.
Scope
ANTMA owns the public-safe core of team memory:
- canonical memory ledger shape
- workspace layout and manifest
- recall priority rules
- privacy scanning guardrails
- promotion candidates for reviewed memory changes
- evidence packets for auditable completion claims
- local derived search indexes
ANTMA intentionally does not include:
- agent runtime or execution loops
- chat, email, or delivery automation
- scheduler or cron systems
- agent routing, model orchestration, or persona management
- organization-specific operating rules, names, or workflows
- hosted memory services
- automatic promotion or dreaming loops
Install From Source
python3 -m venv .venv
source .venv/bin/activate
pip install .
For local checkout, editable developer install, Git URL install, and first-run
checks, see INSTALL.md.
Documentation
INSTALL.md: local checkout, editable, and Git URL install paths.docs/tutorial.md: first workspace, evidence, promotion, scan, index, and search workflow.docs/api-reference.md: CLI and Python API reference.docs/privacy-boundary.md: public-release privacy rules.docs/public-release-checklist.md: manual checks before sharing the repo.docs/live/CURRENT-STATE.md: current public-safe project state.docs/live/NEXT-STEPS.md: release and maintenance next actions.docs/pypi-release.md: PyPI release preparation.CHANGELOG.md: release and scaffold milestones.CONTRIBUTING.md: contribution workflow and review checklist.SECURITY.md: vulnerability reporting and privacy-review guidance.examples/product-team-memory/: richer synthetic product-team workspace.
Quick Start
Create a local memory workspace:
antma init ./team-memory
Scan a workspace before sharing or publishing:
antma sanitize ./team-memory
Create a reviewable promotion candidate and evidence packet:
antma promote ./team-memory/daily/example.md --reason "Candidate durable fact."
antma evidence --objective "Public release check" --status pass \
--criterion "tests pass" --evidence "pytest=pass=all tests passed" \
--output ./team-memory/evidence/release-check.md
Build a local SQLite FTS index and search it:
antma index ./team-memory --db ./team-memory/.antma/index.db
antma doctor ./team-memory --db ./team-memory/.antma/index.db
antma search "launch decision" --db ./team-memory/.antma/index.db
Workspace Shape
team-memory/
antma.json
MEMORY.shared.md
agents/default/MEMORY.md
ssot/example.md
daily/example.md
knowledge-bank/example.md
curation/promotions/example.md
evidence/example-packet.md
For a richer public-safe example with multiple role memories, source-of-truth
notes, curation, and evidence, see examples/product-team-memory/.
Upgrade Check
After upgrading ANTMA, keep recovery explicit:
pip install --upgrade antma
antma doctor ./team-memory --db ./team-memory/.antma/index.db
antma init ./team-memory
antma index ./team-memory --db ./team-memory/.antma/index.db
doctor is read-only. It reports missing or unsupported workspace and index
metadata. init adds missing workspace files without overwriting existing files,
and index explicitly rebuilds the derived SQLite FTS index.
Privacy Boundary
This repository is intentionally generic. Do not add private runtime paths, credentials, customer material, personal chat transcripts, internal project names, or company-specific operating documents.
See docs/privacy-boundary.md for the full rule.
Community And Contact
ANTMA is maintained as a contributor-led public project. Package authorship is
listed as ANTMA contributors, with THEINNOLAB maintaining the public GitHub
repository.
Author: ANTMA contributors
Maintainer: THEINNOLAB
License: Apache License 2.0
Copyright: Copyright 2026 ANTMA contributors
Issues: https://github.com/THEINNOLAB/ANTMA/issues
Security: Prefer GitHub private vulnerability reporting. If unavailable, open a public-safe issue requesting a private disclosure channel; do not include sensitive details in the public issue.
License
ANTMA is licensed under the Apache License 2.0. See LICENSE.
Project Status
ANTMA is an early public beta release candidate. The first goal is to make the architecture, schemas, resolver, sanitizer, templates, local search path, promotion flow, and evidence flow clear enough to review and use from source.
The repository includes public-release preparation docs, issue and pull request templates, and a GitHub Actions test workflow. Package registry publication is a separate later step after release review is finalized.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file antma-0.1.0.tar.gz.
File metadata
- Download URL: antma-0.1.0.tar.gz
- Upload date:
- Size: 23.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d839d58c9cba20e908c1da75b1d66f1eec8f414931dce37fbb9db56c81b37276
|
|
| MD5 |
2b682277ce939ffd86076c57aca0e1bb
|
|
| BLAKE2b-256 |
247f18c07a0281fcab25983f827f47c1fd0da8e968456da339b12b960aca9081
|
File details
Details for the file antma-0.1.0-py3-none-any.whl.
File metadata
- Download URL: antma-0.1.0-py3-none-any.whl
- Upload date:
- Size: 23.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d9a7eded4c13fab4fcfd03a27cc96a8e3150bb990eab378f1f74e068628556a
|
|
| MD5 |
e65b923f34b0dd37a74c89de6f8cba75
|
|
| BLAKE2b-256 |
2bd7016dd532da4221697b3cb16d4ecc26cecc5a43e882fd2e24672651799dfe
|