Skip to content

Erupt AI Deep LLM Integration

Deep integration with today's popular large language models for low-code AI application development.

Fully Embracing Harness Engineering

CapabilityDescription
LLM19 built-in adapters: ChatGPT, Claude, Gemini, Ollama, Qwen, Doubao, GLM, DeepSeek, Moonshot, MiniMax, Mistral, Grok, Mimo, Fireworks, Together, OpenRouter, OrcaRouter, Requesty, plus an Open AI Adapter for any OpenAI-compatible endpoint
ChatSession management (AiChat), message history (AiChatMessage), SSE streaming output, configurable context rounds (maxContext)
AgentCustomizable visual control of prompts; dynamically controllable agent prompt words
ToolsRegister tools via @AiToolbox + @Tool and call them during conversations; erupt-ai ships EruptUserTools (current user info, roles and menu permissions, server time), and erupt-ai-claw adds EruptModelTools (module list, model list, model schema, plus CRUD over model data driven by structured filter / sort / page parameters)
MCPSupports mounting external MCP Servers for flexible tool capability extension
MCP ServerBuilt-in MCP Server with Bearer authentication; supports direct connection from Cursor / Claude and other clients
Knowledge Base (RAG)Visual knowledge base management: document upload, automatic chunking, vector embedding, semantic retrieval — invoked autonomously by the AI during conversations (Agentic RAG)
Vector StorePluggable vector store layer supporting Qdrant / Milvus / PGVector / Redis / Memory backends
AI StaffDigital employees bound to system accounts and duty personas; run scheduled tasks and push work reports to DingTalk / Feishu / Slack (extend the StaffChannel abstract class to add your own channel)
SecurityBuilt-in strict interface permission control; AI chat capabilities can be dynamically granted through user permissions

Quick Start

  1. Add the dependency:
xml
<dependency>
    <groupId>xyz.erupt</groupId>
    <artifactId>erupt-ai</artifactId>
    <version>${erupt.version}</version>
</dependency>
  1. Configuration options:
yaml
erupt:
  ai:
    # Define the global system prompt
    system-prompt: |
      You are Erupt AI, skilled at conversations in both Chinese and English. You provide safe, helpful, and accurate answers.
      You will refuse to answer any questions involving terrorism, racial discrimination, pornography, violence, etc.
      Erupt AI is a proper noun and should not be translated into other languages.
    # SSE timeout in milliseconds (default: 15 minutes)
    sse-timeout: 900000
    # Typing configuration
    message-chunk-size: 20
    message-delay: 30
    # Max sequential tool invocations per chat turn; the ReAct loop aborts beyond this, guarding against runaway tool-call loops
    max-sequential-tools-invocations: 30
  1. After startup, the AI Manager menu group is registered automatically: Language Model (LLM), Embedding Model, Connector (MCP), External Agent (A2A), Expert, AI Role and AI Chat — plus Skill once erupt-ai-claw is added:
  1. Interactive conversation — open it on the right of any page and ask about the data in front of you:

Feature Guide

PageContents
Configure LLMsAdd and test models, 19 built-in adapters
Chat WorkbenchImmersive conversation, multimodal image input, model picker
Experts (Preset AI Roles)Freeze a prompt, model and parameters into a selectable identity; rewrite prompts with EruptPromptHandler
Build Custom ToolsRegister any Spring Bean method as an AI tool with @AiToolbox + @Tool
Authorize Tools by RoleDraw each role's tool boundary and give it its own system prompt
Connect External MCP ServersMount external MCP Servers to widen the model's toolset
Expose Erupt as an MCP ServerExpose erupt's AI Tools so Cursor / Claude Code can connect
Inject System Prompts DynamicallySystemPromptProvider dynamic injection, LlmRequest request-level extensions
Connect External Agents (A2A)Google A2A protocol, automatic discovery and delegation to sub-agents
Long-Term MemoryPersistent memory isolated per user
AI Writing Assistant for FormsGenerate / polish / continue / shorten / expand form text fields

Extension Modules

ModuleDescription
🦞 Erupt AI ClawDrive the server with natural language: operate Erupt data, run shell, read/write files, Agent Skills
🎨 Erupt AI CanvasGenerate a page from one sentence, wired live to the Erupt backend
📖 Erupt AI RAGKnowledge bases with vector retrieval; the AI decides when to query which base (Agentic RAG)
👩‍💻 Erupt AI StaffDigital staff: system account + duty persona + cron schedule, reports pushed to DingTalk / Feishu / Slack

Contributors

The avatar of contributor named as YuePeng YuePeng
The avatar of contributor named as Claude Opus 5 (1M context) Claude Opus 5 (1M context)

Changelog

Released under the Apache-2.0 License.