Gemini Decisions API - Fast, Calibrated Multimodal Decisions

Gemini Decisions API overview
Gemini Decisions API overview

Generative models are built to stream text for humans to read. In real applications and agentic workflows, however, your code often just needs a bounded judgment to branch on—routing a query to the right model tier, verifying a customer’s return photo against a policy, screening inputs for prompt injection, or grading candidates on a rubric. Prompting a generative model to emit JSON works, but token-by-token decoding and thinking tokens add latency, output token costs, parsing boilerplate, and uncalibrated confidence.

Read More →

A2UI Express and Swappable Inference Formats

A2UI Express and Swappable Inference Formats
A2UI Express and Swappable Inference Formats

In my Agent Protocols - MCP, A2A, A2UI, AG-UI and Agent to UI Protocol (A2UI) with Agent Development Kit (ADK) posts, I introduced A2UI —Google’s declarative generative UI protocol that lets AI agents return rich, interactive user interfaces across web, mobile, and desktop using JSON messages (createSurface, updateComponents, updateDataModel, and deleteSurface).

While standard JSON is an ideal wire protocol for client renderers (Lit, Angular, React, Flutter), having an LLM generate deeply nested wire JSON token-by-token is verbose, token-heavy, and adds latency. Recently, the A2UI team introduced Swappable Inference Formats and made A2UI Express the new default format in the A2UI Agent SDKs—cutting output tokens by ~3x–4x, shrinking system prompts by more than half, and speeding up UI generation without requiring any changes to client renderers.

Read More →

Google Chat Unread Messages Brief with Workspace Studio and Gemini

Google Chat Unread Messages Brief
Google Chat Unread Messages Brief

Coming to work every morning often means facing a wall of unread Google Chat messages from the night before across colleagues in different time zones. Skimming through every space and thread to catch up takes time.

To make my mornings easier, I built an automated Unread Messages Brief directly inside Google Chat—powered by Google Workspace Studio , Gemini, and a Google Apps Script Custom Step (with zero Google Cloud Console setup required). Everything was built with the help of Gemini 4 and Antigravity, which made figuring out the Google Chat read-state API nuances and wiring up the Workspace Studio custom step effortless.

Read More →

6 Years of Tech Debt, 1 Prompt: Modernizing a Legacy App with Gemini 4

Back in early 2020, I wrote a 4-part blog series on how a friend and I modernized Amathus , a Cyprus news aggregator app, using Google Cloud’s serverless technologies.

By the end of that series, we had decomposed our legacy Windows/.NET Framework monolith into a clean serverless microservices architecture on Google Cloud Run with a C#/.NET Core backend (Amathus.Reader, Amathus.Converter, and Amathus.Web connected via Cloud Scheduler, Cloud Storage, Pub/Sub, and Firestore) and a cross-platform Flutter mobile frontend (AmathusClient):

Read More →

Codelab - Gemini for Developers

Gemini for Developers
Gemini for Developers

The Gemini ecosystem has evolved into a comprehensive suite of models, tools, and APIs. Whether you are “vibe-coding” a web app or deploying enterprise-grade agents, navigating the options can be overwhelming.

I am happy to announce a new Gemini for Developers codelab . This codelab is designed to teach you everything you need to know about the Gemini ecosystem, from the different model flavors to tools powered by Gemini to integration using the Google Gen AI SDK and the new Interactions API.

Read More →

Gemini Interactions API - One interface for models and agents

Interactions API overview
Interactions API overview

GenAI is rapidly moving from simple “prompt-and-response” patterns to complex, agentic workflows. To support this shift, Google recently introduced the Interactions API , a new unified foundation designed specifically for building with both models and agents.

In this post, I’ll introduce the core concepts of the Interactions API and walk through some of the samples available in my genai-samples repository .

What is the Interactions API?

Traditionally, developers had to use the Gemini API to talk to the models and another framework like Agent Development Kit (ADK) to create and manage agents. Currently in beta, the Interactions API simplifies this by providing a single interface for:

Read More →

RAG just got much easier with File Search Tool in Gemini API

File Search Tool
File Search Tool

The Gemini team at Google recently announced the File Search Tool , a fully managed RAG system built directly into the Gemini API as a simple, integrated, and scalable way to ground Gemini. I gave it a try and I’m impressed how easy it is to use to ground Gemini with your own data.

In this blog post, I’ll introduce the File Search Tool and show you a concrete example.

Read More →

Quick Guide to ADK Callbacks

I’ve been exploring the Agent Developer Kit (ADK) and its powerful callbacks feature. In this blog post, I want to outline what callbacks are and provide a sample agent with all the callbacks implemented for a quick reference and testing.

At its core, an agent framework like ADK gives you a sequence of steps:

receive input → invoke model → invoke tools → return output

In real-world systems, we often need to hook into these steps for logging, guarding, caching, altering prompts or results, or dynamically changing behaviour based on session state. That’s exactly where callbacks come in. Think of callbacks as “checkpoints” in the agent’s lifecycle. The ADK framework automatically calls your functions at these key stages, giving you a chance to intervene.

Read More →

Vibe coding an AI Trivia Quest app with Google AI Studio

A few days ago, I saw Logan Kilpatrick ’s Tweet about the new AI-first vibe coding experience in AI Studio:

Last time I tried AI Studio for vibe coding, it was mostly a single-page web application with all the code in a single file (which wasn’t ideal).

Read More →

Introducing Google Gen AI .NET SDK

Introducing Google Gen AI .NET SDK
Introducing Google Gen AI .NET SDK

Last year, we announced the Google Gen AI SDK as the new unified library for Gemini on Google AI (via the Gemini Developer API ) and Vertex AI (via the Vertex AI API ). At the time, it was only a Python SDK. Since then, the team has been busy adding support for Go, Node.js, and Java but my favorite language, C#, was missing until now.

Read More ↗︎