Skip to main content
Version: 2.0.x

Versions and dependencies

Use the site navigation to switch documentation versions. The table lists the releases and their aligned dependencies.

DocsSpring AI AlibabaExtensionsSpring AISpring BootMCP Java SDKNacos Client
2.1.x2.1.0.02.1.0.02.1.04.2.02.2.03.3.0
2.0.x2.0.3.02.0.3.02.0.34.1.32.1.03.3.0
1.x1.1.2.21.1.2.31.1.23.5.8 / 3.5.100.14.03.1.0

The Alibaba 1.1.2.2 release builds with Spring AI 1.1.2 and Boot 3.5.8. Extensions 1.1.2.3 builds with Spring AI 1.1.2 and Boot 3.5.10. Verify application and dependency compatibility when upgrading to a newer upstream patch.

Spring AI 1.1.8 · Extensions 1.1.2.3 POM

Manage dependencies with BOMs​

Examples on this line use JDK 17+, Spring Boot 4.1.3, and Spring AI Alibaba 2.0.3.0. Import these BOMs in a Boot project aligned to 4.1.3. Keep the Extensions BOM when using Extensions modules such as DashScope.

<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.alibaba.cloud.ai</groupId>
<artifactId>spring-ai-alibaba-bom</artifactId>
<version>2.0.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>com.alibaba.cloud.ai</groupId>
<artifactId>spring-ai-alibaba-extensions-bom</artifactId>
<version>2.0.3.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.ai</groupId>
<artifactId>spring-ai-bom</artifactId>
<version>2.0.3</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

The Alibaba BOM manages Agent Framework, Graph Core, Studio, and Graph starters. The Extensions BOM manages DashScope, document parsers, and Alibaba Cloud vector-store starters. Use each Admin or example agent project’s own release instructions.

Continue with Quick start and release highlights and migration.

Tagged dependency definitions

Spring AI Alibaba 开源项目基于 Spring AI 构建,是阿里云通义系列模型及服务在 Java AI 应用开发领域的最佳实践,提供高层次的 AI API 抽象与云原生基础设施集成方案,帮助开发者快速构建 AI 应用。

浙ICP备2021005855号-33