Skip to main content

GrayMatter Is More Than RAG

· 3 min read
John McMahon
CEO, Valkyr Labs Inc

RAG was the first useful answer to a real agent problem: the model does not know your business.

But the next problem is bigger.

The agent does not just need text. It needs memory, permissions, object relationships, retrieval policy, evidence receipts, workflow ownership, and a way to know when it should not answer confidently.

That is why GrayMatter is more than RAG.

Generic RAG usually means the system retrieves chunks of text and puts them into a prompt. That is useful for search. It is not enough for autonomous work.

Autonomous agents operate inside business systems. They create content, modify tickets, run workflows, read customer records, inspect product data, and hand work to other agents. The memory layer has to understand more than "these paragraphs are semantically close."

It has to understand context as an object graph.

Memory Has to Be Governed

GrayMatter starts with durable memory primitives like MemoryEntry, but it does not stop there. The live api-0 schema exposes a broader RBAC-visible graph: organizations, customers, opportunities, invoices, products, applications, workflows, tasks, notes, content, media, files, agents, spaces, and more.

That matters because business context is relational. A support note may connect to a customer. A product gap may connect to a roadmap item. A content draft may connect to a campaign. A workflow run may connect to a task, a file, and an agent.

If the agent only retrieves loose text, those relationships disappear.

GrayMatter's better path is schema-aware memory. Agents can inspect the live OpenAPI surface, work through generated ThorAPI objects, and stay bounded by the authenticated user's permissions.

Receipts Change the Trust Model

The most important product idea is the Retrieval Receipt.

A receipt turns memory lookup into an auditable transaction. It carries retrieval status, answer policy, recommended action, quality, coverage, provenance, policy notes, trace IDs, and receipt items. The agent is supposed to inspect that policy before answering.

That sounds small. It is not.

It means the system can say:

  • answer confidently
  • answer with caveats
  • retry retrieval
  • ask for clarification
  • do not answer confidently
  • deny unsafe or unsupported output

That is the difference between retrieval as prompt stuffing and retrieval as operational control.

The Object Graph Is the Moat

GrayMatter's strongest direction is not "better document search." It is memory connected to the same object graph the business uses to run.

That is where ThorAPI matters. ThorAPI creates standardized API, model, CRUD, RBAC, and client surfaces from OpenAPI specifications. GrayMatter can use that generated schema as the map of the business environment. ValkyrAI can run workflows against it. ValorIDE can help builders inspect and extend it.

The result is an agentic software factory where memory is not a sidecar. It is part of the operating layer.

Why Buyers Should Care

AI platform teams are being asked to move from demos to durable operations. They need agents that can act, remember, explain, and improve without leaking data or inventing authority.

Generic RAG answers one question: what text is relevant?

GrayMatter answers a harder set of questions:

  • What evidence can this user actually access?
  • Which object did it come from?
  • Is the evidence fresh enough?
  • Is the retrieval strong enough to answer?
  • What should the next agent remember?
  • Which workflow or artifact should this connect to?

That is the buyer pain hiding underneath the AI agent boom.

The market does not need more agents that sound confident. It needs agents with memory, receipts, and a governed place to stand.