Let's get started with a Microservice Architecture with Spring Cloud:
AI in Java Series
Last updated: May 6, 2026
Artificial intelligence has become a core concern for Java developers, with a growing ecosystem of frameworks and tools for building everything from simple chatbots to sophisticated agentic systems. Java offers strong support for modern AI development through frameworks like Spring AI and LangChain4j, as well as direct integrations with the major LLM providers.
This curated series provides a practical guide to building AI-powered applications in Java, covering foundational concepts, Spring AI’s core features, retrieval-augmented generation, the Model Context Protocol, AI agents, and deep learning libraries.
Getting Started with AI in Java
- Introduction to Spring AI
- Introduction to LangChain
- The OpenAI API Java Client
- Using OpenAI ChatGPT APIs in Spring Boot
Building with Spring AI
- ChatClient Fluent API in Spring AI
- Chat Memory in Spring AI
- A Guide to Structured Output in Spring AI
- A Guide to Spring AI Advisors
- Using Anthropic’s Claude Models With Spring AI
- Building an AI Chatbot Using DeepSeek Models With Spring AI
- Create a ChatGPT Like Chatbot With Ollama and Spring AI
- Testing LLM Responses Using Spring AI Evaluators
RAG and Vector Search
- A Guide to Embeddings Model API in Spring AI
- Create a RAG (Retrieval Augmented Generation) Application with Redis and Spring AI
- Building an AI Chatbot in Java With Langchain4j and MongoDB Atlas
- Implementing Semantic Search Using Spring AI and PGVector
- Spring AI With ChromaDB Vector Store
- Building a RAG App Using MongoDB and Spring AI
- Implementing Semantic Caching Using Spring AI
Model Context Protocol (MCP)
- Introduction to the Model Context Protocol (MCP) Java SDK
- Exploring Model Context Protocol (MCP) With Spring AI
- MCP Authorization With Spring AI and OAuth2
- Securing Spring AI MCP Servers With OAuth2
AI Agents
- Creating an AI Agent in Java Using Embabel Agent Framework
- Building AI Agents Using Google Agent Development Kit (ADK)
- Text-to-SQL Implementation Using Spring AI
- Implementing an AI Assistant with Spring AI
















