跳到主要内容

版本说明

本文面向终端用户开发者,说明 Spring AI Alibaba(SAA)与上游框架的版本对应关系、如何选型与迁移,以及文档与组件的版本信息。

Spring AI Alibaba 框架版本

版本兼容表

SAA 版本Spring AISpring AI ExtensionsSpring Boot说明
1.1.2.0(当前推荐)1.1.21.1.2.1 或 1.1.2.03.5.x支持 Agent Skills,提供 Supervisor、Routing 等 Multi-agent 能力。
1.1.0.01.1.01.1.0.03.4.x1.1.0 首个正式版
1.1.0.0-RC21.1.0-RC21.1.0.0-RC23.4.x1.1.0 候选版,请使用 1.1.0.0 或 1.1.2.0 版本
1.1.0.0-RC11.1.0-RC11.1.0.0-RC13.4.x1.1.0 候选版,请使用 1.1.0.0 或 1.1.2.0 版本
1.0.x1.0.03.4.x1.0 系列

具体 Spring Boot 小版本以 spring-ai-alibaba-bom 及各模块 pom.xml 为准。升级前请核对 Release Notes

依赖管理(推荐使用 BOM)

新项目建议通过 BOM 统一版本,避免与 Spring AI、Spring Boot 冲突:

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

<dependencies>
<dependency>
<groupId>com.alibaba.cloud.ai</groupId>
<artifactId>spring-ai-alibaba-agent-framework</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba.cloud.ai</groupId>
<artifactId>spring-ai-alibaba-starter-dashscope</artifactId>
</dependency>
</dependencies>

组件与生态版本

以下组件随 Spring AI Alibaba 主仓库发布,版本与 BOM 中的 SAA 版本一致(如 1.1.2.0)。

组件 / 模块artifactId说明版本约定
BOMspring-ai-alibaba-bom依赖管理,统一 SAA 各模块版本同 SAA 主版本
Agent Frameworkspring-ai-alibaba-agent-frameworkReactAgent、多智能体编排、Hooks、Skills 等同 BOM
Graph Corespring-ai-alibaba-graph-core图工作流运行时、持久化、流式、MCP 节点等同 BOM
Studiospring-ai-alibaba-studio嵌入式 Agent 调试与可视化 UI同 BOM
Sandboxspring-ai-alibaba-sandboxAgent 沙箱运行时同 BOM
Adminspring-ai-alibaba-admin一站式 Agent 平台(可视开发、可观测、MCP 管理)随主仓库发布
Starter A2A Nacosspring-ai-alibaba-starter-a2a-nacos基于 Nacos 的 A2A 通信同 BOM
Starter Config Nacosspring-ai-alibaba-starter-config-nacos基于 Nacos 的动态配置与模型热更新同 BOM
Starter Graph Observationspring-ai-alibaba-starter-graph-observationGraph 可观测性(Micrometer/OpenTelemetry)同 BOM
Starter Builtin Nodesspring-ai-alibaba-starter-builtin-nodes预置图节点(LlmNode、AgentNode 等)同 BOM

示例项目

示例项目位于主仓库 examples/ 下,每个示例独立工程,依赖 BOM 中的 SAA 版本。

示例项目artifactId说明项目地址
Chatbotchatbot对话式 Agent 示例(DashScope、Studio、Python/Shell 等)github.com/alibaba/spring-ai-alibaba/tree/main/examples/chatbot
DeepResearchdeepresearch深度研究 Agent 示例(MCP、多步推理)github.com/alibaba/spring-ai-alibaba/tree/main/examples/deepresearch
Documentationdocumentation文档配套示例(Agent 与 Graph 教程、进阶示例)github.com/alibaba/spring-ai-alibaba/tree/main/examples/documentation

第三方与社区生态

以下项目位于 GitHub spring-ai-alibaba 组织 下,与 Spring AI Alibaba 主仓库协同构成生态。版本与发布节奏请以各仓库或文档为准。

项目名称说明项目地址
Spring AI ExtensionsSpring AI 扩展实现(DashScopeChatModel、MCP Registry 等),为 LLM 应用提供模型、工具、向量存储等基础抽象github.com/spring-ai-alibaba/spring-ai-extensions
ExamplesSpring AI 与 Spring AI Alibaba 用法示例集合(独立仓库)github.com/spring-ai-alibaba/examples
DataAgent基于 Spring AI Alibaba 的自然语言转 SQL,支持用自然语言查询数据库而无需手写 SQLgithub.com/spring-ai-alibaba/dataagent
DeepResearch (Graph 版本)基于 spring-ai-alibaba-graph 的深度研究应用(独立仓库发行版)github.com/spring-ai-alibaba/deepresearch
AssistantAgent面向企业级场景的助手型 Agent 构建框架github.com/spring-ai-alibaba/AssistantAgent
Lynxe (原Jmanus)高确定性、无代码的 Prompt 编程工作站(基于 Java)github.com/spring-ai-alibaba/Lynxe

文档目录大纲

文档按以下结构组织,便于查找入门、教程与进阶内容。

分类路径 / 主题说明
入门概览项目定位、架构、核心能力与安装方式
快速开始从零搭建 ReactAgent,含环境、依赖、API Key、示例代码
Agent 框架教程frameworks/agent-framework/tutorials/Agents、Models、Tools、Hooks、Memory、Messages、Skills、Structured Output 等
Agent 框架进阶frameworks/agent-framework/advanced/RAG、多智能体、人机协同、上下文工程、A2A、Workflow 等
Graph 核心frameworks/graph-core/quick-startGraph 快速上手
frameworks/graph-core/core/核心库、持久化、内存、流式等
frameworks/graph-core/examples/子图、并行、取消、MCP、持久化、人机协同等示例
Studioframeworks/studio/quick-startStudio 嵌入式调试与使用

相关链接

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