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.
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
Files go to ops0 over HTTPS for validation and are not kept, and credentials sit in your user config with owner-only permissions. Every run rewrites ops0-scan.md, a report the agent reads: validate, lint, findings, cost and budget.
services/checkout → project checkout
nearest .ops0/config.json, 12 levels deep
Keys, tokens and personal data are caught and redacted before anything is sent, Kubernetes Secret values never leave the cluster service, and prompt logging can be switched off per organization.
Over the ops0 MCP endpoint, an agent gets two scopes for Kubernetes: read cluster state, and open a proposal. A proposal applies only after a person approves it with a passkey, the same rule engineers and pipelines follow.
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.