songrongzhen/easy-agent

easy-agent是Agent组件,零改造接入,为存量系统赋予智能体(Agent)能力。

What it solves

Easy Agent simplifies the integration of AI capabilities into Java applications built with Spring Boot. It allows developers to expose business logic as AI-accessible tools, connect to Large Language Models (LLMs), and implement Retrieval-Augmented Generation (RAG) using local documents without complex boilerplate code.

How it works

It leverages Spring Boot's auto-configuration to provide a "plug-and-play" experience. Developers use the @EasyTool annotation on existing methods to register them as AI-callable tools. The framework automatically handles tool discovery, parameter parsing, and execution. It also includes an MCP (Model Context Protocol) server to expose these tools to external AI clients like Claude Code, and provides a unified client to interact with various LLM providers (OpenAI, DeepSeek, Ollama, etc.).

Who it’s for

Java developers working within the Spring ecosystem who want to build AI-powered agents or add LLM-driven functionality to their existing business applications with minimal disruption to their current architecture.

Highlights

  • Zero-intrusive design: Uses annotations to register tools without requiring changes to existing business code structures.
  • MCP Support: Acts as an MCP server, enabling seamless integration with AI tools like Claude Code.
  • Flexible RAG: Supports local document indexing (PDF, Excel, HTML) and multiple search strategies (Embedding, Cosine, TF-IDF) for knowledge retrieval.
  • Multi-model support: Provides a unified interface for various LLM providers, including OpenAI-compatible APIs.
  • Configurable Governance: Includes built-in support for tool rate limiting, execution listeners, and granular control over which tools are exposed via MCP.

Related

  • Project
  • Project
  • Project
  • Dispatch
  • Project