How-to guides

  • Inventory your infrastructure: Use an AI agent and Stategraph SQL to list what every state manages and how the states depend on each other, from live data.
  • Check the impact of a change: Use an AI agent with Stategraph blast radius and cross-state references to find what a change to one resource can break, before you edit code.
  • Audit compliance and secrets: Use an AI agent with Stategraph SQL and security findings to check every state against your rules, and find secrets in state without printing them.
  • Answer cost questions: Use an AI agent with Stategraph cost data to rank spend by state, resource, and tag, check coverage, and price a change before you apply it.
  • Make a change with a plan-only agent: Let an AI agent edit HCL and plan with Stategraph, read the cost and security impact, and keep the apply with a person through a plan-only token.
  • Refactor into modules: Use an AI agent with Stategraph refactor sessions to move resources into modules, prove the plan is moves only, and apply without manual state moves.
  • Review what changed: Use an AI agent with the Stategraph transaction log to report what was applied, planned, refused, and aborted, with who, when, and tags.
  • Run an agent on a schedule: Run an AI agent headless on a schedule or in CI with a plan-only Stategraph token, a list of allowed commands, and a transcript of every call.