@pretendhome3
Mical NeillFounder▲5
Co-Founder & CEO, Mission Canvas
1h ago · AI Engineering, Agents · San Francisco

What fixed our agent wasn't a knowledge graph

We're building a local-first assistant that works over a person's own files. For the past few weeks we've been working on a question many agent builders seem to be circling: does an ontology or knowledge graph actually make an agent better at answering and acting, or does it only feel like it should?

We tested it rigorously, with pre-registered, blind A/B runs on real code. The questions were written by someone who never saw the implementation, scoring was strict, and an adversarial reviewer's only job was to break our results.

What we found:

  • An ontology as the backbone never beat "no ontology." When it sat between the request and the action, the best it did was tie, and usually it made routing worse.
  • Questions about people were the biggest gap: "Who do I call about X?" or "What number do I use for Y?" On blind questions where the answer was right there in the files, the base system answered 0 of 128.
  • The fix wasn't a graph. It was making the database we already had aware of who the people are. That alone took us from 0 to 42 correct, with 0 wrong.
  • Links between people helped in only one case: when the relationship is written in one document and the detail you need is in another. Within a single passage, simple proximity performed as well as the graph.

Our takeaway so far: the verb decides what to do, and the data decides how to do it. The ontology isn't a separate layer. It's your existing store, made relational in the right places, so a multi-hop question becomes a simple join.

I'm curious where others have landed:

  1. If you use a graph or ontology in an agent, does it sit in the routing path, or after the action is chosen?
  2. Have you measured it against a strong plain baseline, or only against no baseline at all?
  3. Has anyone kept a separate graph layer in sync with their main store over the long term?

Comments

No comments yet
Start the conversation.
Log in to join the thread.