ANTIGRAVITY LABJP
Articles/Agents & Manager
Agents & Manager/2026-06-16Advanced

Generating Multilingual Release Notes with the Managed Antigravity Agent via the Gemini API

A hands-on record of building a pipeline that turns git commit logs into multilingual App Store and Google Play release notes using the Managed Antigravity Agent, now in public preview through the Gemini API.

antigravity356agents91gemini-api7automation44app-dev32

Premium Article

When you ship four apps in parallel to the App Store and Google Play, the quietly time-consuming part of every release is localizing the release notes. When I rolled out v2.1.0 in a staged release recently, rewriting the English draft into each language, fitting each store's character limit, and keeping the tone consistent ate up the better part of an hour. The work around the code often feels longer than the code itself.

On June 15, antigravity-preview-05-2026 (the Managed Antigravity Agent) entered public preview through the Gemini API, so I built a small pipeline to hand this tedious step to an agent. Here is what differs from an ordinary generate_content call, and where I got stuck.

Why a Managed Agent instead of a one-shot generation call

At first I assumed I could just pass the commit log to generate_content and have it write the notes in each language. In practice the prose was fine, but Google Play's "What's new" field caps at roughly 500 characters, and whenever the output ran over, the trimming came right back to me. I ended up rewriting the prompt and regenerating every time something exceeded the limit.

What makes a Managed Agent fundamentally different from one-shot generation is that it can plan, reason, run code, touch files, and browse the web autonomously inside a sandbox. My task has several stages — classify commits, translate to each language, count characters and fit the limit — and the part that really paid off was letting the agent count the characters itself and trim when it went over. The job of watching the limit and bouncing things back moves cleanly onto the agent.

The way I think about dividing labor between "one-shot generation" and "an agent" is a continuation of what I laid out in the cloud-vs-local boundary of the Managed Agents API. Treat this article as its implementation companion.

The overall flow

The pipeline I built has four stages. Only the actual submission to the stores happens after I review everything by hand. I keep the agent's autonomy to text generation and press the publish button myself.

  1. Extract a structured git log on the caller side
  2. Hand the agent the commit summary plus constraints, and let it plan, classify, generate per-language, and validate length
  3. Receive JSON back from the agent
  4. Re-validate that JSON on the caller side and bounce anything that breaks a limit

Thank you for reading this far.

Continue Reading

What follows includes implementation code, benchmarks, and practical content we hope you'll find useful. This site runs without ads — server and development costs are supported entirely by members like you. If it's been helpful, we'd be truly grateful for your support.

WHAT YOU'LL LEARN
Solve the 'translate while staying under the character limit' step that a single generate_content call kept choking on, using the agent's own self-checking loop
You'll get concrete code that calls the Managed Agent from the google-genai SDK and uses Function Calling to validate length, ready to drop into your own release flow
Sidestep the three traps — sandbox file access, over-translation, and cost — and cut a manual 50-minute chore down to about 6 minutes
Secure payment via Stripe · Cancel anytime

Unlock This Article

Get full access to the rest of this article. Buy once, read anytime. This site is ad-free — your support goes directly toward keeping it running.

or
Unlock all articles with Membership →
Share

Thank You for Reading

Antigravity Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • Copy-paste ready implementation code
  • New advanced guides published daily
  • $5/mo or $10 for lifetime access
View Membership →

Related Articles

Agents & Manager2026-06-15
Calling a Managed Antigravity Agent from the Gemini API: Design Notes on the Preview Model
antigravity-preview-05-2026, now in public preview on the Gemini API, is a Managed Agent that plans, runs code, edits files, and browses the web autonomously inside a sandbox. Here is how it differs from rolling your own orchestration, and where to draw the line.
Agents & Manager2026-06-12
Handing Dependency Updates to Antigravity Agents — Risk Tiers, Verification, and Rollback
How far can you trust Antigravity agents with dependency updates? A four-tier risk model that corrects semver optimism, worktree-isolated lots, a fixed verification script, and a rollback-first ledger — the operations design I settled on while maintaining multiple apps.
Agents & Manager2026-05-17
Integrating Antigravity Agents into My Android Release Workflow — 3 Months of Honest Findings
After 12 years of indie development and 50 million cumulative downloads, I integrated Antigravity Agents into my Android app release workflow. Here's what worked, what didn't, and where the delegation boundary actually sits.
📚RECOMMENDED BOOKS
Build a Large Language Model (From Scratch)
Sebastian Raschka
LLM Dev
Prompt Engineering for LLMs
Berryman & Ziegler
Prompting
AI Engineering
Chip Huyen
AI Eng
* Contains affiliate links
See all →