MCP Catalogs
首页solon-ai screenshot

solon-ai

by opensolon·385·综合分 50

Solon-AI 是一个支持 MCP 集成的 Java AI 应用开发框架,兼容多种大模型和智能代理系统。

ai-llmdeveloper-toolsother
57
Forks
7
活跃 Issue
本月
最近提交
2 天前
收录于

概述

Solon-AI 是一个基于 Java 的综合 AI 应用开发框架,深度集成模型上下文协议(MCP)。它支持多种 AI 组件,包括 LLM 工具调用、RAG 系统和多代理架构。该框架提供了与 Java 生态中流行框架(如 SpringBoot、Vert.x 和 Quarkus)的多种集成选项。其模块化设计使开发者能够从简单的自主代理到具有治理能力的多代理协作工作流构建复杂的 AI 系统。

试试问 AI

装完之后,这里有 5 个你可以让 AI 做的事:

:构建带工具集成的自主代理
:开发基于 RAG 的知识库
:创建多代理协作系统
:Solon-AI 支持哪些 Java 版本?
:MCP 协议在 Solon-AI 中如何集成?

什么时候选它

当你需要一个基于Java的AI开发框架,支持MCP协议并且能与现有Java基础设施配合时,选择Solon-AI。

什么时候不要选它

如果你主要在非Java生态系统中工作,或者需要具有最小依赖项的轻量级解决方案,请避免使用。

此 server 暴露的工具

从 README 抽取出 12 个工具
  • getWeathergetWeather(@Param(description = "city") String location)

    Check the weather in a specified location

  • WeatherTools

    Set of tools for weather-related queries

  • OrderTools

    Tools for processing order inquiries and tracking

  • ToolGatewaySkill

    Skill that enables tool usage in conversations

  • OrderExpert

    Specialized skill for order-related queries

  • documentSearch

    Search through documents using RAG capabilities

  • buildKnowledgeBase

    Create a knowledge base from documents

  • rerankDocuments

    Re-rank search results for better relevance

  • chatWithRAG

    Enhance prompts with retrieved documents before LLM call

  • agentPrompt

    Prompt an agent with specific tasks

  • teamAgentPrompt

    Prompt a team of specialized agents

  • runFlow

    Execute 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

可对比工具

langchainlanggraphllama-indexsemantic-kernel

安装

安装

  1. 将 Solon-AI 添加到 Maven 项目中:
<dependency>
    <groupId>org.noear</groupId>
    <artifactId>solon-ai</artifactId>
    <version>最新版本</version>
</dependency>
  1. 对于 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 对比

GitHub →

最后更新于 · 由 README + GitHub 公开数据自动生成。