An Application Framework for AI Engineering
The Spring AI project provides a Spring-friendly API and abstractions for developing AI applications.
Its goal is to apply Spring ecosystem design principles, such as portability and modular design, to the AI domain and promote using strongly-typed data structures and APIs as the building blocks of an application.
At its core, Spring AI addresses the fundamental challenge of AI integration: connecting your enterprise Data and APIs with the AI Models.
The reference documentation includes a Getting Started guide.
Spring Boot Version Compatibility:
We welcome contributions of all kinds! Please read our contribution guidelines before submitting a pull request or an issue.
This is a high level feature overview.
You don’t need to build from source to use Spring AI. If you want to try out the latest and greatest, Spring AI can be built and published to your local Maven repository:
./mvnw clean installThis command builds all modules, runs unit tests, and publishes artifacts to your local Maven repository.
Please read our contribution guidelines for more details.
user-scoped long-term memory via Memcode MCP
When using ChatClient, the audio parameter of OpenAiChatOptions should be customizable rather than an enum
Ecosystem CI Health Dashboard
Google GenAI: tool schemas with $defs fail; send them via FunctionDeclaration.parametersJsonSchema
Support Apache Tika 4.0.0 (tika-parsers-standard-package no longer publishes a JAR, only a POM aggregator)
spring-ai-starter-vector-store-pgvector transitively pulls in spring-boot-starter-jdbc causing DataSource auto-configuration failure
PDF document readers never close their PDDocument and are not Closeable
SyncMcpToolCallback: tool result JSON drops each content part's `type`
Add an opt-in caching decorator for EmbeddingModel
SafeGuardAdvisor matches sensitive words as substrings; add opt-in whole-word matching