Model or dataset
moyangzhan/langchain4j-aideepin avatar
moyangzhan/langchain4j-aideepin

LangChain4j-AIDeepin: A Java Platform That Bundles Chat, RAG, Workflow and MCP Into One Deployable

基于AI的工作效率提升工具(聊天、绘画、知识库、工作流、 MCP服务市场、语音输入输出、长期记忆) | Ai-based productivity tools (Chat,Draw,RAG,Workflow,MCP marketplace, ASR,TTS, Long-term memory etc)

1,370 stars332 forksJavaMIT

At a glance

What is it?
LangChain4j-AIDeepin is a Java and Vue application platform that combines chat, image generation, knowledge base retrieval, a visual workflow editor and an MCP service marketplace behind one backend. It is MIT licensed and aimed at teams that want a self-hosted AI assistant rather than a set of libraries to assemble.
Who is it for?
Adopt it if you are a Java team that wants a self-hosted assistant with RAG, a visual workflow editor and an MCP tool registry already wired together, and you accept running Spring Boot plus two Vue front ends. Do not adopt it if you only need an LLM client library, or if you cannot operate a graph or vector store.
Can I use it commercially?
Yes. MIT is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 5 days ago.
What is it written in?
Mainly Java, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on September 15, 2026, and from our analysis. They are not legal advice.

DEEP OPEN-SOURCE ANALYSIS

The Gap AIDeepin Fills Between a Library and a Product

LangChain4j gives Java developers model clients, embeddings and retrieval abstractions. It does not give them a chat UI, a knowledge base admin screen, a workflow canvas or an MCP tool registry. AIDeepin is the layer above that: the README describes it as an AI application platform that integrates chat, knowledge base (RAG), workflow orchestration, long and short-term memory, and MCP tools, aimed at rapidly building intelligent business assistants. The intended user is a team that has already chosen Java for its backend and does not want to run a separate Python stack for retrieval and agents. The repository is split into three deployable parts: server/ (Spring Boot with langchain4j and langgraph4j), admin-web/ and user-web/ (both Vue 3 with Naive UI). That split matters. Administration and end-user surfaces are separate applications, so an operator configures models, characters and knowledge bases in one app while users chat in another. The MIT licence removes the licensing negotiation that usually precedes an internal pilot. What it does not remove is the operational work of running the retrieval stack underneath.

How the Pieces Connect: langchain4j for Retrieval, langgraph4j for Flow

The repository structure names the two libraries that carry the architecture. langchain4j handles model access and the RAG path; langgraph4j handles the workflow graph. The feature table lists the knowledge base as supporting both vector search and knowledge graph retrieval, and the topics list includes graphrag, which indicates the graph path is a first-class option rather than an add-on. The workflow editor is described as visual, with conditional branching, parallel execution, and built-in nodes for LLM calls, knowledge base queries and human feedback. That node set tells you the execution model: a graph is authored in the browser, and the server walks it, pausing at human feedback nodes and fanning out at parallel branches. Memory is split into short-term and long-term, and the README states that key information is automatically extracted from conversations and stored, then used to personalize later responses. Extraction implies a model call behind the scenes, which is a cost and latency consideration the README does not quantify. The MCP service marketplace is the extension point: external tools and data sources are registered as MCP services and become available to the assistant. Storage is either local files or Alibaba Cloud OSS, a pairing that suggests the project's primary deployment audience is in China or on Alibaba infrastructure.

Model Providers and the Shape of the Integration Matrix

The platform support table is the most concrete artifact in the README, and it is worth reading as a capability boundary rather than a feature list. OpenAI, Qwen and SiliconFlow each carry a check mark across all five columns: chat, image generation, image recognition, text-to-speech and speech recognition. Ollama and DeepSeek carry a check mark in the chat column only. That asymmetry is the practical constraint. If you want voice input or output, or image generation, you are on a hosted provider, not on a local Ollama model. If your requirement is text chat against a self-hosted model, Ollama is listed and the rest of the matrix is irrelevant to you. The ASR and TTS feature is described as flexible combinations of text and voice in both directions, with selectable AI voice tones, so the voice layer is a product feature rather than a thin wrapper. Image generation is listed with GPT-Image-2 and DashScope Wanx as named backends, plus image editing. The matrix does not say which specific model identifiers are valid for each provider, and the README does not enumerate them, so treat model configuration as something to confirm against the server documentation before you plan a deployment.

