{"full_name":"alibaba/spring-ai-alibaba","owner":"alibaba","name":"spring-ai-alibaba","shard":"1","url":"https://github.com/alibaba/spring-ai-alibaba","description":"Agentic AI Framework for Java Developers","homepage":"https://java2ai.com","topics":["artificial-intelligence","java","spring-ai","agentic","context-engineering","multi-agent","workflow","graph","reactagent"],"tag_pages":["agentic","artificial-intelligence","context-engineering","graph","java","multi-agent","spring-ai","workflow"],"language":"Java","license":"Apache-2.0","avatar":"https://avatars.githubusercontent.com/u/1961952?v=4","created_at":"2024-09-09T01:35:50Z","pushed_at":"2026-11-27T16:51:24Z","metrics":{"stars":11187,"forks":2477,"watchers":111,"issues":1887,"prs":2237,"releases":21,"issues_open":62,"issues_closed":1825,"prs_open":113,"prs_closed":509,"prs_merged":1615,"discussions":101},"growth":{"day":{"stars":6,"forks":0,"base_day":"2026-11-27"},"week":{"stars":21,"forks":-1,"base_day":"2026-11-21"}},"history":{"dates":["2026-11-19","2026-11-20","2026-11-21","2026-11-22","2026-11-23","2026-11-24","2026-11-25","2026-11-26","2026-11-27","2026-11-28"],"stars":[11162,11165,11166,11165,11166,11169,11171,11176,11181,11187],"forks":[2473,2474,2478,2479,2479,2478,2478,2476,2477,2477],"watchers":[111,111,111,111,111,111,111,111,111,111],"issues_open":[71,72,72,72,72,63,63,63,63,62],"prs_open":[115,115,116,116,115,113,113,113,113,113]},"boards":{},"same_owner":[{"full_name":"alibaba/AliSQL","name":"AliSQL","shard":"1","boards":{}},{"full_name":"alibaba/DataX","name":"DataX","shard":"1","boards":{}},{"full_name":"alibaba/MNN","name":"MNN","shard":"1","boards":{}},{"full_name":"alibaba/QLExpress","name":"QLExpress","shard":"1","boards":{}},{"full_name":"alibaba/Sentinel","name":"Sentinel","shard":"1","boards":{}},{"full_name":"alibaba/arthas","name":"arthas","shard":"1","boards":{}},{"full_name":"alibaba/canal","name":"canal","shard":"1","boards":{}},{"full_name":"alibaba/druid","name":"druid","shard":"1","boards":{}},{"full_name":"alibaba/easyexcel","name":"easyexcel","shard":"1","boards":{}},{"full_name":"alibaba/flutter-go","name":"flutter-go","shard":"1","boards":{}},{"full_name":"alibaba/ice","name":"ice","shard":"1","boards":{}},{"full_name":"alibaba/jetcache","name":"jetcache","shard":"1","boards":{}},{"full_name":"alibaba/lowcode-engine","name":"lowcode-engine","shard":"1","boards":{}},{"full_name":"alibaba/nacos","name":"nacos","shard":"1","boards":{}},{"full_name":"alibaba/open-code-review","name":"open-code-review","shard":"1","boards":{"daily":81,"weekly":73,"monthly":69}},{"full_name":"alibaba/p3c","name":"p3c","shard":"1","boards":{}},{"full_name":"alibaba/page-agent","name":"page-agent","shard":"1","boards":{}},{"full_name":"alibaba/spring-cloud-alibaba","name":"spring-cloud-alibaba","shard":"1","boards":{}},{"full_name":"alibaba/weex","name":"weex","shard":"1","boards":{}},{"full_name":"alibaba/zvec","name":"zvec","shard":"1","boards":{}}],"issues":[{"number":4717,"title":"[Feature] Support Spring AI 2.0.0","comments":32,"created_at":"2026-06-15T05:35:56Z"},{"number":4091,"title":"[Question] HumanInTheLoop 没法扩展么？","comments":15,"created_at":"2026-01-19T08:32:20Z"},{"number":4908,"title":"[Question] 项目放弃了吗？一直不更新？","comments":13,"created_at":"2026-08-19T08:19:37Z"},{"number":4520,"title":"[Question] 为什么感觉这个项目没有那么活跃了呢？","comments":11,"created_at":"2026-04-08T01:24:22Z"},{"number":4980,"title":"[Question] 这项目还更新维护么","comments":8,"created_at":"2026-09-18T02:31:07Z"},{"number":4983,"title":"2.0 GA版本还有吗？","comments":7,"created_at":"2026-09-20T01:46:54Z"},{"number":4870,"title":"[BUG] 在MemorySaver中人工介入（HITL）的tool记录是否不对？","comments":6,"created_at":"2026-07-31T07:55:09Z"},{"number":4471,"title":"[BUG] RedisStore实现是基于内存有歧义，DatabaseStore针对mysql初始化创建表出错，中间执行sql也存在语法错误","comments":6,"created_at":"2026-03-26T09:47:54Z"}],"discussions":[{"number":4915,"title":"spring ai alibaba源码原理分析，based v1.1.2","comments":0,"category":"Show and tell","created_at":"2026-08-21T05:34:38Z"},{"number":4900,"title":"默认模型访问地址的问题","comments":1,"category":"Q&A","created_at":"2026-08-15T08:24:25Z"},{"number":4892,"title":"调用mcp的时候动态传token","comments":0,"category":"General","created_at":"2026-08-10T13:31:45Z"},{"number":4874,"title":"Oficial documentation","comments":0,"category":"Ideas","created_at":"2026-08-01T16:55:15Z"},{"number":4861,"title":"AgentScope 2.0 GA 后，Spring AI Alibaba 在\"可视化编排 / Agent 工程化\"上的能力边界与未来演进方向？","comments":2,"category":"Q&A","created_at":"2026-07-27T01:51:52Z"},{"number":4859,"title":"Spring AI Alibaba什么时候升级支持Spring AI 2.0.0","comments":4,"category":"General","created_at":"2026-07-26T15:35:07Z"},{"number":4804,"title":"群已经达上限，能否更新群二维码，谢谢！","comments":0,"category":"General","created_at":"2026-07-11T06:10:13Z"},{"number":4711,"title":"请问会支持cli能力吗","comments":0,"category":"Ideas","created_at":"2026-06-12T02:48:14Z"}],"latest_release":{"name":"v2.1.0.0","tag":"v2.1.0.0","published_at":"2026-11-27T01:31:10Z","body":"Spring AI Alibaba 2.1.0.0 brings Spring AI 2.1.0 to ReactAgent, Graph, Studio, and the Alibaba Cloud integrations. The release uses Spring Boot 4.2.0, Spring AI Alibaba Extensions 2.1.0.0, MCP Java SDK 2.2.0, Nacos 3.3.0, and the Nacos MSE extension 1.0.7.\r\n\r\n## What's new in Spring AI 2.1.0\r\n\r\n- **Decision Models.** `DecisionModel` returns typed yes/no, choice, and score answers with probabilities. OpenAI, Ollama, and System One provide implementations. Spring AI also uses decisions for RAG document filtering and reranking, and for matching queries to tools.\r\n- **Message Parts and OpenAI Responses.** Ordered message parts carry text, media, reasoning, tool calls, and tool results with provider payloads. Indexed argument deltas can be displayed while a tool call is forming. `OpenAiResponsesChatModel` adds the Responses API, including hosted tools and replay of encrypted reasoning. Select it with `spring.ai.openai.chat.api=responses`.\r\n- **Session API.** Session Memory records messages and tool exchanges in an event log. It supports turn-aware compaction, keyword recall through `conversation_search`, and a JDBC session repository. Spring AI deprecates `ChatMemory` and its repository APIs in favor of Session Memory.\r\n- **Tool confirmation, limits, and refusal handling.** Tool metadata or a policy can pause a batch for approval. Spring AI adds per-turn call limits, normalized `FinishReasonCategory` values, and typed guardrail refusals that structured-output validation and semantic caching can recognize.\r\n- **Modern MCP.** Stateless MCP 2026-07-28 clients and servers support synchronous and asynchronous APIs alongside existing transports. The revision adds client scoping, tool-change subscriptions, and multi-round requests for client input.\r\n- **Model integrations.** Anthropic moves to Java SDK 3.x, Google GenAI adds image generation and speech APIs, and DeepSeek exposes thinking and reasoning-effort options.\r\n- **Vector stores, documents, and observability.** Eleven upstream vector stores accept user-supplied embeddings for writes and queries. Document processing adds optional token overlap and PDF page ranges. Metrics coverage expands to decision, speech, transcription, and image models. The upstream GA includes 13 CVE fixes.\r\n\r\n[Spring AI 2.1.0 GA announcement](https://spring.io/blog/2026/11/20/spring-ai-2-1-0-GA-available-now/) · [Upstream release notes](https://github.com/spring-projects/spring-ai/releases/tag/v2.1.0)\r\n\r\n## Spring AI Alibaba Agent, Graph, and Studio\r\n\r\n- **Request-scoped tool execution.** ReactAgent dispatches tools from the final request after ChatClient advisors run. An explicitly empty selection disables tools for that request. Unavailable calls return typed error results.\r\n- **Approval and checkpoint resume.** Graph supports tool confirmation metadata and explicit human-in-the-loop rules. A batch can contain approved, edited, and rejected calls. Decisions remain separate when providers omit or repeat call IDs, and registered callbacks are checked again on resume.\r\n- **Per-turn dispatch limits.** ReactAgent defaults to 40 calls per tool and 150 total calls per turn across sequential and parallel dispatch. Set both with `ReactAgent.builder().toolCallLimits(perTool, total)`. Rejected and unavailable calls do not consume the budget.\r\n- **Message Parts round trip.** Graph streaming aggregation, checkpoints, and Studio message DTOs carry ordered parts, reasoning, attachments, opaque provider payloads, and tool-result errors. PII redaction and context editing preserve unaffected parts. Legacy checkpoint messages remain readable.\r\n- **Streaming and filtering.** Graph retains the provider's raw finish reason, its normalized category, and final token usage. Filtered replies skip tool dispatch, and routing propagates content filtering without retrying it as a structured-output parsing error.\r\n- **Workflow nodes.** `QuestionClassifierNode.builder().decisionModel(...)` uses typed choice answers and route IDs. The exis","is_prerelease":false},"readme":true,"readme_zh":false,"news":[],"stale":false,"snapshot_at":"2026-11-28T10:06:57Z","history_start":"2026-09-06"}