#5555th of 118 in Agent frameworks and SDKs

spring-ai

Spring-style Java API for chat models, embeddings, vector stores and tool calling

Stars
9.6k
License
Apache-2.0
Last commit
Nov 2026
Last release
Oct 2026
Language
Java
Stars, last 29 weeks+1,216
21 Apr 2026: 8,422 stars28 Apr 2026: 8,481 stars5 May 2026: 8,512 stars12 May 2026: 8,572 stars19 May 2026: 8,625 stars26 May 2026: 8,689 stars2 Jun 2026: 8,735 stars9 Jun 2026: 8,793 stars16 Jun 2026: 8,869 stars23 Jun 2026: 8,913 stars30 Jun 2026: 8,955 stars7 Jul 2026: 8,993 stars14 Jul 2026: 9,047 stars21 Jul 2026: 9,097 stars28 Jul 2026: 9,136 stars4 Aug 2026: 9,177 stars11 Aug 2026: 9,220 stars18 Aug 2026: 9,262 stars25 Aug 2026: 9,299 stars1 Sept 2026: 9,338 stars8 Sept 2026: 9,373 stars15 Sept 2026: 9,406 stars22 Sept 2026: 9,436 stars29 Sept 2026: 9,465 stars6 Oct 2026: 9,480 stars13 Oct 2026: 9,513 stars20 Oct 2026: 9,541 stars27 Oct 2026: 9,588 stars3 Nov 2026: 9,614 stars10 Nov 2026: 9,638 stars

8,422 on 21 Apr 20269,638 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Spring AI is a Java library that gives Spring Boot applications a portable API over model providers such as Anthropic, OpenAI, Amazon Bedrock, Google, Ollama, Mistral AI and DeepSeek. It covers chat, embedding, image, transcription, speech and moderation models, plus vector stores, tool calling, structured output to POJOs, chat memory, RAG and MCP starters. Version 2.x targets Spring Boot 4.x; 1.1.x targets Boot 3.5.x.

Who it is for: Java and Spring Boot developers adding LLM features to applications

Strengths

  • Portable ChatClient API across many providers, with sync and streaming modes
  • Boot starters and auto-configuration for models and vector stores
  • About 20 vector stores behind one SQL-like metadata filter API
  • MCP client and server starters with STDIO, SSE and Streamable-HTTP transports

Weaknesses

  • Java and Spring Boot only; no support for other languages or frameworks
  • 2.x requires Spring Boot 4; Boot 3.5 users must stay on 1.1.x
  • A library, not a runnable app: no UI or hosted agent runtime
  • Major-version split means upgrades need migration work per the upgrade notes

What it needs

  • no GPU
  • Needs Spring Boot, Maven, Model provider API or local runtime such as Ollama, Optional vector store
  • Models: Anthropic, OpenAI, Amazon Bedrock, Google, Ollama

Quick answers

Is spring-ai open source?

Yes. Its code is on GitHub under the Apache-2.0 license.

Does spring-ai need a GPU?

No, it runs without one.

Also in Agent frameworks and SDKs

See all 118
Also in Agent frameworks and SDKs
RankProjectScore
1ppt-masterAgent skill that turns documents into natively editable PowerPoint decks Live demo ↗ (opens in a new tab)75.9k stars+15,456 (+26%) in 30 daysMIT95 out of 100
2openai-agents-pythonPython SDK for multi-agent workflows with handoffs, guardrails and tracing30.6k stars+689 (+2.3%) in 30 daysMIT91 out of 100
3mastraTypeScript framework for building AI agents, workflows and MCP servers29.5k stars+792 (+2.8%) in 30 dayscustom license91 out of 100
#4browser-usePython library that lets an LLM agent control a web browser Live demo ↗ (opens in a new tab)120.7k stars+3,290 (+2.8%) in 30 daysMIT90 out of 100
#5copilotkitSDK for adding agent chat, generative UI and shared state to apps38.6k stars+760 (+2.0%) in 30 daysMIT90 out of 100