#2020th of 34 in RAG and search

llm-apps-java-spring-ai

Spring AI sample projects for chat, RAG, tool calling and observability in Java

Releases and problems feed (RSS)

Stars
790
License
Apache-2.0
Last commit
Nov 2026
Language
Java
Stars, last 29 weeks+55
6 May 2026: 735 stars13 May 2026: 735 stars20 May 2026: 736 stars27 May 2026: 737 stars3 Jun 2026: 739 stars10 Jun 2026: 743 stars17 Jun 2026: 744 stars24 Jun 2026: 746 stars1 Jul 2026: 747 stars8 Jul 2026: 747 stars15 Jul 2026: 752 stars22 Jul 2026: 754 stars29 Jul 2026: 757 stars5 Aug 2026: 758 stars12 Aug 2026: 762 stars19 Aug 2026: 766 stars26 Aug 2026: 770 stars2 Sept 2026: 772 stars9 Sept 2026: 773 stars16 Sept 2026: 775 stars23 Sept 2026: 778 stars30 Sept 2026: 779 stars7 Oct 2026: 780 stars14 Oct 2026: 783 stars21 Oct 2026: 784 stars28 Oct 2026: 786 stars4 Nov 2026: 786 stars11 Nov 2026: 788 stars18 Nov 2026: 788 stars25 Nov 2026: 790 stars

735 on 6 May 2026790 on 25 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

A collection of small Java 25 sample applications built on Spring AI. Each folder covers one topic: chat models, embeddings, prompts, structured output, tool calling, chat memory, guardrails, document ingestion, several RAG flows and LLM observability. Most samples use Ollama, some have Mistral AI and OpenAI variants, and retrieval samples use PGVector.

Who it is for: Java developers learning Spring AI patterns for LLM apps

Strengths

  • Covers sequential, branching and conditional RAG flows with Ollama and PGVector
  • Same pattern often shown for Ollama, OpenAI and Mistral AI side by side
  • Includes chat memory variants: in-memory, JDBC, Spring Security, vector store
  • Includes observability samples for models and PGVector

Weaknesses

  • Separate sample modules, not one forkable app with auth or billing
  • Vector stores, evaluation and agents sections are marked coming soon
  • Requires Java 25, which many teams have not adopted
  • Only PGVector is shown as a vector store

What it needs

  • Java, Ollama, OpenAI, Mistral AI, ONNX Transformers
  • Needs Java 25, Podman or Docker, Ollama, PGVector

Also in RAG and search

See all 34
Also in RAG and search
RankProjectScore
#18oramaIn-process full-text, vector and hybrid search library for JavaScript10.6k starscustom license46 out of 100
#19SupabaseAuthWithSSRClaude chat on Next.js 16 with Supabase auth, pgvector RAG, cost dashboards Live demo ↗ (opens in a new tab)397 starsMIT45 out of 100
#21rag-postgres-openai-pythonRAG over Postgres table rows with hybrid search and SQL filters512 starsMIT43 out of 100
#22generativeaiexamplesNVIDIA notebooks and sample apps for RAG, agents and NeMo microservices4.2k starsApache-2.042 out of 100
#23serverless-chat-langchainjsRAG chatbot sample on Azure Functions, Cosmos DB and LangChain.js869 starsMIT42 out of 100