Gemini API at a glance
Google put mid-conversation instructions in the Gemini API into public preview on December 3, 2026: through the Interactions API, developers can update an agent's system instructions and function tools mid-session with a system_input step, while earlier turns stay cached and no separate fee applies.
Ask your AI about this story
Ask what changed in Gemini API and Interactions API and what to check before using it in your business. Weigh pricing, the integrations it needs, setup effort, reliability, human oversight and how locked in I would become.
What changed with Gemini API
Google introduced mid-conversation system instructions in the Gemini API on December 3, 2026, available in public preview through the Interactions API for all Gemini 4 models on the v1beta endpoint. A developer can send a system_input step at any turn to change an agent's system instructions or its function tools, and that step carries the same authority as the top-level system instruction and takes precedence over user messages, according to Google. Each system_input stays in the conversation history for the rest of the session, a newer instruction wins when two conflict, and support for the Gemini Enterprise Agent Platform is coming soon.
Until now, changing an agent's rules or tools mid-session meant either sending the new rule as a user message, which carries less weight and can be imitated by users, or rewriting the system instruction, which invalidates the prompt cache and makes the model reprocess the whole conversation at added cost and latency, according to Google. With system_input, earlier turns stay identical and remain eligible for cached-token rates; tool changes use added_tools and removed_tools inside the step and currently cover function tools only, not MCP server tools. Mid-conversation instructions carry no separate fee: system_input tokens are billed at the model's standard input rates, and Google notes that applications must still authorize every function call on their own backend.
Why Gemini API matters for businesses
Why it matters: long-running business agents hit rule changes mid-task — a refund pause, a deployment freeze, a permission that opens only after a customer authenticates — and until now each change either weakened the rule or repaid the full conversation cost. A business building agents on the Gemini API can now tighten or loosen what an agent may do in the moment, in preview, while keeping cached-token rates on the history it already paid for. The practical step is to trial system_input on one long-session workflow, such as support or operations, and map which rule and tool changes should trigger it.
Put it to work: AI Agents
Get AI News by email
Verified AI stories, each with its official source, on Monday and Thursday mornings. Add breaking news to hear about the biggest ones as soon as we publish them.
Every story links its official source
Free, in English or Spanish
Unsubscribe with one click, any time
Sources for this story
- Mid-conversation system instructions in the Gemini API (opens in a new tab)Official
Google · blog.google
Last verified: . IA Compa summarizes public announcements for business readers. We are not affiliated with the companies mentioned. Always confirm details, pricing, and availability with the official source.
- #gemini-api
- #interactions-api
- #mid-conversation-instructions
- #system-input
- #ai-agents
- #prompt-cache
- #function-calling
- #gemini-4


