A curated list of awesome resources, tools, tutorials, and projects for building generative AI applications using Spring AI. This repository aims to help developers leverage the power of Large Language Models (LLMs) within the Spring ecosystem.
- What is Spring AI?
- Official Resources
- Learning Resources
- Non-English Resources
- Code & Examples
- Community
- Tools & Performance
- Contributing
Spring AI is a project from the Spring team that provides a familiar and consistent Spring-style developer experience for building AI applications. It simplifies the integration of Large Language Models and other AI capabilities into Spring applications, offering:
- Consistent abstractions across different AI providers
- Support for popular LLM providers
- Robust prompt engineering capabilities
- Built-in caching and retry mechanisms
- Vectorized storage integration
- Streaming responses
- Customizable model parameters
- Native Spring Boot integration
- Your First Spring AI 1.0 Application - Complete tutorial building a production-ready dog adoption service with RAG, MCP, vector stores, and PostgreSQL (May 2025)
- Repository Vector Search Methods - Technical guide on implementing vector search with Spring Data 3.5, covering Vector type, SearchResults, and search methods (May 2025)
- MCP Authorization in Practice with Spring AI and OAuth2 - Implementation of the revised MCP spec: securing Spring AI MCP servers and clients with an external OAuth2 Authorization Server (May 2025)
- Dynamic Tool Updates in Spring AI's Model Context Protocol - How to dynamically update tools available to AI assistants using Spring AI's MCP implementation (May 2025)
- Using Spring AI 1.0.0-SNAPSHOT: Part 2 – Important Changes and Updates - Continuation of the snapshot series, detailing Spring AI's module restructuring, new artifact IDs, and migration steps for Spring AI 1.0.0-SNAPSHOT (April 2025)
- Securing Spring AI MCP Servers with OAuth2 - How to add OAuth2 authentication to Spring AI's Model Context Protocol servers using Spring Security and Authorization Server (April 2025)
- Spring AI Prompt Engineering Patterns - Best practices and patterns for effective prompt engineering in Spring AI applications (April 2025)
- Spring AI with Docker Model Runner - Integration tutorial for using Docker Model Runner with Spring AI for local development (April 2025)
- Building Effective Agents with Spring AI (Part 1) - Introduces five fundamental agentic patterns (Chain, Parallelization, Routing, Orchestrator-Workers, Evaluator-Optimizer) with implementations in Spring AI (January 2025)
- Agentic AI is the future! Agentic AI is now! - Exploring agentic patterns in Spring AI for building autonomous AI systems (January 2025)
- Leverage the Power of 45k, free, Hugging Face Models with Spring AI and Ollama
- Supercharging Your AI Applications with Spring AI Advisors
- Spring AI with NVIDIA LLM API
- Spring AI Embraces OpenAI's Structured Outputs: Enhancing JSON Response Reliability
- Spring AI with Groq - a blazingly fast AI inference engine
- Spring AI with Ollama Tool Support
- Spring AI - Structured Output
- Spring AI - Multimodality - Orbis Sensualium Pictus
- Function Calling in Java and Spring AI using the latest Mistral AI API
- AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI (Part I)
- AI Meets Spring Petclinic: Implementing an AI Assistant with Spring AI (Part II)
- Spring Pet Klinik - Kotlin
- "Spring AI in Action" by Craig Walls (Manning)
- "Spring AI for Your Organization - GCP Vertex AI Edition" by Muthukumaran Navaneethakrishnan (Leanpub)
- "Beginning Spring AI" by Andrew Lombardi and Joseph Ottinger
- Building AI-Native APIs with Spring AI and Model Context Protocol - Practical guide to implementing MCP servers in Spring Boot applications, introducing the "dual API paradigm" for AI integration with existing services using tools, resources, and prompts (September 2025)
- Creating Private AI Applications with Spring AI and GPT OSS - Comprehensive tutorial demonstrating Spring AI integration with local gpt-oss:20b model using Ollama, featuring RAG, chat memory, structured output, and building an immigration advisor chatbot (September 2025)
- Mastering Spring AI: Easily Add LLM Smarts to Your Spring Boot Applications - Demonstrates swapping between GPT-4 and Gemini with Spring AI configuration; highlights avoiding vendor lock-in (August 2025)
- Spring AI Concepts Tutorial With Examples - Updated guide for Spring AI 1.0 GA: concepts (models, prompts, embeddings), ChatModel/ChatClient, advisors, and chatbot example (March 2025, updated August 2025)
- Agentic AI through Spring AI: Basic Examples - Introduces minimal implementations of agent-based AI patterns in Spring AI, covering vector DB, conversation memory, tool calling, RAG, structured outputs, guardrails, and metrics (June 2025)
- From Docs to Dialogue: Building a Production-Ready AI Assistant with Spring Boot and Milvus - Step-by-step tutorial creating a Spring Boot + Spring AI app that uses Milvus for RAG with ChatClient abstraction (June 2025)
- Building Effective AI Agents with Spring Boot - Deep-dive into agent architectures (chaining, parallelization, orchestration) implemented with Spring AI, includes GitHub repo (May 2025)
- Spring AI with Amazon Bedrock Series by Vadym Kazulkin - Four-part comprehensive series by AWS Serverless Hero exploring Spring AI integration with Amazon Bedrock and Model Context Protocol implementations:
- Part 1: Introduction and the Sample Application - Introduction to Spring AI with Amazon Bedrock featuring a conference search application with tools and chat memory (August 2024)
- Part 2: Exploring Model Context Protocol STDIO Transport - Implementation of MCP server using STDIO transport with tool discovery and natural language interactions (August 2024)
- Part 3: Exploring Model Context Protocol SSE Transport - Demonstrates Server-Sent Events transport for Model Context Protocol with conference search tools (September 2024)
- Part 4: Exploring Model Context Protocol Streamable HTTP Transport - Final part exploring MCP server implementation using Streamable HTTP transport protocol (September 2024)
- Understanding Tool/Function Calling in LLMs (Step-by-Step Examples in REST and Spring AI - Learn how to implement OpenAI-style tool calling — from raw REST to elegant Spring AI annotations (July 2025)
- Semantic search with embeddings in Spring & Kotlin - Comprehensive guide to the use of embeddings in Spring AI (April 2025)
- Spring AI in Java Applications - Vision for enterprise AI integration with Spring (March 2025)
- Configuring MCP-Client SSE using Spring AI - Technical guide for configuring Server-Sent Events with MCP clients (February 2025)
- Spring AI: A Beginner's Guide (Part 1) & Part 2 - Multi-part walkthrough of Spring AI fundamentals. Part 1 covers integrating chat models (OpenAI/Ollama) in Spring Boot; Part 2 dives into the Advisor API (December 2024)
- Why Spring AI: The Seamless Path to Generative AI - Article explaining the benefits of Spring AI and why you may consider it in favour of other AI frameworks (November 2024)
- Building a Generative AI Application with Spring AI - Project-based learning walkthrough for building a complete Spring AI application (November 2024)
- Spring Boot Meets AI - Practical guide to using OpenAI & Anthropic in a diet-planner application (October 2024)
- Getting Started with Spring AI (Java Code Geeks) - Simple introduction to Spring AI for Java developers (September 2024)
- Getting Started with Spring AI - Introduction to Spring AI's core components and model abstractions (August 2024)
- How to Write GenAI Applications with Java (Foojay.io) - Comprehensive guide covering RAG and Spring AI templates (July 2024)
- From Java Dev to AI Engineer: Spring AI Fast Track - Build AI Apps with Spring AI, OpenAI, RAG, MCP, AI Testing, Observability, Speech & Image Generation by Madan Reddy & Eazy Bytes (2024)
- Build AI Apps with Spring AI, OpenAI, Ollama & SpringBoot - Learn chat with LLMs, Retrieval-Augmented Generation, tool calling, and multimodal AI using Spring AI (August 2024)
- Spring AI - GenAI with Telusko - Build AI-powered Spring Boot applications using SpringAI with OpenAI, Ollama, RAG, vector databases, with multimodal capability by Navin Reddy (2024)
- Master Generative AI with Java and Spring Boot | Spring AI - Use Java and Spring to build Artificial Intelligence driven applications and lifecycle management by Shabbir Dawoodi (2024)
- In-Depth: Developing Generative AI Applications with Spring - Mastering Spring AI and Advanced Generative AI Technologies by Ken Krueger (2024)
- Build AI Customer Support with Spring AI and React - Build a Professional AI Customer Support System using Spring AI, Spring Boot, and React by Samson Alfred (2024)
- Spring AI: Creating Workflows, Agents and Parsing data - Creating intelligent workflows, autonomous agents, and advanced data parsing by Verissimo Ribeiro (2024)
- Spring AI: From AI Fundamentals to Spring AI Insights - Use Java to Harness the Power of Spring AI with OpenAI by Uladzislau Zhurauliou (2024)
- Spring AI: Beginner to Guru - Use Java to Unlock the Power of OpenAI's ChatGPT with Spring AI by John Thompson (2024)
- Mastering Spring AI: Build AI with Java - Harness the Power of AI to Transform Your Java Applications by Pritesh Mistry (2024)
- Spring AI for Beginners: Build GenAI & LLM Apps - Step-by-Step Guide to Master Spring AI by Bharath Thippireddy (2024)
- Spring AI with Neo4j: Knowledge Graph RAG - RAG (Retrieval Augmented Generation) with Vector Similarity and Knowledge Graph using Spring AI, Neo4J, and OpenAI by Timotius Pamungkas (2024)
- Practical Agentic RAG with Spring AI in Modern Enterprise Apps • Dan Dobrin @ Spring I/O 2025 - Enterprise-focused agentic RAG implementation with Spring AI (May 2025)
- The State of the Art of Spring AI • Josh Long • GOTO 2025 - Comprehensive overview of Spring AI's current state, advances, roadmap, and capabilities as of mid-2025 (May 2025)
- Code Smarter, Not Harder: AI-Powered Dev Hacks for All • Dan Vega @ Spring I/O 2025 - Practical AI dev hacks for Spring apps, demonstrating productivity boosts with Spring AI (May 2025)
- Modular RAG Architectures with Java and Spring AI by Thomas Vitale @ Spring I/O 2025 - Practical guide to building Retrieval-Augmented Generation architectures using Java and Spring AI (May 2025)
- Codepocalypse Now: LangChain4j vs. Spring AI | J-Spring 2025 - Comparison between Spring AI and LangChain4j frameworks, exploring trade-offs and use cases (May 2025)
- Using OpenRouter in Java Spring AI - One API for multiple AI model providers with Spring AI integration (May 2025)
- Spring AI & Cloud Foundry: Bootiful, Agentic, Production - Productionizing Spring AI applications on Cloud Foundry platform (April 2025)
- From Single-Shot LLMs to Intelligent Agents - Building intelligent agents with Spring AI framework (April 2025)
- Spring AI Tutorial — Advisors - Deep dive into Advisors in Spring AI (April 2025)
- Spring AI Tutorial — Model Context Protocol (MCP) - Using Model Context Protocol with Spring AI (April 2025)
- AI for Java Developers: Full Course / Workshop on Getting Started with Spring AI - Comprehensive workshop covering Spring AI fundamentals for Java developers (June 2025)
- Breaking News: Spring AI Going GA in May 2025! 1.0.0-M7 - Announcement of Spring AI reaching general availability milestone with production-ready features (May 2025)
- Spring AI Tutorial: Integrate ChatGPT with Spring Boot & OpenAI - Practical tutorial on integrating ChatGPT with Spring Boot applications (May 2025)
- Integrate AI into Your Enterprise in Minutes with Spring AI - Quick guide to enterprise AI integration using Spring AI (April 2025)
- Prompt Engineering with Spring AI • Josh Long on Christian Tzolov's Review - April 2025
- Spring AI Deep Dive • Mark Pollack & Josh Long @ Devnexus - April 2025
- #1 Spring AI Tutorial | Introduction - Introductory tutorial covering Spring AI basics and setup (March 2025)
- MCP, it's easy as ABC... - Model Context Protocol introduction and basics (March 2025)
- Bootiful Spring AI - Thanks to Devnexus for permission to represent this video (March 2025)
- What's New in Spring AI M4 • Josh Long - February 2025
- Intelligent Applications with Spring AI • Patrick Baumgartner @ JFokus 2025 - February 2025
- Spring Boot and Vaadin with Spring AI MCP • Marcus Hellberg - February 2025
- Spring AI Course • freeCodeCamp - December 2024
- Building Agents with AWS: Complete Tutorial • Josh Long & James Ward - November 2024
- Spring AI Introduction: Building AI Applications in Java with Spring - Introduction to building AI-powered Java applications using Spring AI framework (April 2024)
- Concerto for Java and AI - Building Production-Ready LLM Apps • Spring I/O 2024 - Production-ready LLM applications using Spring AI examples and patterns (May 2024)
- Building & Monetizing Generative AI Plugins with Spring AI • SpringOne 2024 - Creating and monetizing AI plugins using Spring AI framework (September 2024)
- Supercharging your AI Applications with Spring AI Advisors • Spring Team - October 2024
- Spring AI Is All You Need • Christian Tzolov • GOTO Amsterdam 2024 - June 2024
- Practical GenAI with Spring AI • Rod Johnson @ YOW! 2024 - June 2024
- Introducing Spring AI by Christian Tzolov / Mark Pollack @ Spring I/O 2024 - May 2024
- Bringing GenAI to the Modern Enterprise. A production use-case. In Serverless Java !! • Dan Dobrin • Devoxx Belgium 2024 - May 2024
- Bootiful Spring Boot • Josh Long @ SpringOne 2024 - January 2024
- Bootiful Artificial Intelligence • Josh Long, Mark Pollack & Rod Johnson @ SpringOne 2024 - January 2024
- Spring AI: Seamlessly Integrating AI into Your Enterprise Java Applications - December 2023
- Overview of Spring AI @ Devoxx 2023 - November 2023
- Spring Tips: Spring AI - October 2023
- Introducing Spring AI • Add Generative AI to your Spring Applications - October 2023
- Spring AI at Spring.IO Keynotes - October 2023
- Spring Office Hours S4E25: Live from SpringOne @ Explore 2025 - Spring community updates including Spring AI segments and updates (March 2025)
- Spring Office Hours S4E17: Spring AI + Google Gemini: Beyond the Demo - Deep dive into Spring AI integration with Google Gemini models (February 2025)
- Spring AI Tutorial - SivaLabs - Comprehensive Spring AI tutorial series covering fundamentals, integrations, and practical implementations (September 2025)
- AI Native DevCon - Spring 2025 - Conference playlist featuring Spring AI material and related AI-native development content (Spring 2025)
- Craig Walls' Spring AI Playlist
- Dan Vega's Playlist
- Devoxx Playlist
- Telusko Spring AI Tutorial Playlist - Comprehensive tutorial series covering Spring AI implementation with OpenAI, Anthropic, and Ollama integration
- AI - Artificial Intelligence Playlist - Collection of videos covering Spring AI and general artificial intelligence concepts and implementations
- Spring AI Zero to Hero Workshop - Example applications showing how to use Spring AI to build Generative AI projects.
- (outdated) Workshop material for Azure OpenAI - contains step-by-step examples from 'hello world' to 'retrieval augmented generation'
- Gemini Workshop for Spring AI Java Developers • Dan Dobrin - workshop materials for the Java developer building Gen AI applications with Gemini models using Spring AI
- Exploring interactions with LLMs : Practical insights with Spring AI - A self-paced workshop designed to practice Spring AI basics and discover interactions with LLMs.
- "Deep Learning" sobre Spring AI: primeros pasos - Spanish introduction to Spring AI concepts and building a simple Spring Boot chatbot (May 2025)
- Spring AI e Groq: Guia Completo para Criar um Assistente Inteligente - Portuguese tutorial on using Spring AI with Groq, including prompt engineering with CATS framework (August 2025)
- Spring AI入门教学:从零搭建智能应用(2025最新实践) - Chinese guide to Spring AI, building a chatbot with Azure OpenAI, streaming responses, memory, multimodal support (March 2025)
- 2025年最新 Spring AI Alibaba 入门到进阶实战教程 (Bilibili Series) - Chinese 54-part video course on Spring AI Alibaba, covering LLMs, RAG, function calling, and e-commerce chatbot building (June 2025)
-
Spring AI Samples by Thomas Vitale - Extensive collection of samples showing how to build Java applications powered by Generative AI and Large Language Models (LLMs). Includes examples for different AI models, RAG implementations, and various Spring AI features.
-
Spring AI Examples by Craig Walls - Comprehensive repository with dozens of examples covering all major Spring AI capabilities, model integrations, and implementation patterns. Created by the author of "Spring AI in Action".
-
Spring AI Showcase by Piotr Minkowski - Modular demo project showcasing multiple Spring AI features including prompt templates, chat memory, structured output, function calling, RAG with Pinecone vector store, and image models. Supports multiple AI providers (OpenAI, Mistral, Ollama, Azure OpenAI) with profile-based configuration.
- Spring AI Official Examples - Comprehensive official repository containing examples for all Spring AI features including MCP dynamic tools, prompt engineering patterns, agentic workflows, vector stores, and various model integrations (2025)
- Spring AI Docker Model Runner Example - Integration example showing how to use Docker Model Runner with Spring AI for local development and testing (2025)
- Spring PetClinic AI - The classic Spring PetClinic application enhanced with a chatbot powered by Spring AI. Demonstrates natural language interaction with application data, allowing users to query and modify pet clinic information through conversation. Supports both OpenAI and Azure OpenAI as LLM providers. Detailed in a two-part blog series on spring.io.
- Flight Booking Assistant - Spring AI powered expert system demo that simulates a flight booking assistant. Demonstrates how to build domain-specific AI assistants using Spring AI.
- Spring AI with QianFan - Spring AI support for various AI language models from QianFan. Shows how to interact with QianFan language models and create a multilingual conversational assistant based on QianFan models.
- Similarity Search using Spring AI - Implementation of a simple similarity search. Demonstrating how to use Kotlin or Java with Spring-AI to generate embeddings and perform simple similarity searches (March 2025)
-
Spring AI HTMX MCP - Example of building a modern, interactive UI for Spring AI applications using HTMX. Demonstrates how to create a responsive chat interface with minimal JavaScript by leveraging HTMX's server-side rendering capabilities combined with Spring AI's Model Context Protocol.
-
Spring AI Vaadin - Integration of Spring AI with Vaadin, a Java web framework for building modern web applications. Provides components and examples for creating rich, interactive AI-powered UIs with pure Java, without requiring JavaScript or HTML knowledge.
-
DocumentGPT - A RAG-based document query system by Sergi Almar that allows users to upload documents and chat with them using Spring AI's vector search capabilities. Features a web-based user interface for document upload and interactive querying.
-
Spring AI Playground - A web UI designed to make it easy for Java developers to experiment with and integrate AI models. Provides an interactive interface for testing different prompts and models.
-
Spring AI Chat Bot CLI - Command-line chatbot with Retrieval-Augmented Generation (RAG) and conversational memory capabilities. Demonstrates how to build interactive CLI applications with Spring AI.
-
Spring AI Powered Local CLI Chat Bot - A fully local, Spring AI-powered CLI chatbot that runs entirely on your machine with no external services required. Perfect for offline development or privacy-sensitive applications.
- Spring AI Alibaba - An extension of Spring AI that provides an agentic AI framework for Java developers. Adds support for Alibaba Cloud QWen models and Dashscope services, along with additional features like conversation memory, RAG support, and function calling. Maintains compatibility with the Spring AI API while offering specialized capabilities for Alibaba Cloud's AI ecosystem.
- Arconia Ollama Dev Service - A Spring Boot development service that automatically manages Ollama instances for local LLM development. Simplifies testing and development with local models by handling container lifecycle and configuration. Integrates seamlessly with Spring AI's Ollama support.
- MCP Client Documentation - Official documentation for implementing the Model Context Protocol client in Spring AI applications.
- MCP Client Examples - Comprehensive examples showcasing the Model Context Protocol implementation in Spring AI, including client-server communication, tool discovery, filesystem operations, weather services, web search integration, and dynamic tool updates.
- MCP Annotations - Annotation-based programming model for implementing MCP servers and clients. Provides a clean, declarative approach to handling MCP operations with reduced boilerplate code. Includes core annotations that depend only on the MCP Java SDK and a Spring AI integration module.
- Spring Batch MCP Server - An MCP service for introspecting Spring Batch applications, providing AI assistants with access to batch job information.
- Spring Cloud Config MCP Server - An experimental MCP server implementation for Spring Cloud Config that exposes configuration management operations as AI tools, allowing AI assistants to retrieve, update, and refresh application configurations, as well as encrypt/decrypt sensitive values.
- JVM Diagnostics MCP - A Model Context Protocol service for obtaining JVM diagnostics, allowing AI assistants to access runtime information about Java applications.
- Kotlin Crypto Price MCP Server - A Kotlin-based Spring AI MCP server that provides real-time cryptocurrency price information from Binance.
- Spring AI MCP Database Integration Example - A practical implementation of MCP with Spring AI featuring two server applications exposing database operations (person and account data) via @Tool annotations and a client application that discovers and uses these tools with OpenAI models.
- GitHub MCP Application - A 100% Java GitHub MCP application built on Spring AI by Stephan Janssen, creator of Devoxx.
- AWS Sample MCP Demos - Collection of examples showing how to use Model Context Protocol with AWS services, including Spring AI implementations.
- Christian Tzolov
- Josh Long
- Dan Vega
- Thomas Vitale
- Dan Dobrin
- Marcus Hellberg
- Lize Roes
- Bouke Nijhuis
- Guillaume Laforge
- Brian Sam-Bodden
- Adib Saikali
- Clémentine Fourrier
- Craig Walls
- Ilja Leyberman
- This Day in AI
- Practical AI from Changelog
- Latent Space
- Your Undivided Attention
- TWIML (This Week in Machine Learning)
- Gradient Decent
- Spring Office Hours
- Bootiful Podcast
Your contributions are always welcome! Please read the contribution guidelines first.