Why AI agents need a context graph
A language model knows a great deal about the world and nothing about how one particular company works. Systems of record store what happened: the approved invoice, the closed case. They rarely store why: the exception that was granted, the rule that was applied, the person who had to sign off.
That reasoning lives in people’s heads, inboxes, and chat threads. An agent without it follows the documented path and breaks on the first exception.
What a context graph contains
- Processes and steps, in a hierarchy.
- Roles and people who perform, approve, and own them.
- Systems and data that each step reads and writes.
- Documents and policies that govern the work.
- Business rules and decisions, stated explicitly.
- Exceptions and precedents: what happened when the normal path did not apply.
- Evidence: the recording, interview, or document each item came from.
The relationships carry as much value as the items. “This step is performed by this role, in this system, under this rule, with this exception, according to this source” is a statement an agent can act on and a reviewer can check.
Context graph vs knowledge graph vs RAG
- A knowledge graph models entities and facts: customers, products, suppliers, and how they connect.
- A context graph adds process and decision context: how work is done, which rules apply, and why.
- Retrieval-augmented generation (RAG) retrieves passages of text that look relevant. It does not, by itself, know how those passages relate. A context graph gives retrieval that structure.
How a context graph is built
- Capture how work happens, through recordings, interviews, documents, and event logs.
- Extract the steps, roles, systems, rules, and exceptions.
- Link each item to related items and to its source.
- Review with the people who do the work, and resolve open questions.
- Maintain it as the work changes, so agents are not operating on last year’s process.
What a context graph enables
- Agent instructions grounded in the real process, not the idealized one.
- Agents that know when to stop and ask a person.
- Evaluation cases drawn from real situations, including exceptions.
- Consistent behavior across agents that share the same context.
- Impact analysis when a system, policy, or team changes.
How Linc builds context
Linc builds this context from captured work. In Library, each step stays connected to its roles, systems, rules, exceptions, and the recording, interview, or document it came from. Designer carries that into agent instructions, test scenarios, and expected outcomes.
A process map explains the sequence. The context alongside it explains the decision, the exception, and the evidence a reviewer needs. The result gives agents more than a sequence to repeat: it explains the rules and when to ask a person.
