Spring AI 2.0 Enterprise Agent in Practice: Master an Intelligent Aviation Project in One Day

Spring AI 2.0 completes the Agent foundation and pairs with an Agent tool library to build a code generation tool in practice.
The article covers how Bilibili creator Xu Shu uses a hands-on project to build a code generation tool with Spring AI 2.0 and an Agent tool library. Spring AI 2.0's biggest update is the Agent foundation—autonomous thinking, calling Tools, and looping iteration—while over 90% continues from 1.0, with the real addition being the Agent ecosystem layer. A full Agent also needs Spring AI Alibaba Agent Framework or Spring AI Agent Utils, which offers Ask User Question, Skills, task planning, and long-term memory. The course progresses from basic chat to Agent components, using an intelligent aviation project to teach enterprise-grade Agent development.
Why AI Agents Became the Hottest Tech Concept of 2026
In 2026, AI Agents are undoubtedly the most talked-about tech concept. Many people can get AI to complete a task perfectly with a single sentence, while most developers are still stuck chatting with AI in plain text. How to use Agents to boost efficiency and cut time by as much as half has become an urgent question for developers. Bilibili creator Xu Shu (whose video is labeled the "2027 edition") walks through a hands-on project showing the full process of building a code generation tool with Spring AI 2.0 and an Agent tool library, offering learners a fast track to mastering enterprise-grade Agent development.

Core Update in Spring AI 2.0: Building the Agent Foundation
Spring AI 2.0 has been out for a while, and many students have been waiting for a course series on it. According to the creator, the biggest update in 2.0 is that it completes the Agent foundation. Previously, Spring AI was just a framework that could call large models and generate chatbots via Tools and memory; now it has the basic Agent capability to think autonomously, call Tools to take actions, and iterate in a loop until a task is complete.
You may not have noticed that over 90% of Spring AI 2.0's content is actually a continuation of Spring AI 1.0. In the video, the creator explicitly states that foundational features such as Chat Client, Format, Chat Model, RAG, and integrations with major models have not changed fundamentally compared with 1.0. What's genuinely new is the Spring AI Agent ecosystem layer. So for developers already familiar with 1.0, the learning focus should be on the Agent-related components.

Why an Agent Tool Library Is Needed: From Chatbot to Autonomous Agent
To build a real Agent, Spring AI 2.0 alone is not enough. The creator points out that you must rely on the open-source framework Spring AI Alibaba Agent Framework released by Alibaba. This framework extends Spring AI extensively, supporting the development of React Agents (autonomous planning and thinking) as well as Workflow-based Agent applications that autonomously orchestrate planning paths.
With the release of Spring AI 2.0, it can also build Agents that think autonomously, call Tools to take actions, and iterate in a loop—already achieving the most basic Agent capabilities. Combined with the Agent tool library provided by the Spring AI community, developers can complete Agent development. The creator plans to use Spring AI 2.0 plus Spring AI Agent Utils (an Agent tool library reverse-engineered directly from Claude Code) to build a code generation tool library, thereby quickly learning Spring AI 2.0 and mastering the use of Agent Utils.

The Difference Between ReAct Agents and Workflow Agents
ReAct (Reasoning + Acting) is an Agent paradigm that makes a large model alternate between "thinking" and "acting": the model first outputs reasoning (Thought), then decides which tool to call (Action), observes the tool's returned result (Observation), and continues reasoning until the task is complete or a stopping condition is reached. Its advantage is flexibility—no pre-orchestrated path is needed—making it suitable for open-ended tasks; its drawback is that the path is uncontrollable and it may get stuck in loops or produce unexpected tool calls.
A Workflow Agent, by contrast, breaks a task into predefined nodes and edges (such as serial, branch, parallel, and human-review nodes), driven by an orchestration engine, with the model making decisions only within specific nodes. Its advantages are controllability, observability, and ease of debugging, making it suitable for enterprise business processes; its drawback is lower flexibility—situations outside the flow require human intervention or new nodes.
In practice the two are often combined: Workflow handles outer process orchestration to ensure controllability, while ReAct Agents are embedded within key nodes to handle open-ended judgments. Spring AI Alibaba Agent Framework supports both forms precisely so developers can choose the right granularity of autonomy for their business needs.
Introduction to MCP (Model Context Protocol)
MCP is a model context protocol proposed and open-sourced by Anthropic, aimed at connecting large models with external data sources and tools through a unified standard. Before MCP, every tool integration (database, file system, internal API) required a set of adapter code for a specific framework, creating an N×M adaptation relationship between tool providers and Agent frameworks. MCP defines three types of primitives—tools, resources, and prompt templates—along with a standard JSON-RPC communication method, so tool providers only need to implement a single MCP Server, and any MCP-compatible client (including Spring AI) can call it directly.
For Java developers, this means internal enterprise systems can be packaged as MCP Servers for reuse across different Agent applications, without having to redevelop for each framework. Spring AI 2.0's MCP integration lets Agents discover and call these tools declaratively, which is exactly the core content covered in the "Tools MCP" section of the course.
Course Design: Mastering Agent Development from Shallow to Deep
This course follows a progressive structure. The creator first explains Spring AI 2.0's basic chat functionality, then moves on to streaming output, memory, and Tools MCP, before going deeper into the various components of Spring AI Agent Utils. Specifically, these include:
- Ask User Question: lets the large model ask the developer questions to fill in gaps in the prompt;
- Skills: skill extensions;
- Task planning: autonomously planning task paths;
- Long-term memory: solving the problem of insufficient prompts.
All of these are covered in detail during the hands-on project. Through the anti-Code Code project practice, learners can not only understand the basic concepts of Agents but also master how to use the Agent tool library to boost development efficiency.

