Agents write the code. Your rules still hold.
The ops0 CLI checks every Terraform change a coding agent writes against your policies and budget before its turn ends, and stops destroy commands before they run.
ops0 brings your clouds, runtime, infrastructure code, and workflows into one operating context. For AI coding agents that write Terraform, OpenTofu, or Oxid, the ops0 CLI runs validation, lint, policy and security checks, a cost estimate, and a budget check at the end of every agent turn, returns failures to the agent so it fixes them, blocks terraform destroy before it runs, and records every failed check and blocked command.
$ ops0 validate .ops0 validate . (4 files, 8.2s)✓ Configuration is validtflint: 0 error(s), 2 warning(s), 0 notice(s)scan: 14 passed, 1 failed. Severity: 1C / 0H / 0M / 0L[CRITICAL] no-public-s3: S3 bucket has public read accesscost: $284.50 / month across 6 resource(s)budget: ✓ $284.50/mo within project limit of $500.00/mo.$ terraform destroy -auto-approveops0 governance: this command would destroy infrastructure.Blocked by: organization policy (no unrestricted destroy)Override: prefix with OPS0_ALLOW_DESTROY=1 and rerun.
Review used to happen on the pull request. Now it has to happen before the agent stops typing.
The agent writes the change.
It edits the Terraform and ends its turn. Nobody has to remember to ask for a scan.
Rules before, checks during, a record after.
The agent starts with your rules.
Small tool, strict gate.
curl -fsSL https://raw.githubusercontent.com/ops0-ai/ops0-cli/main/install.sh | sh ops0 login --api-base https://brew.ops0.ai ops0 init
customer/beta → project beta
nearest .ops0/config.json, 12 levels deep
Files go to ops0 over HTTPS for validation and are not kept. Credentials sit in your user config with owner-only permissions. Org-wide rules apply by default; bind a folder to a project when you want that project's policies and budget too.
Common questions
Let agents write fast.
Ship only what passes.
Install the CLI in a minute. Every change an agent writes is checked against the rules your platform team already runs, and production stays behind a reviewed plan and an approval.