Ross ROSS = Recommend OSS · open-source software intelligence for agents

stategraph/stategraph

Terraform without the state file bottleneck observed · 2026-09-03

github.com/stategraph/stategraph · homepage · OCaml · MPL-2.0 (copyleft) observed · 2026-09-03

Health v2 · maintenance only

86/100

  • Activity 100
  • Release rhythm 88
  • Longevity 49
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 0.0
  • age_days: 699
  • days_rel: 0
  • days_push: 0
  • n_releases_24m: 577

Full methodology

Adoption not part of the score

1279 stars · 73 forks observed · 2026-09-03

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Stategraph is a platform that replaces Terraform/OpenTofu's file-based state with a Postgres-backed dependency graph, enabling resource-level locking, parallel plan/apply, and SQL queries over infrastructure. It also includes GitOps orchestration (formerly Terrateam) for PR-based plans, policy checks, and drift detection, available as SaaS or self-hosted.

Use cases

  • run terraform plan and apply in parallel without state lock contention
  • query my terraform infrastructure with sql
  • detect infrastructure drift early
  • analyze blast radius of a terraform change
  • gitops workflow for terraform pull requests
  • estimate cloud costs from terraform state
  • manage terraform state across multiple states in one plan

When to choose

  • your team hits frequent terraform state lock errors or splits state files to reduce contention
  • plans are slow because they refresh the entire state for small changes
  • you want SQL-queryable infrastructure inventory, audit history, and cost analysis
  • you want PR-based Terraform/OpenTofu automation with policy and cost checks

When to avoid

  • you need a drop-in replacement for the full terraform CLI surface (init, fmt, console have no equivalents)
  • your HCL uses patterns not yet covered by Stategraph's model - run stategraph diagnostics first
  • you want a lightweight wrapper like Terragrunt/Terramate rather than a state storage replacement
  • you cannot accept a hosted service or privately distributed self-hosted server image

Facets

service · maturity active

infrastructure-as-code deployment configuration-management database cli ci-cd monitoring analytics infrastructure-as-code cloud-computing self-hosted databases cli cloud self-hosted terraform opentofu state-management gitops terrateam ocaml postgres drift-detection cost-estimation infrastructure-database devops automation docker kubernetes web-server

10 sources

Member repositories

RepositoryRoleHealth v2
stategraph/stategraphmain86

For agents

markdown · JSON · MCP: product_card(name="stategraph/stategraph")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem