Gemini API lets you tweak instructions mid-chat
What is Introducing mid-conversation instructions in the Gemini API?
Developers can now change system instructions or tool settings in the middle of a Gemini conversation without losing the cached prompt. The new Interactions API adds a system_input step that updates rules on the fly while keeping earlier turns cached.
Who it is for
Anyone building long-running agents should care because it cuts latency and cost when policies or tools evolve.
The story so far
Early Signal first spotted Introducing mid-conversation instructions in the Gemini API on December 3, 2026. Early Signal files it under Inference.
Questions about Introducing mid-conversation instructions in the Gemini API
- What do I need to run Introducing mid-conversation instructions in the Gemini API?
- Google Cloud account with Gemini API access and an API key