[Open-source] An enterprise-level Java AI intelligent body framework, quickly building LLM-driven intelligent applications
![[Open-source] An enterprise-level Java AI intelligent body framework, quickly building LLM-driven intelligent applications](https://yy123.ink/api/img/1796372349437-ujang6.png)
1. Project Overview
Qualia
Enterprise-level Java AI Intelligent Body Framework
Based on ReAct mode, integrating MCP tool chain, quickly building LLM-driven intelligent applications
2. Open Source License
Licensed under Apache-2.0
3. Screenshots
Product Showcase
Qualia CodeIt is a product of AI coding assistant built on the Qualia Core framework, providing a complete Web IDE experience.
4. Feature Overview
Qualia is a lightweight, modular Java framework for building intelligent body applications based on large language models. It provides a complete intelligent body development framework, supporting multiple model access, tool calls, knowledge base retrieval, and skill extension capabilities, suitable for building enterprise-level AI assistants, intelligent customer service, and code assistants, etc.
Based on the ReAct (Reasoning + Acting) reasoning mode, it supports complex task decomposition through the thinking-action-observation cycle; unified interface adaptation to DashScope, OpenAI, Claude, etc. mainstream LLM; adopting annotation-driven + MCP protocol integration tool system, easy to extend tool capabilities; based on JSON/MySQL session memory management, supporting sliding window and summary compression; as well as reusable prompt word templates and script execution skill systems, supporting progressive loading.
5. Tech Stack
Project Structure
qualia/├── qualia-core/ # Core Module├── qualia-code/ # Code Module (including web services)├── qualia-code-desktop/ # Code Desktop Application└── qualia-docs/ Project Documentation
Qualia-coreFramework core module, providing intelligent body core architecture (ReActAgent, HarnessAgent), model protocol abstraction layer (ChatModel, EmbeddingModel, RerankModel), tool system and MCP integration, session memory management, RAG retrieval pipeline, and skill system.
Qualia-codeAI coding assistant product, built on the Qualia framework, providing a complete Web IDE experience, supporting multi-session management and workspace switching, code generation and analysis, file reading and searching, terminal command execution, tool call visualization, MCP server management, multiple model configuration and dynamic switching, as well as real-time interaction and streaming response, supporting desktop application and Web two deployment modes.
Qualia-code-desktopDesktop application module, built on SWT, embedded browser loads Web IDE interface, provides native desktop application experience, supports window state persistence (size, position, maximized state), system title bar theme synchronization (dark/light automatic adaptation) and cross-platform support (Windows/macOS).
Quick Start
Installation
Method One: Maven Dependency (Recommended)
<dependency><groupId>com.lunarlanding</groupId><artifactId>qualia-core</artifactId><version>1.5.1</version></dependency>
5-minute quick start
// 1. Initialize the model and memoryChatModel model = new DashscopeChatModel("your-api-key", "qwen-turbo");Memory memory = new InMemoryMemory();// 2. Create an intelligent body and register toolsReActAgent agent = new ReActAgent(model, memory);agent.setSystemPrompt("You are a professional intelligent assistant.");// Registration tool (annotation-driven)agent.registerToolsFrom(new MyTools());// 3. Execute dialogueAgentResponse response = agent.call("session-1", "Help me search for the latest AI advancements");System.out.println(response.getAnswer());// 4. Streamed callsFlux<AgentResponse> stream = agent.callStream("session-1", "Interpret quantum computing");stream.subscribe(step -> System.out.println(step.getAnswer()));// Class definition of toolspublic class MyTools {(name = "search", description = "Search the internet for information")public String search(("query") String query) {// Search logicreturn "Search results";}}
6. Source Code Repository
Open-source project address:
https://github.com/lunar-landing/qualia
Next steps