Long-Term and Short-Term Memory in Agents
Agent memory is usually divided into two layers. Short-term memory is the message history of the current session, limited by the context window and requiring truncation, summarization, or sliding-window management; it determines whether the Agent can remember the observations from previous steps within a single task. Long-term memory persists across sessions, typically stored in a vector database or structured storage to hold user preferences, historical decisions, and domain knowledge, which is injected into prompts via retrieval when needed.
The course's point that "long-term memory solves the problem of insufficient prompts" essentially means using retrieval augmentation to fetch on demand information that cannot fit into the context all at once. From an engineering perspective, several things need attention: how to extract information worth remembering at write time (rather than storing everything), how to ensure relevance at retrieval time, and how to update or invalidate memories when they conflict. These designs directly determine an Agent's stability in long-running tasks and are the key differentiator between a demo and an enterprise-grade application.
The Value of the Enterprise-Grade Intelligent Aviation Project
The course uses an "intelligent aviation project" as its hands-on scenario, combining Spring AI 2.0 and Agent Utils to build a code generation tool. This project-driven learning approach lets developers understand an Agent's planning, tool-calling, and iteration capabilities within a real business context. The creator emphasizes that through this practice, developers can avoid 99% of the detours and learn Spring AI in a single day to apply it to enterprise-grade Agent development.
For backend engineers who want to quickly master AI Agent development, the foundation capabilities provided by Spring AI 2.0 plus the extensions from the Agent tool library are a path worth paying attention to. However, learners should note that Agent development involves multiple aspects such as prompt engineering, tool-calling logic, and task planning. While a hands-on project can accelerate understanding, it still needs to be reinforced with documentation and practice.
One-line Summary
Spring AI 2.0 completes the Agent foundation, paired with an Agent tool library to build a code generation tool in practice.
Paragraph Summary
Against the backdrop of AI Agents becoming the hottest tech concept in 2026, the article shows how Bilibili creator Xu Shu uses a hands-on project to demonstrate the full process of building a code generation tool with Spring AI 2.0 and an Agent tool library. The core point: Spring AI 2.0's biggest update is completing the Agent foundation—autonomous thinking, calling Tools, and looping iteration—but over 90% of its content continues from 1.0, with the real addition being the Agent ecosystem layer. Building a full Agent also requires Spring AI Alibaba Agent Framework or the Claude Code-derived Spring AI Agent Utils tool library, which offers Ask User Question, Skills, task planning, and long-term memory. The course progresses from basic chat, streaming output, memory, and Tools MCP to Agent components, using an intelligent aviation project to help developers quickly master enterprise-grade Agent development.
Related articles

Baidu Unlimited SVG: A Technical Analysis of Stroke-Level Image-to-SVG Conversion
Baidu's Unlimited SVG uses stroke-by-stroke generation to convert bitmaps into SVG vector graphics, mimicking human drawing. This article analyzes its technical principles, differences from traditional methods, and potential impact on design workflows.

Fujifilm X-T6 Sensor Innovation: How White Pixels Improve Autofocus
Fujifilm launches the X-T6 with a 40.2MP sensor featuring white pixels to improve autofocus and low-light performance. We break down the technology and its impact.

Planet A's New $215M Fund: European Climate Tech Investment Shifts Toward Social Impact
European VC Planet A launches a $215M fund, expanding from climate tech to social impact and investing in early-stage startups good for both society and the planet.