Back to All Courses

Building AI Systems with Spring AI

Duration: 8 Hours

Difficulty Level: Advanced

Audience: Professionals

Certificate of Completion by Code.Hub

“Building AI Systems with Spring AI” is a comprehensive course that teaches developers how to design and implement production-ready AI-powered applications using the Spring AI framework. The course covers the full spectrum of modern AI development, from understanding core architectural concepts and prompt engineering to building conversational agents with memory, integrating retrieval-augmented generation (RAG) pipelines, leveraging tool calling and MCP, and deploying both cloud-based and offline language models.

By the end of this module, participants will be able to:

  1. Architect and build AI-powered services using Spring AI within a familiar Java/Spring ecosystem
  2. Write effective prompts using templates, few-shot examples, and structured output techniques
  3. Design stateful conversational applications with appropriate memory strategies
  4. Implement RAG pipelines to ground LLM responses in real data and reduce hallucinations
  5. Integrate external tools and MCP servers into multi-step AI workflows
  6. Deploy and switch between cloud-hosted and locally running language models using Docker

AI vs traditional services
Spring AI architecture
ChatClient
Models/messages
System vs user instructions

Prompt templates
Instruction vs context
Few-shot prompting
Structured outputs

Stateless vs stateful conversations
Memory patterns (sliding window, summary, store-backed)
Memory lifecycle

LLM hallucinations
RAG pipeline overview
query→retrieval→context→generation
Chunking strategies
Logging
Token usage monitoring

Tools vs APIs
Validation
Error handling
Multi-step flows
MCP client/server basics

Cloud vs offline models
Model selection & quantization
Docker deployment
Switching between cloud/local

  • Roles: Backend Engineers, Software Architects, Technical Leads, Solution Architects
  • Seniority: Mid-Level to Senior Professionals
  1. Solid understanding of Java and the Spring Framework (Spring Boot experience is strongly recommended)
  2. Familiarity with REST APIs and basic software architecture patterns
  3. Basic understanding of what Large Language Models (LLMs) are and how they are used
  4. Experience with Docker is helpful, particularly for the offline deployment module

Sessions can be delivered via the following formats:

  • Live Online – Interactive virtual sessions via video conferencing
  • On-Site – At your organization’s premises
  • In-Person – At Code.Hub’s training center
  • Hybrid – A combination of online and in-person sessions

Interested for

Building AI Systems with Spring AI
By submitting, you agree with Terms & Conditions