Skip to content

For agents and the people who build them

A model's memory, a document search or a graph: which one should your agent ask?

Three ways to give an agent security facts, what each is good for, and where a graph answer is the wrong choice.

4 minute read

The same question, three ways

Take a CVE and ask what an analyst would do next: which techniques it enables, and what can detect them.

A model's memoryDocument searchA graph over public sources
Where the answer comes fromWhatever the model absorbed in trainingPassages retrieved from documents you indexedRecords and links in a published snapshot
Which source said itOften not stated, sometimes inventedThe document that was retrievedNamed on every link, and the answer says whether a source stated it or it was inferred
A question that needs several stepsAnswered from memory, with gaps filled inDepends on whether one passage covers all the stepsA fixed path from the id through the links, with a status on each step
When there is nothingTends to answer anywayReturns the nearest passageSays the graph holds nothing on it
How currentAs of its trainingAs of your last indexAs of the snapshot, and the snapshot is named
Free-text questionsStrongStrongWeak: lookup by id and prefix, not free text

When a graph is the right choice

  • The question starts from an identifier you already have: a CVE, a technique, a weakness, a group.
  • The answer needs to be checked by a person, so the source of each fact matters more than fluent wording.
  • You want the agent to say where it has no data, and not fill the gap.

When it is the wrong choice

  • The question is free text and has no identifier. Use a search over documents.
  • The question is about your own systems. Lattice has no view of them.
  • You need every CVE. The graph is not complete, and a lookup that returns nothing is not proof that an id does not exist.

How the three fit together

They are not exclusive. A model can write the explanation, a document search can find the runbook, and a graph can supply the facts and their sources. Lattice supplies the last part and no more: it answers from public knowledge, it does not act, and a person decides.

Where to go next