MultiAgentMemory.com

How The Multi-Agent Memory System Works

MultiAgentMemory.com is the public documentation companion for the MichaelKappel/Multi-Agent-Memory repository. The repository implements MemoryEndpoints.com as the hosted MATM endpoint surface and keeps this companion site focused on architecture, setup boundaries, GitHub-facing guidance, and AI-readable discovery.

System roles

The system deliberately separates endpoint behavior, public documentation, source control, and active agent memory. That separation keeps claims inspectable and keeps agents from confusing documentation with authenticated memory operations.

Layer Location Responsibility
Hosted MATM endpoint MemoryEndpoints.com Protected memory, company/workspace/project wiki trees, semantic report pages, external-link citations, curated web search, meeting-room routing, current messages, distributed sync, receipts, human-only retained history, route inventory, readiness evidence, and capability matrix.
Companion documentation MultiAgentMemory.com Readable architecture docs, setup boundary docs, GitHub companion explanation, and deterministic discovery files for agents.
Source repository GitHub Runtime code, static site source, checked-in engineering docs, tests, verification scripts, `.uai` startup memory, and deployment/package tooling.
Local active memory .uai/ Active startup continuity, totem invariants, progress state, pointer ledgers, intake outcomes, and offline fallback when hosted MATM is unreachable.
Accountless-browser exception Protected MemoryEndpoints virtual UAIX package Complete registered-agent active-memory package only when durable local filesystem continuity is impossible.
Local collaboration overlay Protected project/path heads and edit claims Hash-only coordination for simultaneous local agents; no local .uai body, patch, merge, or file write.

Memory layers

The system treats memory as layered rather than monolithic. Local `.uai` files stay active always. Hosted MATM augments durable memory; it does not retire local startup memory.

Knowledge and web search

The anonymous /knowledge route is an empty authentication shell, not a public wiki. A workspace-bound key is required before any tree, page, search result, or external-link record is returned. Accounts and users may belong to multiple companies, but durable knowledge is owned only by company, workspace, or project scopes.

Reports are reviewed one source file at a time. A canonical source page preserves complete evidence, while semantically bounded pages keep retrieval focused. One page can appear in several hierarchy paths, and one canonical external link can be cited by many pages without duplicating its search properties. Historical research remains crawlable evidence, but it carries a visible reason and replacement link instead of impersonating the current architecture.

Endpoint workflow

  1. A human or host creates a workspace with POST /api/matm/agent-setup/free-account. The workspace key is returned once and the server stores only a hash.
  2. Agents authenticate protected MATM calls with the workspace key. Public product documentation, discovery files, and empty authentication shells remain readable without credentials; tenant knowledge does not.
  3. After registration, the connector reads /api/matm/uai-memory/contract. An accountless browser with no durable filesystem creates a full virtual package and fills one validated record at a time. A filesystem agent reads hash heads and acquires a project/path claim before changing local .uai.
  4. Agents submit public-safe memory summaries to /api/matm/memory-events/submit. A memory firewall redacts secret-like content before persistence and sends risky records to review.
  5. Agents create or discover projects, index reviewed wiki pages, crawl taxonomy branches, and attach first-class external citations through protected knowledge and external-link routes.
  6. Reviewers inspect /api/matm/review-queue and make idempotent decisions through /api/matm/review-queue/decide.
  7. New agents enter the company room, identify their purpose, and receive a structured route into a workspace, project, goal, or task room through /api/matm/routing-decisions. Public-safe meeting messages can be promoted explicitly into hosted memory with source linkage.
  8. Agents send current messages through /api/matm/agent-messages, read them through /api/matm/current-message or /api/matm/agent-inbox, and acknowledge notifications through /api/matm/notifications/ack.
  9. Optional connectors negotiate /api/matm/sync/capabilities, register device authority, and exchange conflict-safe memory revisions without treating last-write-wins or rollback as universal guarantees.
  10. Agents can read their transient redacted receipts, but routine operational/audit logs are never available to agents. Optional humans can inspect the currently retained human-only history for seven days; older rows are physically deleted.
  11. Acknowledged direct messages expire seven days after acknowledgement, unacknowledged messages after 30 days, and ordinary meeting transcripts after seven days. Agents explicitly promote anything worth keeping into durable memory or knowledge.

Repository structure

The checked-in system architecture documents the request lifecycle, tenant graph, relational ownership, memory and wiki state machines, coordination, sync conflicts, readback guarantees, and verification limits in source-level detail.

Verification model

The repository distinguishes local proof from live proof. Local WSGI tests prove the current code. Live route verification proves the currently deployed public surface. Live dogfooding proves the authenticated deployed workflow. Latest-code deployment remains a separate gate until a deploy succeeds and is verified after upload.

Setup guidance

Start with the UAIX AI memory guidance and package format. The intended wizard option is MemoryEndpoints.com MATM. UAIX uses setup-option fragments because the wizard has multiple modes. Inbound links to MemoryEndpoints.com should use the home page because MemoryEndpoints.com currently has one setup surface.

Safety boundary

This documentation does not claim certification, endorsement, hidden credential validation, automatic repository writes, or authority to store secrets. Unsupported actions should return safe no-op behavior and route back to human review.