Catalog and Infrastructure Graph
A versioned map of one Facets project's code and infrastructure, published from CI, that Praxis, your AI assistant, and your pipelines can query.
Infrastructure Graph builds a versioned map of one Facets project: its code repositories, each pinned to an exact commit, and its Facets infrastructure, joined where the code is deployed. Each map is a catalog. You find them under Catalog in the Praxis sidebar.
Praxis reads a catalog to answer how your code and infrastructure connect. Incident Responder uses it to spot one failure spreading across services.
What a catalog holds
A catalog is a graph of graphs: one graph per member, joined into a single bundle. It covers one Facets project, and each assembled catalog has a version.
| Member | What it is | Where it comes from |
|---|---|---|
| Code member | One source repository, pinned to one commit | Built with the ig tool, usually in your CI, and published with praxis ig publish |
| Infra member | The project's Facets infrastructure, for the environments you choose | Built by Praxis on its servers, with your organization's Facets connection |
Members are joined through shared interfaces, such as HTTP routes and queues, and through the services each repository deploys. Because each code member is pinned to a commit, a catalog describes one exact version of the project, not whatever is on a branch today.
A small manifest declares what belongs in a catalog: the Facets project, its environments, and the repositories mapped to its services.
Find your catalogs
Open Catalog in the Praxis sidebar. The ig Catalogs page lists each catalog with its version, when it was last assembled, and its member count. A dot shows freshness: green if assembled in the last 24 hours, amber within 7 days, and red after that.
Open a catalog to see four tabs:
| Tab | What it shows |
|---|---|
| Graph | The members, the interfaces that join them, and the connections between them. Select a connection to see its count and protocol |
| Members | Each member's kind, its source repository or Facets infra, its commit, and when it was built |
| Manifest | The manifest last pushed for the catalog, read-only |
| Assemblies | Each assemble run, newest first, with what triggered it, how long it took, its status, and any warnings or errors |
Create a catalog
There are two ways to start one.
| Way | What you get |
|---|---|
| From the Catalog page | Under Facets projects without a catalog, choose Create catalog for a project and pick its environments. Praxis builds an infra-only catalog: the infra member, with no source repositories yet |
| From your AI assistant | Ask your AI assistant, through the Praxis CLI, to onboard the project. It walks you through picking a Facets project and its environments, mapping source repositories to the project's services, writing the manifest, and building the catalog |
Publishing and querying a graph
You keep the manifest in a repository and push it from the command line. Your CI then builds each repository's graph and publishes it:
# Upload the catalog's manifest
praxis ig manifest push <file> --catalog <catalog>
# In a repository's CI: list the catalogs that include this repository
praxis ig claims --git <repo-url>
# Upload this repository's graph to a catalog
praxis ig publish <member-out-dir> --catalog <catalog> --member <member>Praxis reassembles the catalog after each publish, so it reflects the members published so far. A CI job can sign in with a Praxis API key (Praxis CLI).
The infra member has no repository, so Praxis rebuilds it on its servers, with your organization's Facets connection:
| When | How |
|---|---|
| Every 24 hours | Automatically, for every catalog in an organization with a Facets connection |
| When you ask | Choose Recompute infra on the catalog's page |
| After each deployment | In Facets, add a webhook notification channel for Application Deployment notifications. Point it at /ai-api/ig/infra/refresh on your Praxis address, with a Praxis API key in its Authorization header and the deployed project in its payload |
To query a catalog, ask Praxis in chat, or ask your AI assistant through the Praxis CLI. Praxis queries it on its servers: what a change would affect, what a part of the graph is and what it connects to, and the path between two parts.
From a script, or to run a query yourself, call the same tools through praxis mcp. Each query takes a catalog and one of its members, a repository's graph or infra; ig_list_catalogs lists both.
# Your catalogs and their members
praxis mcp ig ig_list_catalogs
# What a change to a service or resource would affect
praxis mcp ig ig_impact --arg catalog=<catalog> --arg member=<member> --arg target=<node>
# How two parts connect, hop by hop
praxis mcp ig ig_path --arg catalog=<catalog> --arg member=<member> --arg from_node=<node> --arg to_node=<node>ig_explain describes one part of the graph, and ig_query searches it from a phrase.
To read a catalog on your machine with the ig tool, download it with praxis ig sync <catalog>. praxis ig status shows whether your copy is current, and praxis ig list lists your catalogs.
How Incident Responder uses it
When Incident Responder investigates an alert, it checks the services connected to the affected one in the catalog for incidents that are also open.
One root cause spreading through connected services, such as a database outage taking four services down with it, then shows up as one picture instead of four separate investigations.
For an incident tied to a Facets project, it uses that project's catalogs. Otherwise, it uses the catalogs that include the service. If no catalog covers the service, Incident Responder still investigates, one incident at a time.
Read-only by design
Infrastructure Graph doesn't change your infrastructure. Building a catalog reads your repositories and your Facets setup. Publishing and assembling write only to the catalog that Praxis stores, and querying only reads it.
Every catalog is scoped to your organization. For the shared execution, credential, and permission model these run under, see How Praxis works.
Deleting a catalog from the Catalog page removes its manifest, members, assembled graph, and assembly history. It can't be undone.
Related
- How Praxis works - The shared execution and safety model
- Incident Responder - Uses catalogs to spot failures spreading across services
- Repositories - Connect your code so agents can link and read it
- Praxis CLI - Log in and run
praxiscommands, includingpraxis ig, from your terminal