Sandbox
@eazybytes/spring-ai

Spring AI course examples for Spring Boot apps

This repository is the companion code for a Spring AI course. It collects worked examples for LLM providers, embeddings, RAG, chat memory, and MCP inside Spring Boot projects. The code is split by section so you can follow along lesson by lesson.

158 starsβ€’200 forksβ€’Javaβ€’Updated 2mo ago
Who it's for

Builders who want to learn Spring AI by trying course projects in Spring Boot.

What it delivers

You can follow a guided path from Spring Boot app code to AI features like chat, RAG, and MCP.

What it does

Provider examples

Examples for OpenAI, Ollama, AWS Bedrock, and Docker-based model runners in `section01`.

RAG and vector store demos

Projects that show retrieval-augmented generation patterns, including Qdrant-based setups.

MCP examples

Client and server samples for Model Context Protocol in `section07`, including stdio and remote server setups.

Chat memory and sampling demos

Section folders for Spring AI chat memory, elicitation, logging, progress, tool filtering, and sampling.

Postman collection

`SpringAI.postman_collection.json` for testing course APIs and demo endpoints.

README

From Java Dev to AI Engineer: Spring AI Fast Track

🌱 Spring AI Course – Resources & Reference Links

Welcome to the official GitHub repository for the Spring AI Course. This course helps you build intelligent applications using the Spring AI framework and integrate powerful LLMs like OpenAI into your Spring Boot apps.

Below are some carefully curated reference links and tools used throughout the course. Bookmark this information for quick access during development and exploration.


πŸ“˜ Official Documentation


πŸ€– AI Providers & Runtimes

  • Ollama
    Run open-source large language models (LLMs) locally on your machine with simple commands.

  • AWS Bedrock
    Access foundation models from various providers via a fully managed AWS service.

  • Docker Desktop
    Essential for running local AI model runtimes and Docker Compose setups used in the course.

  • Docker Model Runner
    Use Docker’s official tool for running and managing AI models locally.


πŸ“š Foundational Papers & Tools


πŸ“¦ Vector Store & MCP


πŸ“Š Observability & Monitoring Tools

  • Prometheus
    Monitoring and alerting toolkit for collecting Spring Boot and AI app metrics.

  • Micrometer
    Java metrics collection library used with Spring Boot to expose observability data.

  • OpenTelemetry
    Industry-standard framework for distributed tracing and telemetry data.

  • Grafana
    Visualization tool for creating dashboards from Prometheus and other data sources.

  • Jaeger Tracing
    Distributed tracing platform used to trace and monitor AI request flows.


πŸ“Ž Stay Connected


πŸ“¬ For questions or issues, raise a GitHub issue or connect with the course instructor

Happy Learning! πŸš€

Files in the repo

Repository payloadβ€’13 top-level entries
  • section_10
  • section_11
  • section01
  • section02
  • section04
  • section05
  • section06
  • section07
  • section08
  • section09
  • .gitignore
  • README.md
  • SpringAI.postman_collection.json

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More tutorials & guides

shareAI-lab/
learn-claude-code

Bash is all you need - A nano claude code–like γ€Œagent harness」, built from 0 to 1

77k
luongnv89/
claude-howto
luongnv89/claude-howtoTutorials & Guides

A visual, example-driven guide to Claude Code β€” from basic concepts to advanced agents, with copy-paste templates that bring immediate value.

41k
agentskills/
agentskills
agentskills/agentskillsTutorials & Guides

Specification and documentation for Agent Skills

25k
datawhalechina/easy-vibeTutorials & Guides

πŸ’» vibe coding 101|The first course for AI-native product builders.

19k