Analysis updated 2026-05-18
Build a Java-based AI agent similar in spirit to Claude Code.
Add tool calling and multi-step reasoning to an existing Spring Boot application.
Give an agent layered memory across a short session, a user profile, and long-term retrieval.
Add a human approval step before an agent executes a sensitive tool action.
| bigchuidw3/spring-ai-agentx | lywnl/ai-app-generation | bell11213442/ruby-client | |
|---|---|---|---|
| Stars | 37 | 34 | 32 |
| Language | Java | Java | Java |
| Setup difficulty | moderate | hard | moderate |
| Complexity | 4/5 | 5/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires JDK 21+ and building from source with Maven since the library is not yet published to a public package repository.
Spring AI AgentX is a Java framework for building AI agents, built on top of Spring AI and the Reactor library. It provides the components needed to run an agent that can reason through a task, call tools, manage memory across a conversation, and pause to ask a human for input. The design follows the ReAct pattern, where the agent alternates between reasoning about what to do next and acting on that reasoning by calling a tool or producing a response. The core execution engine is reactive rather than graph-based. Instead of defining nodes and edges the way some other agent frameworks do, AgentX drives the agent's multi-turn reasoning loop as a Reactor stream. This makes the agent's output work naturally with asynchronous web frameworks like Spring WebFlux, and allows streaming responses token by token as they are produced. Memory is organized in three layers: short-term memory for the current conversation, a user profile for preferences that persist across sessions, and long-term memory backed by retrieval-augmented search. A separate skills system loads additional instructions or capabilities on demand rather than including everything in the system prompt upfront. Tool dispatch supports both function calling and the MCP protocol. The Human-in-the-Loop mechanism lets the agent pause at a defined point and wait for a user's answer before continuing. The framework supports several AI model providers including Qwen, DeepSeek, GLM, and MiniMax, with built-in handling for the differences in how each model returns its chain-of-thought output. A custom model adapter for DeepSeek V4 addresses an incompatibility with Spring AI's standard interface for that model's reasoning output format. The framework requires JDK 21 or later, Spring Boot 3.5.x, and Spring AI 1.1.0.
A Java framework built on Spring AI for creating AI agents, providing tool calling, layered memory, and human-in-the-loop control without a graph-based design.
Mainly Java. The stack also includes Java, Spring AI, Spring Boot.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.