Discover and explore top open-source AI tools and projects—updated daily.
songrongzhenJava Agent SDK for integrating LLMs and RAG
Top 86.4% on SourcePulse
This project provides a Java Agent development component for Spring Boot applications, enabling zero-modification integration of AI agent capabilities. It allows developers to quickly expose business tools, connect to large language models (LLMs), and implement Retrieval Augmented Generation (RAG) using local documents. The primary benefit is rapidly imbuing existing Java systems with advanced AI features with minimal code changes.
How It Works
Easy Agent leverages Spring Boot and Spring AI, integrating seamlessly via a starter dependency. Its core innovation lies in the @EasyTool annotation, which allows methods within existing Spring Beans to be automatically discovered and registered as callable tools without altering business code structure. These tools can be exposed via the Model Context Protocol (MCP) for external clients or used by LLMs for agentic workflows. The RAG module supports local document indexing (PDF, Excel) and retrieval, while the LLM module offers a unified, OpenAI-compatible client for various model providers, facilitating complex agent orchestration.
Quick Start & Requirements
easy-agent-spring-boot-starter Maven dependency (version 0.1.8 as of README).Highlighted Details
@EasyTool and @ToolParam annotations enable zero-invasion registration and definition of business tools.classpath:knowledge/, supporting in-memory vector storage and multiple search strategies (Embedding, Cosine, TF-IDF).Maintenance & Community
The provided README does not contain information regarding notable contributors, sponsorships, community channels (e.g., Discord, Slack), or a public roadmap.
Licensing & Compatibility
The project's license is not specified in the README. This omission prevents a clear assessment of compatibility for commercial use or integration into closed-source projects.
Limitations & Caveats
The PGVector implementation for RAG is a placeholder and not fully functional for persistent vector storage. The Skill module lacks runtime parsing, loading, or hot-updating capabilities. The RAG module provides a Java API only; business systems must implement their own upload interfaces and access controls. Crucially, the absence of a specified license is a significant adoption blocker.
1 month ago
Inactive
langgenius