GEMINI LABJP
OMNI — Gemini Omni is rolling out globally to all Google AI subscribers 18 and over, letting you create and edit video as easily as having a conversationSPARK — Gemini Spark has arrived in the Gemini app for macOS, available in English for Google AI Ultra subscribersAGENT — The general-purpose managed agent antigravity-preview-05-2026 is in public preview, autonomously planning, running code, and browsing the web inside its sandboxSHEETS — Since July 15, AI Expanded Access licenses get higher limits for Fill with Gemini and the AI function in SheetsSTUDENT — The free Gemini upgrade for students in Japan, Indonesia, the UK, and Brazil runs through July — sign up this month if you're eligibleIMGEND — Legacy image generation models shut down on August 17, 28 days away. Now is a good time to migrate to newer models like Nano Banana 2 LiteOMNI — Gemini Omni is rolling out globally to all Google AI subscribers 18 and over, letting you create and edit video as easily as having a conversationSPARK — Gemini Spark has arrived in the Gemini app for macOS, available in English for Google AI Ultra subscribersAGENT — The general-purpose managed agent antigravity-preview-05-2026 is in public preview, autonomously planning, running code, and browsing the web inside its sandboxSHEETS — Since July 15, AI Expanded Access licenses get higher limits for Fill with Gemini and the AI function in SheetsSTUDENT — The free Gemini upgrade for students in Japan, Indonesia, the UK, and Brazil runs through July — sign up this month if you're eligibleIMGEND — Legacy image generation models shut down on August 17, 28 days away. Now is a good time to migrate to newer models like Nano Banana 2 Lite
ARTICLES

All Articles

All (733) Gemini Basics (57) Dev Tools (106) API & SDK (405) Advanced (110) Workspace (37) Updates (18)
API & SDK/2026-07-04Advanced

When Two Managed Agents Fight Over the Same Repo: External Leases and Fencing for Isolated Sandboxes

Every Managed Agents run gets its own isolated sandbox, so a local lock cannot stop two runs from touching the same repo or record. Here is how I serialize them safely with an external lease and a fencing token.

API & SDK/2026-07-04Advanced

When Gemini API Leaks Japanese Into Your English Output Once in a While — Field Notes on Measuring the Contamination Rate and Tightening It in Stages

You told Gemini to answer in English, and 3 out of 100 runs slip a Japanese sentence into the tail. Here is why you cannot stop that 'once in a while', and a production pattern that measures the contamination rate as an SLO and tightens it with graded recovery, with working code.

API & SDK/2026-07-04Advanced

Catch Near-Duplicate Posts Before You Publish — a Topic-Cannibalization Gate with Gemini Embeddings

Once a blog passes a few hundred posts, new articles start cannibalizing old ones in search. This walks through a pre-publish gate that embeds each post's meaning with gemini-embedding-2 and blocks drafts that sit too close to something you already wrote — with runnable code and how to pick the thresholds.

API & SDK/2026-07-04Advanced

Catching the Rows That Quietly Failed Overnight: A Per-Row Retry Ledger for the Gemini Batch API

A SUCCEEDED batch job is not the same as all-rows-succeeded. From running nightly batches as a solo developer, here is a per-row result ledger, a transient-vs-permanent failure classifier, selective retries, and a guard against retrying permanent failures forever, with a working SQLite state machine.

Updates/2026-07-04Intermediate

Before the August 17 Gemini Image Model Shutdown: Inventory Where You Actually Call Them First

Some Gemini image generation models retire on August 17. Before choosing a replacement, here is how to inventory which models are actually being called, and from where, using your request logs.

Advanced/2026-07-03Advanced

Your Tool Results Are Quietly Eating the Conversation — Handle Passing to Keep Gemini Function Calling Contexts Lean

Tool results linger in Function Calling history and compound your input tokens every turn. Two implementations — a token-budgeted compactor and handle passing — cut my measured input by roughly 8x, with the pitfalls I hit along the way.

API & SDK/2026-07-03Advanced

Building AI-Powered iOS and Android Apps with the Gemini API — Image Recognition, Voice Analysis, Chat, and Monetization

Architecture patterns, cost optimization, and monetization for adding image recognition, voice analysis, and AI chat to iOS/Android apps with the Gemini API — updated with Gemma 4 routing and the mandatory API key restriction change.

Advanced/2026-07-03Advanced

Your Night Batch Is Causing the Morning 429s — Priority Admission Control for a Shared Gemini Quota

When bulk jobs and interactive features share one project's RPM/TPM, the bulk lane wins by default. A priority token bucket design with measurements: 429 rate 3.2% down to 0.03%.

Dev Tools/2026-07-03Advanced

Stop Making Listeners Wait for the Whole File — Wiring Gemini TTS Streaming into Your Delivery Path

gemini-3.1-flash-tts-preview now streams audio via streamGenerateContent. A delivery path with 1.8s to first sound, covering PCM boundary handling, sentence-level resume, and a fallback for preview shutdown.

API & SDK/2026-07-03Advanced

A Webhook Is a Claim, Not a Fact — Three Layers of Defense for Your Gemini Webhooks Endpoint

Your Gemini Webhooks receiver is a public URL, which means forged events, replays, and duplicate deliveries are all on the table. This walkthrough builds a three-layer defense — reachability checks, dedupe, and a lightweight handler that re-fetches truth from the API — with working FastAPI and SQLite code.

Advanced/2026-07-02Advanced

When the Gemini Review Bot in Your CI Quietly Stops Earning Its Keep — Rebuilding Trust with Coverage and Actioned-Rate Metrics

A Gemini-powered PR review bot in GitHub Actions degrades without ever throwing an error. Field notes on catching diff truncation, model alias drift, and swallowed parse failures with one-line JSON logs and an actioned-rate metric.

Dev Tools/2026-07-02Intermediate

After the One-Click Deploy — Hardening an AI Studio Gemini App on Cloud Run for Real Production Use

AI Studio's one-click deploy to Cloud Run gives you a working URL in minutes — but not a production service. A practical checklist for API key storage, authentication, cost ceilings, and observability, with copy-paste gcloud commands.