Google AI Studio (Gemini Interactions API)

Govern Gemini agents before the first step is emitted

Google is evolving the Gemini Interactions API to support rich, multi-step agentic workflows. Instead of strict "user" and "model" roles, every action — from a thought to a function call to a Google Search result — is now its own typed step. Cromus is the pre-execution governance layer that decides what those steps are allowed to do before the first token is spent.

From turns to steps

The classic Gemini interface was a transcript of alternating user and model turns. The new Interactions API treats an agent run as a typed sequence of steps. Every action — a thought, a function call, the result that came back from that function, a Google Search call, the search result, the final model output — is its own step with a known shape.

That is a much better contract for agentic workflows. It is also the reason your governance posture matters more than it did last week. Once an agent can decide for itself which step to emit next, the question is no longer what did the model say. It is which steps are this agent allowed to take, and at what cost.

The seven step types

Cromus's Google AI Studio mode emits a steps-response template alongside the Gemini API config, so your Interactions API consumer knows exactly which step types to handle.

user_input

An input message from the user

thought

An internal reasoning step (with signature for auditability)

function_call

A function the model decided to call

function_call_result

The result returned to the model from that function

google_search_call

A built-in Google Search call

google_search_result

The result returned from Google Search

model_output

A model-produced response chunk

The four pre-execution steps

A four-step flow that takes a SOP from prose to a deployable Gemini API configuration — with governance and cost decisions made before any tokens are spent.

Step 1

Compile

Turn your SOP into a SKILL.md using the SOP Compiler

Validator-checkable capability spec

Step 2

Validate

Check the SKILL.md against your ETHOS.md policies

Permitted actions, prohibited actions, confirmation rules

Step 3

Simulate

Run the cost simulator across Gemini's verified pricing

Per-run cost, monthly cost, Croms score

Step 4

Deploy

Compile to a Gemini API config + typed steps-response template

JSON config ready for Google AI Studio + Interactions API

Where the open specs fit

Cromus's five open specs do specific jobs in this flow. SKILL.md is the capability definition. ETHOS.md is the behavioral policy. MEMORY.md is the portability contract. GRAPH.md defines workflow topology, and STACK.md inventories the complete AI system.

All five are open, free, and validator-checkable. They are not Cromus-only formats. They are designed to ingest into any agent runtime — Google AI Studio, Claude Managed Agents, Replit Agents, AgentSkills.io, OpenClaw, your own infrastructure. The point of an open spec is that it survives the platform.

Why pre-execution governance for Gemini

Runtime governance — Google's own Agent Platform, Vertex AI safety filters, the Interactions API itself — secures agents that are already running. It enforces the rules the agent was given.

Pre-execution governance happens before any of that. Before the SOP becomes a SKILL.md. Before the SKILL.md becomes a Gemini API config. Before the config becomes a deployed agent emitting typed steps. Most preventable workflow waste — and most preventable governance failure — gets locked in at the pre-execution stage. Once the agent is producing function_call steps in production, the runtime can only enforce what you decided beforehand.

Get started

Google™, Gemini™, and Google AI Studio™ are trademarks of Google LLC. Cromus is not affiliated with Google. The Google AI Studio Platform Selector target is a Cromus feature for compiling SKILL.md files into Gemini-compatible configurations.