Spring AI 2.1 Adds Tool Call Confirmation, Ordered Reasoning Parts, and a Dedicated DecisionModel
Production agents can now pause tool execution before high-stakes calls without hand-rolled state management, and reasoning replay across Anthropic, Gemini, and OpenAI no longer requires model-specific shims. The deprecation of ChatMemory, however, forces migration on teams that already standardized on 2.0.
Spring AI 2.1.0, released November 19, 2026, tackles the gap between demo agents and agents that handle consequential actions. The headline feature is Tool Call Confirmation: an annotation on a tool method makes the framework pause the entire tool call loop before execution, return the pending calls to the application, and resume with explicit allow/deny decisions. The pause is stateless; it's just a normal response, and resuming is a normal request, so apps that persist the conversation can survive restarts and multi-instance deployments.
For reasoning-heavy models, 2.1 replaces the old text-plus-lists message structure with an ordered MessagePart list. ReasoningPart, ToolCallPart, TextPart, and others retain the exact order the model emitted them. That matters because Anthropic requires thinking blocks to be replayed with signatures in order, Gemini 3+ rejects function calls when thought signatures move parts, and OpenAI Responses needs encrypted content replayed. The framework now handles these per-model quirks.
The release also adds an OpenAI Responses endpoint (one property to switch), a DecisionModel interface that returns calibrated probabilities instead of generated text for classification, streaming tool-call parameter updates, broader vector store support for custom embeddings, and a Session API that deprecates ChatMemory. For teams pushing agents into production, the upgrade buys real safety controls, but the deprecation and version differences bring migration costs.
Treating model tool calls as fallible enough to require an explicit confirmation gate marks a shift from prompt-engineering assumptions to operational controls in AI frameworks.
The ChatMemory deprecation signals a move toward composable conversation state, but it will force 2.0 adopters to redesign conversation handling before they can use 2.1's new features.
DecisionModel narrows LLM classification to calibrated probabilities, yet teams still set thresholds manually, so it is an improvement over parsing text but not a set-and-forget solution.