Spring AI
Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.
30-second check: should it make your shortlist?
AI as Spring components: a portable Model API, ChatClient, vector stores and MCP…
Local / self-hosted · Framework / SDK
Open licence
Read the original licence before commercial useDirect in mainland · Not in filing list
These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.
Information not confirmed
- Full current list of supported models and vector stores (not enumerated here)
- Versions and limits of bidirectional MCP integration
- Spring Boot compatibility matrix
AI as Spring components: a portable Model API, ChatClient, vector stores and MCP integration, assembled with Spring Boot starters and auto-configuration.
When to use it, when not to
Fits Spring Boot teams who want AI as standard Spring components and need MCP plus vector-store integration. Does not fit non-Java teams, turnkey agents, or lightweight scripting.
China availability domestic / direct access / CAC filing · snapshot 2026-11-03
- Origin
- foreign-made Spring project (VMware/Broadcom ecosystem).
- Direct access
- direct OK Direct reachability from mainland not verified; Maven Central is available through mirrors.
- CAC filing
- not in filing list:Not in the CAC public registry (searched 2026-11-03); the open-source framework does not serve the mainland public, so filing does not apply.
Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.
8 questions, one table
8 questions, each comparable item by item with its peers.
- Model & openness
A portable Model API behind one interface across providers; official docs list ChatClient and the model APIs. The current supported list follows official docs and is not enumerated here.
- Where it runs
Runs inside a Spring Boot application: official starters and auto-configuration inject models and vector stores as Spring beans.
- Local files
Document ingestion (ETL) and vector stores are configured by the application; the framework hosts no data itself.
- Tasks after shutdown
A library with no built-in task queue; async and long-running work is orchestrated on the Spring side.
- Tools & extensions
Supports tool calling and MCP: official docs state it can consume MCP servers and expose Spring services to the AI ecosystem.
- Context & memory
Conversation memory is managed through ChatClient and memory configuration; persistence is yours to attach.
- Permissions & limits
Runs within Spring Security; permissions are application-configured, with no built-in multi-tenant isolation.
- Best for
Fits Spring Boot teams who want AI as standard Spring components and need MCP plus vector-store integration. Does not fit non-Java teams, turnkey agents, or lightweight scripting.
Licence and terms of use
Apache-2.0 (follow the repository LICENSE; dependency licences not verified line by line here).
Top misconception
- Treating Spring AI as the official version of LangChain4j — they are different projects with different abstractions
- Assuming a starter auto-configures a model — you still need an API key and model configuration
- Ignoring Spring version compatibility — starters and Boot versions must align
Evidence sources
Checked 2026-11-03,Content updated 2026-11-03。This is the date of the entry, not a claim that every field was rechecked that day.
| Type | Name | Link |
|---|---|---|
| docs | Spring AI · official reference docs (Model API / ChatClient / MCP / ETL) | https://docs.spring.io/spring-ai/reference/ |
| official | Spring AI · project home (Spring AI 2.0 positioning) | https://spring.io/projects/spring-ai/ |
| repo | Spring AI · GitHub repository | https://github.com/spring-projects/spring-ai |
| changelog | Spring AI · Releases (official changelog) | https://github.com/spring-projects/spring-ai/releases |
Test notes
This site has not completed integration or performance tests; the conclusions cover the API and capabilities disclosed in official docs only.
Related entries
- LangChain4jAnother Java route with a more LangChain-like abstraction.
- LangChainA Python-side counterpart to read in contrast.
- vLLMOther layer · Local model runners
Same-category peers
Look at these three before reading further
Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.
| Object | Where | Licence | Evidence / status | What it is for |
|---|---|---|---|---|
| AG2 | Local / self-hosted | Open licence | 8 questions checked Active | The community continuation of AutoGen after the original repo stalled. T |
| CrewAI | Local / self-hosted | Open licence | 8 questions checked Active | "Organises multi-agent collaboration through role division and business |
| Google ADK(Agent Development Kit) | Cloud / API | Open licence | 8 questions checked Active | In one line: Google ADK is a code-first agent orchestration framework wh |
This page is generated from the ai-handbook data layer (CC BY 4.0).
For the judging criteria and method notes, see METHODOLOGY.md.