Google has rolled out mid-conversation system instruction and tool updates in the Gemini API — live in public preview as of December 3, 2026. Developers can now change rules, permissions, or callable tools during an active chat session without flushing the prompt cache or reprocessing prior turns. That means lower latency, lower token costs, and tighter control over long-running AI agents, especially those handling support workflows, financial approvals, or authenticated actions.
The feature is available across all Gemini 4 models via the Interactions API’s v1beta endpoint. No separate fee applies: system_input tokens are billed at standard input rates, and cached tokens from earlier turns remain eligible for discounting. Gemini Enterprise Agent Platform support is coming “soon”, per Google’s announcement. This isn’t a UI tweak or a consumer-facing toggle.
It’s infrastructure-level orchestration, aimed squarely at developers building stateful, policy-aware agents that evolve across dozens or hundreds of turns. Before this, changing a system instruction or tool list invalidated the entire prompt cache. Workarounds included full context re-sends (costly) or rigid pre-declared tool sets (inflexible). Now, a support agent can start with get_store_hours and issue_refund, then, after user authentication, drop issue_refund and add create_escalation_ticket in the next turn, all while keeping the top-level tools declaration identical and preserving cached tokens from turns one through five.



Be the first to comment
Join the argument. No password, just your email or a passkey.