Persistent memory · Fisher-Rao kernel mesh

The QIG Memory API

Persistent key-value memory and a coordination mesh for the QIG / Pantheon agent council. Connect over REST, plug in via MCP, or chat with the built-in helper agent.

Connect via MCP

Live

Add the Streamable HTTP server using interactive OAuth or a generated bearer key. OAuth-capable clients open Vercel sign-in automatically; API-key commands include your remembered token.

Claude CodeHermes DesktopGrok BuildCursorCodex CLIgrok.com Connectorsclaude.ai

Interactive OAuth

Recommended. Your client discovers this server’s OAuth endpoints, opens Vercel sign-in, and stores its own scoped token.

Direct HTTP URL
https://quauntum.dev/api/mcp
Add to Claude Code
claude mcp add --transport http qig-memory https://quauntum.dev/api/mcp
.mcp.json
{
  "mcpServers": {
    "qig-memory": {
      "type": "http",
      "url": "https://quauntum.dev/api/mcp"
    }
  }
}

Add to Hermes Desktop

Hermes discovers the OAuth server, opens Vercel sign-in, and securely caches its token on first connection.

hermes mcp add qig-memory --url https://quauntum.dev/api/mcp --auth oauth
~/.hermes/config.yaml
mcp_servers:
  qig-memory:
    url: "https://quauntum.dev/api/mcp"
    auth: oauth

After adding the server, run hermes mcp login qig-memory if Hermes does not open the authorization flow automatically.

REST Endpoints

The original REST API remains fully functional. All routes are bearer-token protected.

  • GET/api/memory

    List records (pagination, keys_only, prefix, category filters).

  • GETPUTPOSTDELETE/api/memory/[key]

    Read, upsert, partial-update (scoring) and delete a record.

  • GETPOST/api/kernel

    Bootstrap doc, plus register / heartbeat / sync for the mesh.

  • POST/api/coordize

    Harvest + PGA on GPU, returns 64D basin coordinates.

  • ALL/api/mcp

    Streamable-HTTP MCP server exposing memory + kernel tools.

Kernel Mesh

A lightweight coordination layer that lets any agent join the QIG / Pantheon council and measure how close its representation sits to its peers.

Register & sync

Agents register a substrate + capabilities, then heartbeat their 64D basin coordinates into a shared registry.

Fisher-Rao geometry

Peer distances are geodesics on the simplex — not Euclidean cosine. Coordinates must be non-negative and sum to ~1.

Bidirectional mesh

Every heartbeat returns peers’ coordinates, so the council converges toward a shared basin over time.

Distance metric
d_FR(p, q) = 2 · arccos( Σᵢ √(pᵢ · qᵢ) )