Rabbit logo

Introducing Rabbit Agentic: Proactive GCP cost optimization in PRs and agents

Kristóf Horváth

7 min read

Hero image for 'Introducing Rabbit Agentic: Proactive GCP cost optimization in PRs and agents' article

We’re introducing Rabbit Agentic, a suite of tools and AI workflows that bring Google Cloud cost optimization into your pull requests, IDE, and the coding agents your team already uses. 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 Agentic 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 Agentic 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 feature sets of Rabbit Agentic?

Every capability under Rabbit Agentic draws 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 this new feature set as an experienced GCP optimization architect working 24/7 to review all your PRs and to make sure the agents your teams use deliver optimized configurations only. Meanwhile, for Rabbit users, this architect also automatically opens ready-to-merge optimization PRs implementing the core Rabbit platform’s recommendations.

Cost-focused 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 Agentic’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. Default coverage centers on Terraform, with optional paths for Helm values, Kubernetes manifests and BigQuery SQL depending on configuration.

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

Context enrichment for 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. Context enrichment adds cost-aware, repo-wide analysis into agent workflows: plugins for tools such as Claude Code, Cursor, OpenAI Codex, and GitHub Copilot, plus a CLI that 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.” Generic prompts recycle public guidance and whatever fits in the chat window. Rabbit’s context enrichment is built so the model sees your environment: how modules compose, which environments differ, how resources reference each other, and where your repo’s patterns diverge from defaults. The agent gets structured context about your stack, then applies Rabbit’s optimization knowledge on top of that picture.

Unlike a one-off chat prompt, this path is built to read your whole repository layout (modules, environments, repeated patterns), not only the file fragment in the editor, so recommendations stay grounded in how your stack is actually wired.

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 can be Rabbit-managed (for example via the same GitHub-centric path you use for reviews) or self-deployed in your own Google Cloud project if you need full control of scheduling, networking, and multi-provider Git.

Rabbit Agentic’s Recommendation Applier opens ready-to-merge PRs implementing Rabbit’s optimization suggestions

Where Rabbit Agentic integrates into your toolchain

Once you know the three workflows, the plumbing is intentionally boring: install what matches your team, authenticate once, and let the semantic layer run behind the scenes.

  • The GitHub App is the primary entry for teams that want cost review directly on pull requests: install, select repositories, and reviews attach to the PR timeline your reviewers already use.

  • Agent plugins (Claude Code, Cursor, OpenAI Codex, GitHub Copilot) sit beside your existing agent setup so cost signals show up inside the same loops where code is written and refactored.

  • The followrabbit CLI (followrabbit costreview) supports local scans and scripted use: extract Terraform from the working tree, send structured context to Rabbit’s API, and feed the response back to a human or an agent as markdown with actionable references.

How Rabbit Agentic 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 Agentic targets the development workflow with cost-specific, line-level output and recommendations you can implement before the bill is impacted:

Billing toolsStatic lintersGeneric AIRabbit Agentic
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, agent-ready blocks, and optimization PRs

The goal is not another dashboard tab. It is to shift-left cost optimization, making the pull request and the agent session the first place expensive mistakes are caught.

How does Rabbit Agentic work? Under the hood (at a glance)

Rabbit Agentic packages shift-left cost optimization into three concrete workflows that share one semantic layer: PR cost review, agent context enrichment grounded in your repository, and (for Rabbit customers) recommendation-to-PR automation.

  • Pull-request review is event-driven: GitHub notifies Rabbit when a relevant pull request changes state; the service fetches the diff, filters to infrastructure files, runs analysis against the semantic layer, then publishes inline findings and a summary.
  • Context enrichment follows a scan-then-analyze pattern: the CLI enumerates Terraform resources and module boundaries, sends that structure to the API, and returns structured guidance so an agent can reason across the repo.
  • 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 Agentic feature overview to see how each piece fits your team. Ready to get started? Head to the Rabbit Agentic subscription page to start using the free tier with a generous quota (~50 PR reviews).


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

More from our blog

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
Hero image for 'BigQuery Reservation Groups: How Idle Slots Flow Between Related Reservations' article
BigQuery Reservation Groups: How Idle Slots Flow Between Related Reservations

Reservation groups let you bias idle slot sharing toward related reservations before the rest of the pool competes. Here is how the two-tier split works, when to use it, and what Google currently limits.

Read more
Hero image for 'Before You Commit: How to Optimize BigQuery Reservations and Find a Right-Sized Commitment?' article
Before You Commit: How to Optimize BigQuery Reservations and Find a Right-Sized Commitment?

Learn how to size BigQuery commitments with second-by-second usage analysis, avoid overcommitment, and reduce autoscaling waste before signing 1- or 3-year terms.

Read more
Contact us icon

Get in touch to start saving

We help businesses save 30-50% on their Google Cloud spending and provide full clarity on their costs.
Automated cloud cost optimization for teams at scale

Rabbit helps engineering and data teams manage and optimize cloud costs across large Google Cloud environments, without slowing down delivery.

ISO 27001 badgeSOC 2 badge

SolutionsCost Insights for All TeamsFor Data TeamsBigQuery for Data TeamsFor Platform TeamsAutomationAgentic Cloud Cost Optimization
Google Cloud Partner logoGoogle Cloud Platform Marketplace logo with link

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