solon-ai
by opensolon·★ 385·综合分 50
Solon-AI 是一个支持 MCP 集成的 Java AI 应用开发框架,兼容多种大模型和智能代理系统。
概述
Solon-AI 是一个基于 Java 的综合 AI 应用开发框架,深度集成模型上下文协议(MCP)。它支持多种 AI 组件,包括 LLM 工具调用、RAG 系统和多代理架构。该框架提供了与 Java 生态中流行框架(如 SpringBoot、Vert.x 和 Quarkus)的多种集成选项。其模块化设计使开发者能够从简单的自主代理到具有治理能力的多代理协作工作流构建复杂的 AI 系统。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
什么时候选它
当你需要一个基于Java的AI开发框架,支持MCP协议并且能与现有Java基础设施配合时,选择Solon-AI。
什么时候不要选它
如果你主要在非Java生态系统中工作,或者需要具有最小依赖项的轻量级解决方案,请避免使用。
此 server 暴露的工具
从 README 抽取出 12 个工具getWeathergetWeather(@Param(description = "city") String location)Check the weather in a specified location
WeatherToolsSet of tools for weather-related queries
OrderToolsTools for processing order inquiries and tracking
ToolGatewaySkillSkill that enables tool usage in conversations
OrderExpertSpecialized skill for order-related queries
documentSearchSearch through documents using RAG capabilities
buildKnowledgeBaseCreate a knowledge base from documents
rerankDocumentsRe-rank search results for better relevance
chatWithRAGEnhance prompts with retrieved documents before LLM call
agentPromptPrompt an agent with specific tasks
teamAgentPromptPrompt a team of specialized agents
runFlowExecute a pre-defined AI flow with multiple steps
说明:Tools are partially documented in code examples but with limited descriptions. Tool names are inferred from the MCP section and various skill/tool examples throughout the documentation. Some tools are referenced only in code snippets withou
可对比工具
安装
安装
- 将 Solon-AI 添加到 Maven 项目中:
<dependency>
<groupId>org.noear</groupId>
<artifactId>solon-ai</artifactId>
<version>最新版本</version>
</dependency>- 对于 Claude Desktop MCP 集成,添加到
claude_desktop_config.json:
{
"mcpServers": {
"solon-ai": {
"command": "java",
"args": ["-jar", "path/to/solon-ai-mcp.jar"],
"env": {}
}
}
}FAQ
- Solon-AI 支持哪些 Java 版本?
- Solon-AI 兼容 Java 8 到 Java 25,使其对许多现有 Java 项目高度友好。
- MCP 协议在 Solon-AI 中如何集成?
- Solon-AI 通过 @McpServerEndpoint 和 @ToolMapping 等注解提供与 MCP 协议的深度集成,允许开发者通过协议暴露工具、资源和提示。
solon-ai 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。