Spring AI 2.1.0 GA and 2.0.3 G... Note
Spring

Spring AI 2.1.0 GA and 2.0.3 GA Available Now

Spring AI 2.1.0 has been released, built on Spring Boot 4.2 with over 430 commits and 86 contributors. This release introduces the new, stateless Model Context Protocol (MCP) 2026-07-28, replacing previous versions. A significant addition is Decision Models, offering a structured API for typed yes/no, choice, and score decisions with three providers. The message model is richer, now supporting ordered message parts for reasoning, tool calls, and provider-specific blocks. An agent harness is forming with the Session API, session memory, tool call approvals, and guardrail refusals. Users can now provide their own embeddings, with eleven vector stores supporting custom computed vectors. The reference documentation has been reorganized for clarity, including a quickstart and tutorials. Security enhancements include fixes for 13 CVEs. Looking ahead, the Spring AI Agent project will incubate in December, focusing on composing and orchestrating agents. New MCP servers support asynchronous methods and runtime changes to tools, resources, and prompts. Modern MCP clients are lightweight and support per-request client-scoping. Decision models are integrated into RAG for document reranking and filtering, and in tool search for accurate tool selection. A community-maintained Spring AI Decision Extensions project offers ready-made building blocks based on the Decision Model API. The improved message model uses ordered MessagePart entries, enabling models to handle interleaved content. The OpenAI Responses API is now supported, providing better tool calling and reasoning with current OpenAI models. Tool call argument streaming allows UIs to display tool calls as they are being generated. Finally, generation finish reasons are categorized consistently across providers for easier handling.