Introducing Graph Traversal in Infrahub

|

Jul 2, 2026

In this post

Category

Infrastructure teams are increasingly using agents to help plan changes, answer dependency questions, and keep infrastructure aligned with intent.

But that only works if the underlying data is connected, trustworthy, and rich enough for both engineers and agents to reason about relationships.

Infrahub has always stored your data in a graph, where the relationships between objects are first-class. With Graph Traversal in Infrahub 1.10, those relationships become something you can navigate directly, whether you’re investigating an issue yourself or using an agent as part of the workflow.

You can trace the path between any two objects, or find everything a given object depends on, from the UI, the GraphQL API, the Python SDK, or an AI assistant connected through the MCP server.

Built for the Way Infrastructure Connects

Real infrastructure is a web of relationships. A device connects to interfaces through bays and line cards; an interface connects through cables and circuits to a remote device; a service depends on a chain of objects several hops deep.

Now, you can ask Infrahub to show you exactly how systems in your network connect, and what depends on them – visually, and as a backend API for engineers and agents to use.

Graph Traversal, our newest capability, is what makes this possible. It has two modes:

1. Path Traversal

Which answers the question “How are these two things connected?”

Pick a source and a destination, and Infrahub returns every path between them through the graph, with hop counts showing the length of each path.

Click a path to highlight it, then click on any object to jump to its detail page.

Path Traversal is an easy way to trace connectivity when you’re investigating packet loss, validating a design, or trying to understand how two systems are related.

2. Dependency Mode

Which answers the question “What’s affected if this fails?”

Pick a source object and the kind of object you care about (such as services, customers, devices), and Infrahub will discover everything that depends on it, up to a configurable depth.

You can use Dependency Mode to analyze blast radius and impact when a maintenance window lands or a device drops off the network.

Both modes use the same visualization Infrahub already uses for its schema, so the experience is consistent across the platform.

Watch a quick Graph Traversal demo

A Foundation for AI-Driven Operations

The same traversal that helps an engineer is what an agent needs to operate safely.

Connected through Infrahub’s MCP server, an AI assistant can call Graph Traversal to determine how objects relate and what depends on a given object. That gives the agent a focused, relationship-aware model to work from (which, otherwise, it would’ve had to reconstruct itself).

For example, say you receive a circuit maintenance notification and you want your agent to parse it.

The agent would:

  1. First call the traversal API to find every dependency of that circuit.
  2. Then produce an impact report inside Infrahub, against governed data.
  3. Finally, propose a change to the network, which goes through the same branching, review, and approval workflow as any change made by a person.

You could also use agents to troubleshoot. Here’s a quick scenario:

How to Use It

Simply:

  1. Set a source object
  2. Choose a mode (Path Traversal or Dependency mode)
  3. Pick a destination (or a destination kind)

Infrahub will render the result as an interactive graph you can explore.

For automation and scripts, both Path Traversal and Dependency modes are exposed through GraphQL and the Python SDK. Since the same endpoints power MCP-connected agents, traversal is available to your AI workflows out of the box.

Also, Graph Traversal always reflects the context you’re working in. So if you’re operating on a branch, results reflect the state of that branch rather than production, and results only ever include objects you have permission to see.

Why This Matters

Infrahub’s job is to be the authoritative, connected data layer for infrastructure automation, and increasingly, for the agents operating on top of it. That job depends on two things being true at once: (1) your data has to be modeled accurately, and (2) your data has to be reachable by everyone (and everything) that needs to act on it.

With Graph Traversal, the same dependency model your schema already describes becomes something everyone can use, engineers, automation, and agents alike.

For network and operations teams, that means impact analysis in seconds. And for the AI-driven operations you’re building toward, it means agents that can finally reason about your infrastructure on a foundation you control.

Additional Resources

Alex Gittings

Alex Gittings | A network automation architect who’s spent nearly a decade turning complex infrastructure problems into elegant tooling. Currently Solutions Architect at OpsMill, having previously built and maintained IP Fabric’s Ansible Collection, Zabbix Integration, and NetBox Plugin. Believes the best automation solutions come from listening closely to the people doing the work, whether that’s in a customer meeting or on stage at an industry event.

REQUEST A DEMO

Infrahub logo

See what Infrahub can do for you

Get a personal tour of Infrahub Enterprise

Learn how we can support your infrastructure automation goals

Ask questions and get advice from our automation experts

By submitting this form, I confirm that I have read and agree to OpsMill’s privacy policy.

Fantastic! 🙌

Check your email for a message from our team.

From there, you can pick a demo time that’s convenient for you and invite any colleagues who you want to attend.

We’re looking forward to hearing about your automation goals and exploring how Infrahub can help you meet them.