Gemini API adds mid-conversation system instructions with cached earlier turns

_philschmid · x · 2026-12-04

Philipp Schmid announced Gemini API's new "mid-conversation system instructions": a systeminput step lets you change instructions or add/remove tools at any turn while earlier turns stay cached. Use cases include steering agents mid-session (plan → build), attaching newly added MCP servers on demand, unlocking tools after user sign-in, removing tools during outages, and applying limits found mid-session. Preview on Gemini 4 Carbon, Neon & Hydrogen.

Related event: Gemini API lets developers change system instructions mid-conversation without breaking cache(3 posts)→

Original post →

More from coding & agent

coding & agent channel →