Introducing mid-conversation instructions in the Gemini API
AI-assisted digest, checked against the original source before publishing. How we work
Gemini API gains mid-conversation updates to system instructions and tools, with prompt cache preserved.
The feature targets agentic and long-running conversations where instructions or available tools must evolve as a session proceeds — for example, switching policies, tightening constraints, or adding tools without discarding the conversation history already built up.
Key facts
- • Gemini API now supports mid-conversation updates to system instructions.
- • Tool definitions can also be changed mid-session.
- • Prompt cache is preserved across these updates.
- • Announced via Google's models and research blog.
Why it matters
Builders can revise agent behavior and toolsets dynamically without invalidating cached context, cutting re-processing latency and cost for long sessions. Expect more flexible agent architectures where policy or capability changes no longer require a fresh conversation or a full prompt re-send.
Spotted an error? Send a correction.
Get the day's AI news in one email
The Daily Epoch · 60-second read · unsubscribe anytime