Brief AI
›

Google Makes Gemini Rules Editable in Conversation

Code & Dev·Tom Levy·

Google Makes Gemini Rules Editable in Conversation

Google Makes Gemini Rules Editable in Conversation
Key Takeaways
1Google is previewing the ability to modify system instructions during a conversation with Gemini.
2In case of a contradiction, the model applies the most recent instruction without erasing the previous ones.
3The feature is compatible with Gemini 4, including Gemini 4 Neon, at no additional token cost.
Why it matters : developers can revise rules without requiring a new processing of the entire history, but must still control actions before execution.

Google announced on Thursday a feature that allows users to change the system instructions of Gemini agents without interrupting their conversation. Available in preview through its API, it gives new instructions an authority equivalent to that of the initial instructions.

Google maintains verification before any action

For Google, this mechanism is intended solely to guide the model: applications must verify each action on their own servers before executing it. A researcher has already managed to hijack agents at Google as well as at other companies through prompt injection.

Developers can also make a tool available or disable it during the exchange. For example, they can remove the refund function when an account is under review.

New instructions take precedence in case of contradiction

An agent can continue its exchanges over hundreds of turns, with rules that frequently evolve: revised spending limits or modified authorizations, for instance. Until now, a developer could communicate an additional instruction through a user message. However, this instruction carried less weight in the model's decisions and could be mimicked by a user.

The evening letterFree · 7 pm

The AI brief the pros read every evening

The 7 best AI stories, the essentials in 5 min. Free.

Included when you join: our pick of the best AI guides & comparisons.

Choose your rhythm

Free · No spam · Unsubscribe in 1 click

Now, adding an instruction constitutes a distinct step in the exchange. Previous instructions remain present; if they contradict each other, the last one received takes precedence.

Retained history benefits from lower rates

Previously, revising the main instructions required reprocessing the entire exchange through the model, incurring additional costs and waiting time. Retaining the history in memory now allows for discounted billing of these previous exchanges. No extra charge is added to the usual token price for this feature, which is compatible with Gemini 4, including the recently launched Gemini 4 Neon.

The cost of agents is a growing concern for companies: some are experiencing a tripling of their AI bills despite tokens becoming cheaper. At Anthropic, the message threads integrated into the API in November provide a time benefit rather than a cost saving.

Brief AI — AI news in French

The essentials of artificial intelligence news, decoded and explained every day.