Sign inSign up

[Open-source] A lightweight, modular Java framework for building intelligent body applications based on large language models.

Open SourceReports & Dashboards
2026-12-03 12:29 0 views • 0 downloads 0KB
[Open-source] A lightweight, modular Java framework for building intelligent body applications based on large language models.

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

Qualia is a lightweight, modular Java framework for building intelligent body applications based on large language models. Qualia-Code and Qualia-Claw are local intelligent body products built with Qualia.

2. Open Source License

Licensed under Apache-2.0

3. Screenshots

Product Showcase

Qualia CodeIt is an AI coding assistant product built based on the Qualia Core framework, providing a complete Web IDE experience. It supports multiple session management and workspace switching, code generation and analysis, file reading and writing and searching, terminal command execution, and tool call visualization display. At the same time, it provides MCP server management, multiple model configuration and dynamic switching, global and workspace-level skill extension, and supports four deployment modes: desktop application, Web, TUI, and CLI.

Image

Image
Image

4. Feature Overview

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

qualia/
├── qualia-core/ # Core module
├── qualia-code/ # Qualia Code coding assistant (backend + frontend + TUI + desktop shell)
└── qualia-docs/ # Project documents

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 based on the Qualia framework, providing a complete Web IDE experience, supporting multiple session management and workspace switching, code generation and analysis, file reading and writing and searching, terminal command execution, tool call visualization display, MCP server management, multiple model configuration and dynamic switching, and supports four deployment modes: desktop application, Web, TUI, and CLI. It has been merged into this repository, and is maintained in a multi-module manner with the frontend (qualia-code-ui), desktop shell (qualia-code-desktop), and qualia-core is referenced as a Maven dependency (published on Maven Central).

Quick Start

Installation

qualia-core has been published to Maven Central, and can be referenced as a dependency in the project pom.xml:

<dependency>    <groupId>cn.lunarlanding</groupId>    <artifactId>qualia-core</artifactId>    <version>${latest}</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 {    @AsFunctionTool(name = "search", description = "Search the internet for information")    public String search(@Param("query") String query) {        // Search logic        return "Search results";    }}

Deployment

Maven Central

qualia-core has been published to Maven Central.

# Publish qualia-core to Maven Central# First publish the parent POM (downstream parsing of qualia-core needs it), then publish the module;Prelease makes the parent POM also go through GPG signingmvn clean deploy -N -P releasemvn clean deploy -pl qualia-core -P release -DskipTests

Build a desktop application

The desktop application is built in this repository:
qualia-code/qualia-code-desktop provides a desktop shell module (SWT + system WebView), with a companion packaging script located at qualia-code/qualia-code-desktop/packaging/ (Windows package-win.ps1, macOS package-mac.sh).

6. Source Code Repository

Open-source project address:

https://github.com/lunar-landing/qualia

#1
资源直链https://github.com/lunar-landing/qualia
Download

Next steps

Browse similar deployable resources