spring-ai-alibaba

Introduction: An Application Framework for Java Developers
More: Author   ReportBugs   OfficialWebsite   
Tags:

License CI Status Maven Central gitleaks badge

A production-ready framework for building Agentic, Workflow, and Multi-agent applications.

Getting Started, Graph Core, Spring AI, Examples.

Getting Started

Spring AI Alibaba 2.1.0.1

This release uses Spring AI 2.1.0, Spring Boot 4.2.0, Spring AI Alibaba Extensions 2.1.0.1, MCP Java SDK 2.2.0, and Nacos 3.3.0. Release notes

  • Reduce checkpoint size by offloading selected state keys and loading their payloads on demand. Save incremental message changes and keep reconstructable, runtime-only values out of durable state.
  • Managed checkpoints support PostgreSQL, MySQL/InnoDB, Oracle, MongoDB replica sets, Redis single primary, local files, and in-memory testing. Externalization, deltas, and untracked values are opt-in per key. Blob garbage collection starts in observation mode. Redis Cluster managed checkpoints are deferred.
  • Preserve saved conversations, historical branches, and paused parallel tasks. Upgraded apps can read the previously released bare-state format. During a rolling upgrade, an existing store keeps writing in the old format until operators switch it to checkpoint-v1. Supported fresh stores use checkpoint-v1 by default.
  • Graph workflows add durable parallel execution, historical forks and subgraph state boundaries, typed streaming events, and pluggable document retrieval with a Bailian example.
  • Agent Framework adds declarative and conditional tool approval, deferred tool discovery, structured output negotiation, model and context recovery, and scoped memory with versioned preferences.

Large checkpoints · Rolling upgrade and migration

Architecture

Agent Framework provides ReactAgent and built-in patterns for composing agents. It runs on Graph Core, which provides state management, checkpointing, and streaming.

Use Graph Core directly when the application needs to define its own control flow, such as conditional routing, parallel branches, or nested workflows.

Core Features

Documentation

Project Structure

This project consists of several core components:

  • spring-ai-alibaba-agent-framework: A multi-agent framework designed for building intelligent agents with built-in context engineering best practices.
  • spring-ai-alibaba-graph-core — The graph runtime for checkpointing, streaming, and stateful workflows. Use it directly for custom control flow.
  • spring-boot-starters: Starters integrating Agent Framework with Nacos to provide A2A and dynamic config features.
  • examples/graphengineering: Runnable Graph Engineering examples. The current RepoOps issue workflow shows how Spring AI Alibaba Graph owns state and routing while AgentScope Java implements specialist nodes.

Spring AI Alibaba Ecosystem

Repository Description ⭐
Spring AI Alibaba Graph A low-level orchestration framework and runtime for building, managing, and deploying long-running, stateful agents. GitHub Repo stars
Spring AI Extensions Extended implementations for Spring AI core concepts, including DashScopeChatModel, MCP registry, etc. GitHub Repo stars
Spring AI Alibaba Examples Spring AI Alibaba Examples. GitHub Repo stars
JManus A Java implementation of Manus built with Spring AI Alibaba, currently used in many applications within Alibaba Group. GitHub Repo stars
DataAgent A natural language to SQL project based on Spring AI Alibaba, enabling you to query databases directly with natural language without writing complex SQL. GitHub Repo stars
DeepResearch Deep research workflows built with Spring AI Alibaba Graph. GitHub Repo stars

Contact Us

  • Dingtalk Group (钉钉群), search 182255021470 and join.
  • WeChat Group (微信公众号), scan the QR code below and follow us.

Resources

  • AI-Native Application Architecture White Paper: Co-authored by 40 frontline engineers and endorsed by 15 industry experts, this 200,000+ word white paper is the first comprehensive guide dedicated to the full DevOps lifecycle of AI-native applications. It systematically breaks down core concepts and key challenges, offering practical problem-solving approaches and architectural insights.

Star History

View star history


Made with ❤️ by the Spring AI Alibaba Team

Apps
About Me
GitHub: Trinea
Facebook: Dev Tools
AI Daily Digest