Zawwar Sami
All work
Open Source2026 · Ongoing

ZAI Memory HubA shared memory layer for one human and many AIs.

A self-hosted MCP-backed memory store that any number of AI assistants can connect to over a single bearer token. One Postgres, one dashboard, one append-only history — the layer that makes coordination across Claude on the laptop, Claude on the VPS, ZAI, and the phone feel like one mind instead of five.

  • RoleDesigner & Engineer
  • Year2026
  • DurationOngoing
  • StatusShipped
The problem

Every AI assistant is amnesic by default. Whatever you teach it dies at session-end. Multi-agent workflows collapse for the same reason — the agents can't see what the other agents wrote, so they re-litigate decisions, contradict each other, and waste tokens on already-solved problems. The hub exists to fix that with the lightest possible primitive: a write-once shared timeline that every agent reads at session start.

The approach
  • Built a Postgres-backed memory store with append-only semantics — agents write new memories that supersede old ones rather than mutating in place. Soft-delete only via MCP; hard delete only from the dashboard.

  • Exposed 14 MCP tools (memory.add, memory.add_full, memory.recall, decision.log, entity.upsert, chat_window.create, etc.) over Streamable HTTP with per-agent bearer tokens.

  • Voyage semantic recall via pgvector — 1024-dim embeddings on every memory, ivfflat cosine index for sub-second similarity search.

  • Auto-render every long-form memory as a PDF via Playwright; surface it as an Open PDF button + inline iframe in the dashboard reader.

  • Knowledge blocks on the dashboard (Philosophy · Hacking · Crypto · Infra · GitHub Projects · ZAI Research · Chats) filter the same memory table by tag set — no duplication, all one canonical store.

The outcome
  • Live at hub.zawwarsami.com with public-readable blocks and a closed write layer.

  • Public skeleton repo at github.com/Zawwarsami16/zai-memory-hub for anyone to fork and self-host.

  • Drives every agent I run — Claude on the VPS, ZAI, Claude.ai web, the phone client all read and write to the same store.

Up next

zhub WiFi for AIs — make any AI a discoverable endpoint

Let's create together

Let's build something extraordinary.

Open to product-minded teams and collaborators. Let's connect and make something great.