Works with your existing Terraform/OpenTofu

Terraform & OpenTofu without the
state file bottleneck

Stategraph replaces the flat state file with a database-backed graph. Independent changes can run in parallel, and the state becomes queryable and auditable. No code changes.

Parallel teams No lock waiting Audit-ready state

Plans in seconds, not minutes

Same infrastructure. Same change. Dramatically different wait time.

Traditional Backend
$ terraform plan
Refreshing state... [2847 resources]
! 3m 47s elapsed...
Still refreshing: aws_instance.web[142]
Stategraph
$ stategraph plan
Computing change cone... [12 resources]
Plan ready in 2.3s
Skipped 2835 unchanged resources

Learn how it works →

Available Now

Start with Stategraph Inventory

Your complete infrastructure catalog, automatically maintained from Terraform state. Track costs, ensure tag compliance, and discover resources across all clouds—no waiting for Velocity.

Explore Inventory Start Free

What Stategraph makes possible

Teams run in parallel

If resources don't overlap, everyone ships

?

Query your infrastructure

SQL-queryable state, not JSON parsing

Resource-level control

Resource-level locking & RBAC

Teams run in parallel

If resources don't overlap, everyone ships

?

Query your infrastructure

SQL-queryable state, not JSON parsing

Resource-level control

Resource-level locking & RBAC

From flat files to dependency graphs

OLD MODEL
State as a file
Global locks
Serial execution
Audit via CI logs
STATEGRAPH
State as a database
Resource ownership
Parallel where safe
SQL queries and diffs

Under the hood: API and database

Stategraph has two parts: a CLI that provides the same interface as Terraform, and a backend that fundamentally reimagines how state is stored and processed—as a dependency graph in PostgreSQL, not a flat file. The CLI doesn't orchestrate Terraform; it executes graph-aware operations directly against the database.

stategraph plan
stategraph apply
stategraph query

STATEGRAPH CLI

Replaces Terraform & OpenTofu CLI
Manages Graph-aware execution
Provides Query interface
Replaces
Terraform & OpenTofu CLI
Manages
Graph-aware execution
Provides
Query interface

HTTP API SERVER

POST /transactions
GET /transactions/{id}
GET /graph
POST /query

POSTGRESQL DATABASE

id
type
name
depends_on
status
1
aws_vpc
main
NULL
active
2
aws_subnet
public-1a
1
active
3
aws_subnet
public-1b
1
active
4
aws_security_group
web-sg
1
active
5
aws_instance
web-server-1
2,4
active
6
aws_instance
web-server-2
3,4
pending
7
aws_alb
main-lb
2,3
active
8
aws_db_instance
postgres-prod
3
active
Resources as rows • Dependencies as foreign keys • Graph traversal via SQL joins
Parallel-safe
Disjoint ops run together
SQL-queryable
Direct database access
Graph-native
Dependencies as edges
Audit-ready
Every change tracked

Visual interface

Visualize the dependency graph, run SQL queries, and browse transactions — all in one place.

Stategraph mock UI showing a dependency graph, SQL query panel, and transaction log Stategraph mock UI showing a dependency graph, SQL query panel, and transaction log
Graph explorer SQL results Transaction log Resource ownership
shell
$ # Want this in your hands? $ echo "Notify me when Stategraph launches" | \ mail -s "Launch Updates" hello@stategraph.com

See the difference

Watch how Stategraph parallelizes your infrastructure operations

Traditional Backend

terraform apply 00:00
[VPC ] waiting
[Subnets ] waiting
[Security ] waiting
[RDS ] waiting
[ALB ] waiting
[ASG ] waiting
[Route53 ] waiting
[CloudFront ] waiting

Stategraph

stategraph apply 00:00
[VPC ] waiting
[Subnets ] waiting
[Security ] waiting
[RDS ] waiting
[ALB ] waiting
[ASG ] waiting
[Route53 ] waiting
[CloudFront ] waiting
Parallel Team execution
Graph Dependency aware
SQL Queryable state

Get launch updates

Be the first to know when Stategraph launches.

Why Terraform & OpenTofu need a new backend

FILE
State is stored as a monolithic JSON file. Every plan loads the entire file. Result: slow plans at scale.
LOCK
Global lock blocks all teams. Even those working on unrelated resources. Result: teams queue behind each other.
BLIND
State is opaque binary data. No queries. No insights. No audit trail. Result: Debugging via CI logs.
SERIAL
Resources execute one at a time. Even when operating on completely separate parts of the tree. Result: Wasted time waiting for unrelated changes.

Two ways to deploy Stategraph

Use Stategraph as a Terraform backend for inventory and queries, or add the CLI for faster plans.

5-minute setup

Terraform Backend

Point your Terraform/OpenTofu backend configuration at Stategraph. No CLI installation needed.

What you get:
  • Infrastructure inventory & CMDB
  • SQL-queryable state
  • Resource change history
Full power

Backend + CLI

Install the Stategraph CLI for drop-in Terraform/OpenTofu replacement with performance enhancements.

All backend features, plus:
  • Subgraph-based execution
  • Parallel team operations
  • Incremental resource refresh

Frequently Asked Questions

Contact

Contact us
$ echo "your message" | mail -s "Stategraph Inquiry" hello@stategraph.com