Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreOn behalf of the Spring AI team, I'm pleased to announce the general availability of Spring AI 1.1.0!
Spring AI 1.1 brings Model Context Protocol integration, advanced AI capabilities, and expanded model provider support to the Spring ecosystem. The 1.1 development cycle includes over 850 improvements, bug fixes, and documentation updates.
We extend our sincere thanks to the community contributors, partner organizations, and the broader Spring AI ecosystem for their invaluable contributions throughout this release cycle.
Spring AI 1.1.0 includes substantial improvements across all areas:
The Model Context Protocol (MCP) represents the most significant feature set improvement to Spring AI 1.1. Spring AI provides Spring Boot auto-configuration and a comprehensive annotation-based programming model for MCP integration.
Annotation-Based Programming Model:
@McpTool
public String getCurrentWeather(String location) {
// Tool implementation
}
@McpResource
public String getDatabaseSchema() {
// Resource implementation
}
@McpPrompt
public String generateSqlQuery(String userIntent) {
// Prompt template implementation
}
Multiple Transport Options:
Spring Boot Auto-Configuration: Multiple specialized starters support both client and server implementations across WebFlux, WebMVC, and Servlet environments. Docker Compose and Testcontainers integration enables containerized MCP gateway deployments.
Security Integration: Security documentation covers OAuth2 integration patterns for securing MCP servers. Read more in Daniel Garnier-Moiroux's blog post: Securing MCP Servers with Spring AI.
Getting Started: Christian Tzolov's blog post: Connect Your AI to Everything: Spring AI's MCP Boot Starters.
For a deep technical dive, watch the Beyond local tools: Deep dive into MCP presentation by James Ward and Maximilian Schellhorn.
Spring AI 1.1 adds prompt caching support for Anthropic Claude and AWS Bedrock, reducing costs by up to 90% while improving response times.
Anthropic Claude Documentation
Spring AI supports five cache strategies for Anthropic Claude:
Cache time-to-live (TTL) options include 5-minute and 1-hour caching, with automatic cache management and eligibility tracking.
Soby Chacko's detailed guide covers implementation patterns: Prompt Caching Support in Spring AI with Anthropic Claude.
AWS Bedrock Converse API now supports prompt caching for Claude and Nova models, providing similar cost optimization benefits for applications deployed on AWS infrastructure.
Implementation details are available in: AWS Bedrock Prompt Caching Support in Spring AI.
Spring AI 1.1 provides native support for AI models with reasoning capabilities across multiple providers:
thinking and response_format parameter support for GLM modelsThe ReasoningContent API enables applications to inspect and utilize the model's reasoning process.
The new recursive advisor feature enables advisors to call other advisors in chains, creating sophisticated multi-step AI workflows. Two built-in recursive advisor implementations provide pre-configured patterns for common use cases, with configurable observations for monitoring and debugging.
This feature enables building self-improving AI agents that can refine their own outputs through iterative processing. Christian Tzolov's blog post demonstrates the pattern: Create Self-Improving AI Agents Using Spring AI Recursive Advisors.
The recursive advisor pattern also enables implementing LLM-as-a-Judge evaluation systems, as detailed in: LLM Response Evaluation with Spring AI: Building LLM-as-a-Judge Using Recursive Advisors.
Spring AI 1.1 broadens model provider support with new integrations and enhanced capabilities:
Google GenAI SDK Integration:
Google GenAI Chat Documentation | Google GenAI Embeddings Documentation
Thanks to Dan Dobrin (@ddobrin) from Google for contributing this integration.
ElevenLabs Text-to-Speech:
Thanks to Alexandros Pappas (@apappascs) for contributing this integration.
Both OpenAI and ElevenLabs implement the TextToSpeechModel interface (docs), providing a consistent model-level API across providers.
OpenAI:
OpenAI Chat Documentation | OpenAI Audio Documentation
Anthropic Claude:
Anthropic Claude Documentation
Mistral AI:
ZhipuAI:
Spring AI 1.1 includes improvements for retrieval-augmented generation (RAG) applications:
Multiple conversation storage options:
Micrometer Observability enhancements:
The new Spring AI Community GitHub Organization provides a home for community-driven projects that extend Spring AI.
Read the announcement: Introducing the Spring AI Community GitHub Organization.
New projects for building and evaluating AI agents:
Learn more: Introducing Spring AI Agents and Spring AI Bench.
The Spring AI community has been sharing knowledge through presentations and tutorials:
The MCP Java SDK represents a collaborative effort across the Java ecosystem. Contributors to the MCP Java SDK during the 1.1 development cycle include:
The Spring AI 1.1 documentation includes:
We will be keeping the main branch on 1.1.1-SNAPSHOT in anticipation of bug-fixing PRs over the next few weeks. Then we will shift the main branch to 2.0.0-SNAPSHOT and begin support for Spring Framework 7 and Spring Boot 4.0.
🙏 We thank all the contributors who made this release possible. Here is the collective list of contributors since the 1.0 GA release.