Generate an onboarding prompt to unlock full graph development capabilities

Welcome to the Supermodel API

Generate rich code graphs from any repo with a single API call. Give agents a persistent architectural source of truth they can reason over and return to across sessions and context compactions.

How to get started
Generate an API key, then generate and query graph JSON across any language. All graph types unify through a consistent IR.
Developer Docs
Guides · Reference · Examples
Open-source on GitHub
SDKs · CLIs · Samples
MCP Server
AI agent integration
Graph Types

A quick glance at what you can query.

Supermodel Graph
Unified multi-layer codebase model.
Call Graph
Functions → Functions with call sites.
Dependency Graph
Imports & module links.
Architectural Domain Graph
Classify files and functions into architectural domains by behavior, not location.
Parse Trees
Syntax trees per file.
Program Dependence Graph
Coming Soon
Unified control flow and data flow across your codebase.
Usage
Analysis Types Available
Dependency Graph
Imports & module links
Dead Code Detection
Find unreachable code
Impact Analysis
Blast radius for changes
Circular Dependencies
Detect dependency cycles
Test Coverage Map
Tests-to-source mapping