Skip to main content

Agentic Memory Domain

GrayMatter owns durable agentic memory and RBAC-scoped object graph awareness. It does not own live agent coordination. SwarmOps owns agent registration, presence, command routing, graph snapshots, and coordination state.

Boundary

CapabilityOwner
Durable memory entries, relationships, compaction, reindex, prune, expansionGrayMatter
RBAC-visible object graph context from the full Valhalla schemaGrayMatter through server-authorized APIs
Agent registration for CODEX, OpenClaw, ValorIDE, Claude adapters, and Valkyr agentsSwarmOps
Live coordination, command forwarding, graph snapshots, telemetrySwarmOps
Workflow execution over memory or graph contextValkyrAI
Chat-based memory actions and adviceValor
Coding-agent memory usageValorIDE and third-party agents through GrayMatter APIs

Object Graph Scope

The entire ThorAPI/ValkyrAI schema can be used as object graph material by GrayMatter, but only through the RBAC of the server. Memory-aware agents should see:

  • objects they are authorized to read
  • relationships the server permits
  • encrypted/secure field metadata without decrypted secrets unless explicitly authorized
  • semantic health and memory quality metrics
  • agent and SwarmOps metadata needed for coordination

Agent Journey

User Journey

A GrayMatter user wants to:

  1. See what memories exist and why they matter.
  2. Secure, edit, delete, compact, reindex, prune, or expand memory.
  3. Control which agents can read/write memory.
  4. Understand cost and credit burn.
  5. Inspect multiagent environments without confusing coordination state with memory state.

Code Anchors

  • Memory dashboard: src/components/memory/MemoryDashboard.tsx
  • Control API contract: /v1/graymatter/control
  • SWARM API schemas: Swarm, SwarmMessage, SwarmRegisterRequest, SwarmGraphSnapshot
  • Protocol contracts: contracts/swarm, docs/graymatter, docs/protocols