Gemini agents can get new rules mid-conversation. Who enforces them?
The Gemini API now accepts new system instructions and tool changes mid-conversation without breaking the prompt cache. Google says the backend still has to authorize every call.

Original GigSoul illustration: rules can change mid-session while enforcement stays in the backend. Conceptual, not a Gemini interface or test result.
Long-running agents rarely keep one set of rules for a whole session. A deployment freeze starts. An account goes under billing review. A spending limit kicks in. Until this week, changing a Gemini agent's system instructions or tools in that moment meant one of two bad options: put the new rule in a user message, or rewrite the system instruction and pay to reprocess the whole conversation.
On December 3, Google added a third option. Mid-conversation system instructions and tool changes are now in public preview in the Gemini API through the Interactions API, and Google says they leave the prompt cache intact. Independent coverage from The Next Web and Unite.AI matches the announcement.
What a system_input step actually does
The mechanics are specific. You pass the previous turn's ID in previous_interaction_id and place a system_input step directly before user_input, at most one per turn. The step carries the same authority as the top-level system instruction and takes precedence over user messages. Each step appends to the conversation history and stays active for the rest of the session, and when a newer step conflicts with an earlier instruction, the model favors the most recent one.
The audit trail matters as much as the control. Retrieving an interaction returns every system_input step in order alongside user input and model output, so a reviewer can see which rule was active when the agent acted. That is a better starting point than reconstructing intent from a rewritten prompt.
The cache is the business case
Because the step appends at the current turn boundary, every preceding token stays identical and reuses the prompt cache. Earlier turns remain eligible for cached-token rates, tokens in the new step are billed at standard input rates, and there is no separate fee for the feature. Google advises keeping the top-level system instruction unchanged across turns so the cached prefix stays valid.
The two older workarounds each charged a toll. Rules delivered as a user message keep the cache but carry less authority, and users can imitate them. Rewriting the system instruction carries full authority but invalidates the cache, which adds cost and latency on every long session. For an agent that runs hundreds of turns, the difference is a real line item.
Tool changes follow the same rule
The same step can update which functions the model may call, using added_tools and removed_tools while the top-level tools list stays identical. Removals are processed before additions, so a tool definition can be replaced in place, and the change holds until a later step revises it. Only function tools are supported this way; MCP server tools are not. Google also suggests adding a short text note when removing a tool, so the model can explain why an action is unavailable instead of improvising.
Google's own example is a support agent that starts with get_store_hours and issue_refund. When the account goes under billing review, the next turn removes issue_refund, adds create_escalation_ticket, and tells the model to explain the pause and offer escalation. That is the right shape for mid-session control: narrow the permissions, widen the explanation.
Steering is not enforcement
The announcement carries a caveat buyers should not skip. Google says system_input, added_tools and removed_tools steer model behavior and serve as orchestration controls, that the application should still authorize every function call on the backend, and that untrusted external or end-user content should stay out of system_input.
That caveat is the whole story. An agent told mid-session that refunds are paused can still be argued into attempting one; the refund has to fail in your code, not in the prompt. The same holds for money. A spending limit that exists only in an instruction is a suggestion, and instructions are the thing that just became easier to change. Limits belong at the payment layer, where nobody can talk around them.
The preview is available across all Gemini 4 models in the Interactions API through the v1beta endpoint, with Gemini Enterprise Agent Platform support listed as coming soon. Teams already on the Interactions API can try it today; everyone else should treat this as the direction of travel and check where their own stack puts the permission check.
The update solves a real cost and control problem for long sessions. It does not move the line on who is responsible for what the agent does. Add the mid-conversation rule where it helps, and keep the enforcement where it counts: in code that runs whether or not the model agrees.
Reported analysis, checked December 3, 2026. No hands-on test of the Interactions API preview was performed for this article. Preview behavior, model support and billing details can change; linked documentation is the source of truth.


