Introducing Rabbit Agent: Proactive GCP cost optimization in pull requests
Kristóf Horváth
6 min read

We’re introducing Rabbit Agent, which brings Google Cloud cost optimization into your pull requests. The problem is familiar: waste is often locked in at the IaC and configuration layer long before billing dashboards show it, and higher PR velocity from agent-assisted development makes “merge first, optimize later” the default path. Rabbit Agent is built to shift optimization left in your team’s workflow, catching cost waste before it ships.
Agentic tools and higher PR velocity have turned code review into the bottleneck for many teams. Reviews routinely cover correctness and security; economics rarely gets the same rigor. Rabbit Agent adds a cost and performance optimization lane next to those reviews, with concrete, resource-level output instead of hand-wavy “watch your spend” advice.
What are the key features of Rabbit Agent?
Both Rabbit Agent features draw from the same structured knowledge of Google Cloud pricing patterns, resource relationships, and optimization heuristics that Rabbit has built up over years of GCP optimization for clients. You can think of Rabbit Agent as an experienced GCP optimization architect working 24/7 to review all your PRs. Meanwhile, this architect also automatically opens ready-to-review optimization PRs implementing the core Rabbit platform’s recommendations.
Cost-aware code review
On infrastructure and query pull requests, Rabbit acts as an AI cost reviewer on the diff: inline comments on specific lines, severity-rated findings, and a summary that rolls up estimated cost impact where pricing can be determined. GitHub-native suggestions let reviewers apply fixes with ease.

The intent is the same as a strong human review from someone who lives in GCP economics, delivered automatically when the PR opens. Reviews cover Terraform, Helm values, Kubernetes manifests and BigQuery SQL.

Applying recommendations
For teams already using the Rabbit platform, Recommendation Applier is the proactive counterpart to PR review. PR review catches new waste in incoming changes; the applier turns existing Rabbit recommendations into ready-to-review pull requests: surgical edits to Terraform (and related IaC) that match your patterns, plus a body that summarizes estimated savings, links back to recommendations, and shows a clear diff.
Delivery runs through the same GitHub or Bitbucket app you use for reviews.

For Rabbit users: cost context in coding agents
Coding assistants are fast at generating infra, but they are blind to bill impact and optimization tradeoffs unless you feed them structured context. Rabbit customers can add that context to their agents: plugins for Claude Code, Cursor, OpenAI Codex, and GitHub Copilot sit beside your existing agent setup, and the followrabbit CLI (followrabbit costreview) scans local Terraform and returns guidance with paths and line references your agent can apply.
This is not the same as prompting any agent with “follow GCP best practices.” The agent gets structured context about your stack: how modules compose, which environments differ, and where your repo’s patterns diverge from defaults, then applies Rabbit’s optimization knowledge on top of that picture.
Where Rabbit Agent integrates into your toolchain
Once you know the two features, the plumbing is intentionally boring: connect your Git host once, and let the semantic layer run behind the scenes. Rabbit Agent lives in the Rabbit app: connect GitHub or Bitbucket from Home > Rabbit Agent, follow the setup, and reviews attach to the PR timeline your reviewers already use. Recommendation Applier pull requests arrive through the same connection.
How Rabbit Agent is different
Most FinOps tooling focuses on analyzing historical spend (billing, budgets, anomalies). Linters enforce syntax and policy, not dollars. Generic assistants lack infrastructure context and up-to-date information on interconnected pricing mechanics.
Rabbit Agent targets the development workflow with cost-specific, line-level output and recommendations you can implement before the bill is impacted:
| Billing tools | Static linters | Generic AI | Rabbit Agent | |
|---|---|---|---|---|
| When | After deployment | Before deploy (syntax and rules) | On request | During code review and development |
| What | What was expensive | Rule violations | General advice | Cost-oriented analysis of infra changes |
| How specific | Service- or project-level | Often file-level | Often vague | File and line references with estimates where possible |
| GCP depth | Shallow for code paths | None for dollars | Generic | Opinionated patterns from specialized optimization work |
| Action | Dashboards and tickets | CI failures | Copy-paste from chat | Inline suggestions and optimization PRs |
The goal is not another dashboard tab. It is to shift-left cost optimization, making the pull request the first place expensive mistakes are caught.
How does Rabbit Agent work? Under the hood (at a glance)
Rabbit Agent packages shift-left cost optimization into two concrete workflows that share one semantic layer: PR cost review and recommendation-to-PR automation.
- Pull-request review runs when a pull request opens: Rabbit reviews its infrastructure and SQL changes, then posts inline findings and a summary.
- Recommendation Applier pulls pending recommendations from the Rabbit product, maps them to files in your IaC repository, and opens a branch and PR with minimal, pattern-matching edits.
Start from the Rabbit Agent feature overview to see how each piece fits your team. Ready to get started? Sign up for Rabbit or book a demo.
Want the fundamentals behind the PR suggestions? Start here:
BigQuery Cost Optimization: A Practical Guide for Data and Engineering Teams
Want a deeper background on BigQuery reservation economics?
This guide walks through editions, reservations, and practical sizing:


