Solon AI

Data and AI

Java AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java26. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.

Your AI app calls the Solon AI MCP server, which does the data and AI work and sends the result back to the chat.

About Solon AI

Solon AI is a community MCP server from opensolon, filed in our directory under data and ai. Java AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java26. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.

At a glance

Publisher
opensolon (community)
Runs
See the README for setup
Written in
Java
License
Apache-2.0
GitHub stars
475

How to set up Solon AI

  1. Follow the install steps in the Solon AI README; it is written in Java, so have that toolchain ready.
  2. Check the Solon AI README for keys or settings; the registry lists none that Solon AI requires.
  3. Add Solon AI to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Solon AI tools to confirm the connection.
  5. Run one read-only task with Solon AI first, and keep your app asking before each tool call until the results look right.

Solon AI compared with similar servers

  • Doctor by sisig-ai has fewer GitHub stars than Solon AI (461 against 475); both are community servers, and both run locally.
  • Datakeel by chaw1 has more GitHub stars than Solon AI (480 against 475); both are community servers, and both run locally.
  • Beever Atlas by Beever-AI has fewer GitHub stars than Solon AI (454 against 475); both are community servers, and both run locally.

Before you connect Solon AI

  • Give Solon AI its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Solon AI tool call until you trust what it does with them.
  • Treat text that Solon AI fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Solon AI on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Solon AI

How marketing and sales teams put Solon AI to work, by company size. Pick the size closest to yours and start Solon AI on one use case.

Small business

  • A small team can use Solon AI to clean and enrich a lead list or a spreadsheet in one pass, instead of hours of copy and paste.
  • Owners can ask Solon AI to sort feedback, reviews or survey answers into themes and see what customers mention most.
  • Solon AI runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Marketing ops can connect Solon AI to enrich and score inbound leads, so sales sees fit and intent before the first call.
  • Content and research teams can use Solon AI to analyze transcripts and surveys at scale and pull the quotes worth using.
  • Start Solon AI on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can run Solon AI inside their own cloud and data boundary, so models and data stay where governance requires.
  • Large teams can use Solon AI in batch pipelines with evaluation and logging, so AI output is measured before it reaches customers.
  • Solon AI is a community server, so have security review the code and pin a version before Solon AI touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Solon AI README

From opensolon/solon-ai on GitHub, shared under its Apache-2.0 license. Images are left out; the original has them.

README.md


Solon-AI

Java LLM(tool, skill) & RAG & MCP & Agent(ReAct, Team) Application development framework
Restraint, efficiency and openness
It is the same type of development framework as LangChain, LangGraph and LlamaIndex

https://solon.noear.org/article/learn-solon-ai


Language: English | 中文

简介

Solon AI is one of the core subprojects of the Solon project. It is a full-scenario Java AI development framework, which aims to deeply integrate LLM large model, RAG knowledge base, MCP protocol and Agent collaboration choreography.

  • Full use case support: fits perfectly into the Solon ecosystem and can be seamlessly integrated into frameworks like SpringBoot, Vert.X, Quarkus, etc.
  • Multi-model dialects: Adapt model differences by dialect using ChatModel's unified interface (OpenAI, Gemini, Claude, Ollama, DeepSeek, Dashscope, etc.).
  • Graph-driven orchestration: supports the transformation of Agent reasoning into observable and governable computation flow graphs.

Examples of embeddings (including third-party frameworks) for solon-ai:

What types of applications can be developed?

  • General-purpose Autonomous Agents (e.g., Manus, OpenOperator)
  • Intelligent Assistants & RAG Knowledge Bases (e.g., Dify, Coze)
  • Multi-Agent Collaborative Orchestration (e.g., AutoGPT, MetaGPT)
  • Business-Driven Controlled Workflows (e.g., AI-enhanced DingTalk/Lark approvals, SAP Intelligent Modules)
  • Intelligent Document Processing & ETL (e.g., Instabase, Unstructured.io)
  • Real-time Data Insights & Dashboards (e.g., Text-to-SQL applications)
  • Automated Testing & Quality Assurance (e.g., GitHub Copilot Workspace)
  • Low-Code/Visual AI Workflow Platforms (e.g., LangFlow, Flowise)
  • And more...

Example Agent synthesis project (can be used directly for production or customization)

Core Module Experience

  • ChatModel(General Purpose LLM call interface)

Support for synchronous and Reactive calls, built-in dialect adaptation, Tool, Skill, ChatSession, etc.

ChatModel chatModel = ChatModel.of("http://127.0.0.1:11434/api/chat")
                .provider("ollama") //Need to specify vendor, used to identify interface style (also called dialect)
                .model("qwen2.5:1.5b")
                .defaultTalentAdd(new McpGatewayTalent())
                .build();

// Synchronize the call and print the response message
AssistantMessage result = ChatchatModel.prompt("The weather in Hangzhou today?")
         .options(op->op.toolAdd(new WeatherTools())) //Adding tools
         .call()
         .getMessage();
System.out.println(result);

// Stream call
chatModel.prompt("hello").stream();     //Flux<ChatEvent>, full semantic events
  • Talents(Solon AI Talents)
Talent talent = new TalentDesc("order_expert")
        .description("Order Assistant")
        // Dynamic admission: Activated only when "order" is mentioned
        .isSupported(prompt -> prompt.getUserMessageContent().contains("order"))
        // Dynamic instructions: Inject different Sops depending on whether the user is a VIP or not
        .instruction(prompt -> {
            if ("VIP".equals(prompt.getMeta("user_level"))) {
                return "This is a VIP customer, please call fast_track_tool first.";
            }
            return "Process the order inquiry according to the normal process.";
        })
        .toolAdd(new OrderTools());

chatModel.prompt("Where is my order from yesterday?")
         .options(o->o.talentAdd(talent))
         .call();
  • RAG(知识库)

It provides full-link support from DocumentLoader, DocumentSplitter, EmbeddingModel, and RerankingModel.

//Building a Knowledge Warehouse
EmbeddingModel embeddingModel = EmbeddingModel.of(apiUrl).apiKey(apiKey).provider(provider).model(model).batchSize(10).build();
RerankingModel rerankingModel = RerankingModel.of(apiUrl).apiKey(apiKey).provider(provider).model(model).build();
InMemoryRepository repository = new InMemoryRepository(TestUtils.getEmbeddingModel()); //3.初始化知识库

repository.insert(new PdfLoader(pdfUri).load());

//retrieval
List<Document> docs = repository.search(query);

//You can rearrange it if you want
docs = rerankingModel.rerank(query, docs);

//Cue enhancement is
ChatMessage message = ChatMessage.ofUserAugment(query, docs);

//Calling the llm
chatModel.prompt(message) 
    .call();
  • MCP (Model Context Protocol)

Deep integration with MCP protocol (MCP_2025_06_18), supporting cross-platform tool, resource, and prompt sharing.

//server
@McpServerEndpoint(channel = McpChannel.STREAMABLE, mcpEndpoint = "/mcp") 
public class MyMcpServer {
    @ToolMapping(description = "Checking the weather")
    public String getWeather(@Param(description = "city") String location) {
        return "It's sunny, 25 degrees";
    }
}

//client
McpClientProvider clientProvider = McpClientProvider.builder()
        .channel(McpChannel.STREAMABLE)
        .url("http://localhost:8080/mcp")
        .build();
  • Agent (An Agent Experience with Computational Flow Graphs)

The Solon AI Agent transforms reasoning logic into graph-driven collaboration flows, enabling ReAct introspective reasoning and multi-agent Team collaboration.

//Reflective intelligent agent:
ReActAgent agent = ReActAgent.of(chatModel) // 或者用 SimpleAgent.of(chatModel)
    .name("weather_expert")
    .description("Check the weather and provide advice")
    .defaultToolAdd(weatherTool) // Inject MCP or local tools
    .build();

agent.prompt("What to wear in Beijing today?").call(); // Autocomplete: Think -> Call tool -> Observe -> Summarize

// Constructing a team agent: Automatically arranging member roles through protocols
TeamAgent team = TeamAgent.of(chatModel)
    .name("marketing_team")
    .protocol(TeamProtocols.HIERARCHICAL) // Hierarchical collaboration (6 preset protocols)
    .agentAdd(copywriterAgent) // Copywriter expert
    .agentAdd(illustratorAgent) // Illustrator expert
    .build();

team.prompt("Plan a promotion scheme for deep-sea mineral water").call(); // Supervisor automatically decomposes tasks and assigns them to corresponding experts    .defaultToolAdd(weatherTool) // Inject MCP or local tools
  • Ai Flow(Process orchestration experience)

The low-code flow application of Dify is simulated, and the links such as RAG, hint word enhancement and model call are YAML arranged.

id: demo1
layout:
  - type: "start"
  - task: "@VarInput"
    meta:
      message: "Solon 是谁开发的?"
  - task: "@EmbeddingModel"
    meta:
      embeddingConfig: # "@type": "org.noear.solon.ai.embedding.EmbeddingConfig"
        provider: "ollama"
        model: "bge-m3"
        apiUrl: "http://127.0.0.1:11434/api/embed"
  - task: "@InMemoryRepository"
    meta:
      documentSources:
        - "https://solon.noear.org/article/about?format=md"
      splitPipeline:
        - "org.noear.solon.ai.rag.splitter.RegexTextSplitter"
        - "org.noear.solon.ai.rag.splitter.TokenSizeTextSplitter"
  - task: "@ChatModel"
    meta:
      systemPrompt: "你是个知识库"
      stream: false
      chatConfig: # "@type": "org.noear.solon.ai.chat.ChatConfig"
        provider: "ollama"
        model: "qwen2.5:1.5b"
        apiUrl: "http://127.0.0.1:11434/api/chat"
  - task: "@ConsoleOutput"

# FlowEngine flowEngine = FlowEngine.newInstance();
# ...
# flowEngine.eval("demo1");

Solon Project code repository

Code repository Description
/opensolon/solon Solon ,Main code repository
/opensolon/solon-examples Solon ,Official website supporting sample code repository
/opensolon/solon-ai Solon Ai ,Code repository
/opensolon/solon-flow Solon Flow ,Code repository
/opensolon/solon-expression Solon Expression ,Code repository
/opensolon/solon-cloud Solon Cloud ,Code repository
/opensolon/solon-admin Solon Admin ,Code repository
/opensolon/solon-integration Solon Integration ,Code repository
/opensolon/solon-java17 Solon Java17 ,Code repository(base java17)
/opensolon/solon-java25 Solon Java25 ,Code repository(base java25)
/opensolon/soloncode SolonCode(Java8 impl version of "Claude Code") ,Code repository
/opensolon/solonclaw SolonClaw(Java8 impl version of "OpenClaw") ,Code repository
/opensolon/solon-maven-plugin Solon Maven ,Plugin code repository
/opensolon/solon-gradle-plugin Solon Gradle ,Plugin code repository
/opensolon/solon-idea-plugin Solon Idea ,Plugin code repository
/opensolon/solon-vscode-plugin Solon VsCode ,Plugin code repository

FAQ

What is Solon AI?

Solon AI is a full-scenario Java AI development framework that deeply integrates LLM large models, RAG knowledge bases, MCP protocol, and Agent collaboration orchestration. It's designed for building production-grade AI applications with Java.

How does Solon AI differ from Python frameworks like LangChain?

Solon AI is built specifically for Java developers with seamless integration into the Java ecosystem:

Key differences:

  • Java-native: Fits perfectly into Solon, SpringBoot, Vert.X, Quarkus ecosystems
  • JDK 8-25 support: Broad Java version compatibility
  • Multi-model dialects: Unified interface adapts model differences automatically
  • Graph-driven orchestration: Transforms Agent reasoning into observable computation flow graphs
What components does Solon AI provide?
  • ChatModel: General-purpose LLM call interface with Tool, Skill, ChatSession support
  • Skills: Dynamic admission and instruction injection
  • RAG: Full-link support (DocumentLoader, DocumentSplitter, EmbeddingModel, RerankingModel)
  • MCP: Deep integration with Model Context Protocol (MCP_2025_06_18)
  • Agent: ReAct introspective reasoning and Team collaboration
  • Ai Flow: YAML-based flow orchestration (Dify-like low-code experience)
What LLM providers are supported?

Supported via dialect adaptation:

  • OpenAI, Gemini, Claude
  • Ollama (local models)
  • DeepSeek, Dashscope (Alibaba)
  • Custom endpoints
How do I get started?

Add Maven dependency:

<dependency>
    <groupId>org.noear</groupId>
    <artifactId>solon-ai</artifactId>
</dependency>

Basic usage:

ChatModel chatModel = ChatModel.of("http://127.0.0.1:11434/api/chat")
    .provider("ollama")
    .model("qwen2.5:1.5b")
    .build();

AssistantMessage result = chatModel.prompt("Hello").call().getMessage();
How do I add tools?
chatModel.prompt("What's the weather?")
    .options(op -> op.toolAdd(new WeatherTools()))
    .call();
How do I use RAG?
EmbeddingModel embeddingModel = EmbeddingModel.of(apiUrl)
    .apiKey(apiKey).provider(provider).model(model).build();

InMemoryRepository repository = new InMemoryRepository(embeddingModel);
repository.insert(new PdfLoader(pdfUri).load());

List<Document> docs = repository.search(query);
ChatMessage message = ChatMessage.ofUserAugment(query, docs);
chatModel.prompt(message).call();
What is MCP integration?

Solon AI provides both MCP server and client:

Server:

@McpServerEndpoint(channel = McpChannel.STREAMABLE, mcpEndpoint = "/mcp")
public class MyMcpServer {
    @ToolMapping(description = "Checking the weather")
    public String getWeather(@Param(description = "city") String location) {
        return "It's sunny, 25 degrees";
    }
}

Client:

McpClientProvider client = McpClientProvider.builder()
    .channel(McpChannel.STREAMABLE)
    .url("http://localhost:8080/mcp")
    .build();
What are the Agent patterns?
  • ReActAgent: Reflective agent with Think → Call → Observe → Summarize loop
  • TeamAgent: Multi-agent collaboration with 6 preset protocols (HIERARCHICAL, etc.)
Where can I find help?

Questions about Solon AI

What is the Solon AI MCP server?

Java AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java26. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks. Solon AI is maintained by opensolon on GitHub at opensolon/solon-ai, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Solon AI MCP server?

Solon AI doesn't publish a one-line install in the MCP registry, so follow the setup steps in its README on GitHub (opensolon/solon-ai). Like most servers, Solon AI ends with a command or URL you paste into your AI app's MCP config.

Does Solon AI need an API key?

The registry lists no required keys for Solon AI. Check the Solon AI README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Solon AI an official MCP server?

No. Solon AI is a community server maintained by opensolon. Community servers can be excellent; read the code and the open issues before you give Solon AI access to company data.

What license is Solon AI under?

Solon AI is released under the Apache-2.0 license, according to its GitHub repository. The license covers the code of Solon AI; the service it connects to has its own terms.