Rabbit logo

Introducing Rabbit Agent: Proactive GCP cost optimization in pull requests

Kristóf Horváth

6 min read

Hero image for 'Introducing Rabbit Agent: Proactive GCP cost optimization in pull requests' article

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.

Rabbit Agent’s cost optimization comments on open PRs to shift cost-awareness left in your workflow

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.

Rabbit Agent’s cost optimization review comments summarize the cost impact of changes and potential savings with Rabbit’s recommendations

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.

Rabbit Agent’s Recommendation Applier opens ready-to-review PRs implementing Rabbit’s optimization suggestions

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 toolsStatic lintersGeneric AIRabbit Agent
WhenAfter deploymentBefore deploy (syntax and rules)On requestDuring code review and development
WhatWhat was expensiveRule violationsGeneral adviceCost-oriented analysis of infra changes
How specificService- or project-levelOften file-levelOften vagueFile and line references with estimates where possible
GCP depthShallow for code pathsNone for dollarsGenericOpinionated patterns from specialized optimization work
ActionDashboards and ticketsCI failuresCopy-paste from chatInline 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:

Download our white paper: How To Get Started With BigQuery Editions and Reservations

FAQ

Rabbit Agent brings Google Cloud cost optimization into pull requests and IaC workflows. It solves the problem that cloud waste is often locked in at the infrastructure and configuration layer before billing dashboards show it. Rabbit Agent adds a cost and performance optimization lane to code review, delivering resource-level findings before changes ship.

Cost-aware code review: Rabbit analyzes infrastructure and query diffs and posts inline comments with severity-rated findings and cost impact estimates. Recommendation Applier: turns Rabbit platform recommendations into ready-to-review Terraform PRs with savings estimates. Rabbit customers can also bring the same cost context into coding agents with plugins for Claude Code, Cursor, OpenAI Codex, and GitHub Copilot.

Billing tools act after deployment. Generic AI assistants recycle public best practices without knowledge of your specific environment. Rabbit Agent runs during code review, produces file- and line-level references with cost estimates, and applies GCP optimization heuristics built from years of client work on top of structured context from your specific repository.

Rabbit Agent is for Rabbit customers. To turn on automatic cost review on pull requests, connect GitHub or Bitbucket from Home > Rabbit Agent in the Rabbit app and follow the setup. Rabbit customers can also add cost context to their coding tool (Claude Code, Cursor, OpenAI Codex, or GitHub Copilot) with a plugin, or use the followrabbit CLI with the `costreview` command to scan Terraform in a working tree. Not a customer yet? Start at subscriptions.followrabbit.ai.

More from our blog

Hero image for 'Case Study: From Surprise BigQuery Bills to Pre-release Cost Control' article
Case Study: From Surprise BigQuery Bills to Pre-release Cost Control

How a low-cost airline cut BigQuery spend by 23% and overall GCP costs by 15% during a Rabbit proof of concept, and made pre-release cost checks part of the engineering workflow.

Read more
Hero image for 'Why GCP Cost Dashboards Fail and How to Move to Automated Optimization' article
Why GCP Cost Dashboards Fail and How to Move to Automated Optimization

GCP cost dashboards show what already happened. Learn why bigquery cost monitoring alone is not enough and how FinOps for bigquery teams move to automated optimization.

Read more
Hero image for 'Rabbit at Google Cloud Summits in Europe: June 2026 events and sessions' article
Rabbit at Google Cloud Summits in Europe: June 2026 events and sessions

Rabbit is at four Google Cloud Summits across Europe in June 2026. See our sessions and meet our team in Stockholm, Paris, Frankfurt, and London.

Read more
Contact us icon

Get in touch to start saving

We help data teams cut BigQuery costs by 32% on average and see exactly where every slot hour goes.
The autonomous engine for BigQuery cost and performance
Book a demoTry it free

SOC 2 Type II
audited

ISO 27001
certified

Google Cloud
Marketplace

Google Cloud
Partner


PlatformOverviewAutomateObserveBuildGovernPricing

Rabbit logo
TERMS AND CONDITIONS
PRIVACY POLICY
security
© 2026 Follow Rabbit PTE Ltd. Google Cloud Partner.