Getting It Running: Docker, Spring Boot and Two Vue Front Ends

The README points deployment at docker/README.md and at each sub-project's README, and it does not inline the environment variables or database settings. That is the honest state of the material: the commands live in files this summary does not contain. What can be stated from the repository layout is the shape of the work. You build and run server/ as a Spring Boot application, and you build admin-web/ and user-web/ as Vue 3 applications. The documentation site itself is built with pnpm: the README gives pnpm install && pnpm run docs:dev to run it locally, and notes that GitHub Actions rebuilds and publishes the rendered site when docs/** changes on main. That pnpm command is for the documentation only, not for the product front ends, and conflating the two would send you down the wrong path. The Open API section describes RESTful endpoints for Characters, Knowledge Bases and Workflows, with API keys generated in the platform and both streaming and blocking response modes. For integration work, that is the surface to read first, because it lets you call a configured character or workflow from an existing system without touching the Vue applications at all.

Where the Platform Model Costs You: Databases, Memory and Upgrades

The README lists no database requirements, no vector store options and no migration story. For a project that advertises vector search and knowledge graph retrieval, that omission is the largest gap in the supplied material. A RAG platform has state: embeddings, document chunks, graph edges, conversation history, extracted long-term memories. Which store holds each of those, and what happens to them on upgrade, is not answerable from the README. The release cadence compounds the question. Recent releases show v3.28.0, v3.29.0 and v3.30.0 within roughly three months, and the version numbers are three-part and moving fast, which suggests schema or configuration changes arrive regularly. The last push date is recent, so the project is active, but an active fast-moving platform means upgrade work is a recurring cost rather than a one-time setup. Long-term memory adds a second concern: if key information is extracted and stored automatically, you need to know where it is stored, how it is scoped per user, and how a user removes it. None of that is in the README. Treat data residency and deletion as open questions to resolve in the server documentation before you put real conversations through it.

Choosing Between AIDeepin and Assembling Your Own Stack

The realistic alternative is not another product but the underlying libraries used directly. langchain4j plus a Spring Boot service of your own gives you full control over the retrieval pipeline, the storage schema and the API surface, at the cost of building the admin UI, the workflow editor and the MCP registry yourself. If your assistant is a single chat endpoint over one document collection, that trade is usually worth taking: you avoid two Vue applications, a workflow engine and a memory extraction subsystem you did not ask for. AIDeepin becomes the better choice once you actually need the visual workflow with conditional branching and human feedback nodes, or the MCP marketplace, because those are the parts that are expensive to write and easy to underestimate. A second alternative is a Python-based platform, which typically has a larger ecosystem of agent and retrieval tooling. The reason to stay with AIDeepin is the one the repository makes explicit: it is Java end to end, so it fits a Spring Boot organisation's build, deployment and hiring profile without introducing a second runtime to operate.

Who Should Deploy This, and What to Check First

The project suits a Java team that needs a self-hosted assistant with a knowledge base, a visual workflow builder and a tool registry, and that has the operational capacity to run a Spring Boot service plus two static front ends plus whatever stores the retrieval path requires. It does not suit someone who wants an LLM client library, and it does not suit a team that cannot operate a vector or graph store, because the platform assumes one exists. It is also a poor fit if you need a fully local model for voice or image work: the support matrix puts those columns on hosted providers only. Before adopting, confirm three things in server/README.md and the developer docs: the vector and graph database requirements and their upgrade behaviour, the configuration that governs long-term memory extraction and deletion, and the Open API's streaming mode against your client. The MIT licence means you can read the source to answer all three, which is the practical advantage of this repository over a closed platform with the same feature list.

Editorial conclusion

Adopt it if you are a Java team that wants a self-hosted assistant with RAG, a visual workflow editor and an MCP tool registry already wired together, and you accept running Spring Boot plus two Vue front ends. Do not adopt it if you only need an LLM client library, or if you cannot operate a graph or vector store. Before committing, verify three things in the server module: which vector and graph databases the RAG path requires, how memory extraction is configured, and whether the Open API streaming mode fits your client.

Official sources

  1. License: MIT
  2. moyangzhan/langchain4j-aideepin on GitHub
  3. Project website
  4. README
  5. Releases
Community notes

Community notes