As of
What is a context graph? (And why IT needs one)
A context graph is a live model of how an organization's people, devices, apps and access connect, with every fact read from the system that owns it and stamped with when it was observed. That is the idea; Axiom™ is the live model STLabs builds from your identity, HR, device management and cloud tools, so its AI agent decides from relationships as they stand today.
Key takeaways
- A context graph stores the relationships between people, accounts, devices, apps and access as data, and records each fact's source and when it was last observed.
- AI agents in IT need a context graph because their decisions turn on relationships, such as who a person reports to and what a change will touch.
- Today the industry keeps the organization in a CMDB and directory exports, updated by hand and on a schedule, with no record of how old any fact is.
- Building one takes four parts: source connectors, identity resolution, provenance on every fact, and queries that follow relationships.
- Axiom™ is the live model STLabs builds from your source systems as they change; the agent walks it before running a workflow.
Most service desks today keep their picture of the organization the way the industry has for two decades: in a CMDB and a folder of directory exports. Each week someone exported users from the identity provider and employees from HR, matched the two files by email address, and fixed the rows that didn't line up. The import into the CMDB ran on Sunday night.
That made sense when a person did every step. The technician granting access read the record, knew it might be a week old, and checked with the manager before acting.
AI agents changed the order. An agent now reads the request, decides and grants the license, so the check a person made between reading and acting has to live in the data the agent reads.
We call that data a context graph, a term others use loosely for an index of documents or a configuration database. We use it narrowly: an AI agent is only as good as its context, and for an agent that changes access, that context is a live model read from the systems that own each fact.
What is a context graph?
A context graph is a model of your organization in which people, accounts, devices, apps and groups are nodes, the relationships between them are edges, and every fact carries its source and the time it was observed.
"Reports to", "owns", "is assigned", "is a member of" and "depends on" are stored as data in their own right. A question like "who approves this person's request" becomes a walk from the person to their manager, read from the HR system.
Each fact also carries provenance. "This laptop is assigned to this person" is an assertion: device management said it, at 2:47pm. When two systems disagree, the graph shows which one said what, and when.
Why an AI agent needs a context graph
A service desk is built on records: tickets, user entries, configuration items. An agent's decisions span them: granting access depends on the person's manager, role and device, and offboarding on every account they hold, including ones under another email.
Take a request to rotate the credentials on a service account. In a table, the account is one row with an owner. In a graph, it's a node with edges to every service that signs in through it. If a dozen production services authenticate through it, following those edges tells the agent to stop and bring in a person.
Why the CMDB can't play the part
A CMDB does hold relationships, and a good one represents years of real work. Its facts, though, arrive as a copy, kept current by scheduled imports, discovery jobs and people correcting records. The anti-CMDB guide covers why that copy drifts.
A CMDB record also doesn't say when its facts were last checked, so an agent can't tell this morning's fact from one entered at last year's reorg. The longer argument is in your system of record is not your AI agent's context.
How the industry models the organization, and how STLabs does it
| Part of the job | How the industry does it | How STLabs does it |
|---|---|---|
| Who works here and who reports to whom | HR and directory exports, imported into the CMDB nightly or weekly | Axiom™ reads HR and the identity provider as they change |
| One person with several accounts | An admin matches exports by email; duplicates fixed when someone notices | One Axiom™ record with every ID attached |
| Which device belongs to whom | Overnight discovery scan; an analyst types in the owner | Axiom™ reads device management and records when it observed each fact |
| Who approves a request | Routing tables and approval rules edited by hand | Policies & Approvals take the current manager from HR, through Axiom™ |
| What a change will affect | Service maps drawn in change reviews, updated afterwards | Axiom™ shows the blast radius before a workflow runs |
| How old a fact is | The record shows when someone last edited it | Axiom™ records each fact's source, observed time and confidence |
| When a source stops syncing | The import fails quietly and records keep looking current | Axiom™ shows when each source last synced |
Context graph architecture: what sits underneath
The technical case is in our engineering post graph over tables. In short, a context graph has four layers, and each replaces a step the industry does by hand today.
The first is sources: each fact read from the system that owns it, where today someone types it in.
The second is identity resolution. The same person is an email address in the identity provider and an employee number in HR; the graph merges them into one node that carries every ID. Without this, a converted contractor is two people, and the old account keeps its access.
The third is provenance on every fact, so a reviewer can trace any fact back to the system that supplied it.
The fourth is traversal. Questions are answered by walking edges: from a certificate to the services it secures, to the apps they power, to the people who use them. In a graph each hop is the basic operation, cheap enough to run before every action.
How to build a context graph
If you're building your own, list the few decisions you want an agent to make and model only the nodes and edges they need. Connect HR and the identity provider first, because nearly every decision starts with a person, then device management and cloud accounts. Sync on change wherever the source allows it; a nightly import brings back a day of staleness. Write identity resolution rules before you load the second source, and keep every original ID. Store source and observation time on every fact from the first day, since adding provenance later means reloading everything.
Graph databases are harder to run than relational ones, the tooling is younger, and a graph without modeling discipline becomes a tangle. Teams that do this well usually have a strong data platform and one narrow use case.
How STLabs builds a live model with Axiom™
Here is how STLabs does each row of the table above. Axiom™ is the live model at the center of STLabs and the context its agent reads, built from your source systems so nobody maintains it by hand. It connects to your identity provider, HR system, device management and cloud accounts, and tracks who owns what, who reports to whom and what talks to what.
Every fact records which system it came from, when it was observed and how confident Axiom™ is in it. Axiom™ brings linked accounts and identities from connected systems together around a person, using the identity information those systems provide. It syncs in real time, so a join, a role change or a departure shows up without a weekly export.
The AI agent works from it to resolve the request in Slack or Teams, where it was asked, instead of routing it to a queue. Before it runs a workflow, it follows Axiom™'s connections to see what depends on the thing it's about to change, which we call the blast radius. Policies & Approvals read the manager and role from Axiom™ when they decide whether a request is allowed, blocked or needs a person's approval. Requests it hands to your team arrive with the person's identity, device, access and recent changes attached. STLabs records automated ticket decisions for review, and every workflow run is logged. This is what we mean by AI-native: the agent and the live model were built together.
Your team can query Axiom™ directly, build on it, or connect your own AI agents to it. It runs alongside your current service desk, and teams go from integration to results in five days. The moving to STLabs guide shows what that week looks like.
How to test a context graph before an AI agent uses it
Whether you build a graph or see a demo, pick three people from last quarter: someone who moved teams, a contractor who converted to an employee, and someone who left.
For each, ask the graph who they report to, which accounts they hold in which systems, and which devices are assigned to them. Then ask where each fact came from and when it was observed. Check every answer against HR and the identity provider.
Next, ask what changing an important service account would affect, and compare with your platform team's answer. Finally, let a credential expire and see whether the graph shows that source's facts aging.
Run a graph that passes alongside the CMDB and the exports, and retire the copies it makes redundant.
An AI agent is only as good as its context, so ask any graph you're offered one question first: when was this true?
Frequently asked questions
What is a context graph in ITSM?
A context graph is a live model of an organization's people, devices, apps and access, with relationships stored as data and each fact stamped with its source and observation time. AI agents use it to decide before they act.
How is a context graph different from a CMDB?
A CMDB is kept current by people and imports after the fact, while a context graph reads each fact from the system that owns it. The graph also records when each fact was observed, so its age is visible.
How do you build a context graph?
Connect the systems that own each fact, starting with HR and identity. Merge duplicate identities while keeping every ID, store source and observation time on every fact, and answer questions by following relationships.
Is a context graph the same as a knowledge graph?
No, a knowledge graph links documents and concepts so answers can be found. A context graph models the organization as it is now, read from source systems. The comparison guide sets the two beside a CMDB.