bigchuidw3 / spring-ai-agentx
Public基于原生 Spring AI 的智能体(Agent)开发框架,提供 ReAct 执行引擎、分层记忆、工具调度、Human-in-the-Loop 等核心能力,形成完整的 Harness Engineering 方案,帮助开发者快速构建 AI Agent,可以快速搭建 Java 版的 Claude Code。
Spring AI AgentX is a Java framework that helps developers build intelligent AI assistants. It provides a complete engine for agents that can reason step-by-step, use tools like file editing and code execution, remember conversations across sessions, and pause to ask humans for input when needed. The framework works with any AI model that supports tool calling, handles both instant and streaming responses, and manages memory in three layers — short-term for the current chat, user profiles for personalization, and long-term semantic memory for knowledge retrieval. It is built on Spring AI and designed to be simple enough that anyone familiar with Spring can use it without learning new concepts.
How It Works
You find Spring AI AgentX while looking for a Java framework to build AI agents that can think, use tools, and remember conversations.
You pick your favorite AI model (like DeepSeek, Qwen, or any other supported model) and wire it up with just a few lines of simple setup.
The framework automatically handles the thinking-and-acting loop, calling tools when needed, pausing to ask you questions, and keeping track of everything.
Get the full response immediately when you just need the result
Watch the thinking and output appear piece by piece for transparency
Short-term memory handles the current chat, while long-term memory stores what it learns about you so it gets smarter over time.
When it encounters something important or risky, it stops and waits for your input before continuing — keeping you in control.
You have a fully capable AI agent with memory, tools, and human oversight — built entirely in Java with Spring.
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.