Skip to content

MaxKB

Self-hosted platform for building RAG knowledge bases and AI agents with workflows

Copyleft (OSI) · GPL-3.0 AI-native

Listed by , founder & editor

87

Health

Thriving

Overview

Stars

23,198

Last commit

today

Nov 2026

Repository age

3 years

since Sep 2023

Latest version

v2.10.10-lts

Nov 2026

Contributors

–

11 active in 90 days

Releases

25

last 12 months

Language

Python

MaxKB is an open-source platform for building AI agents and question-answering systems on your own documents. You upload files or crawl online documents, and it splits the text and vectorizes it for retrieval-augmented generation. A workflow engine, a function library and MCP tool use let you chain steps for more complex tasks.

It works with many language models. Private ones such as DeepSeek, Llama and Qwen are supported, as are public ones such as OpenAI, Claude and Gemini. It handles text, image, audio and video input and output. You can embed it into other business systems without writing code.

The frontend uses Vue.js, the backend is Python with Django, LangChain is the LLM framework, and data is stored in PostgreSQL with pgvector. You start it with a single Docker command. It is licensed under GPL-3.0 and released frequently, with 25 releases in the past year. Typical uses are customer service bots and internal knowledge bases.

Who it's for

IT teams building an internal knowledge base

You can upload company documents and offer staff a Q&A assistant on your own server.

Skip if: You are not allowed to run a PostgreSQL-backed service yourself.

Support teams adding a chatbot to an existing site

It integrates into third-party systems without coding and works with several model providers.

Skip if: You need a fully managed service with a support contract.

Teams that want local models

It can use private models like Llama and Qwen instead of sending data to a public API.

Skip if: You have no hardware to run models and prefer a single hosted API.

The problem it solves

Getting a language model to answer from your own documents means wiring together chunking, vector search, model access and a chat interface. MaxKB packages these into one platform you host.

Strengths

  • Docker one-line start
  • Works with both private and public language models
  • Built-in RAG pipeline with document upload and web crawling
  • Workflow engine and MCP tool use for multi-step agents
  • Active development with 25 releases in the last year

Trade-offs

  • GPL-3.0 carries copyleft obligations if you modify and distribute it
  • Needs PostgreSQL with pgvector as its data store
  • Default admin credentials must be changed after install
  • Documentation and some resources are oriented toward Chinese users

Self-host MaxKB

Self-hostable
Yes

Quick start

docker run -d --name=maxkb --restart=always -p 8080:8080 -v ~/.maxkb:/opt/maxkb 1panel/maxkb

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is MaxKB free?

Yes. It is open source under GPL-3.0.

Can I self-host it?

Yes. A single Docker command starts it, and the web interface runs on port 8080.

Which models does it support?

Private models such as DeepSeek, Llama and Qwen, and public ones such as OpenAI, Claude and Gemini.

What is the tech stack?

Vue.js frontend, Python and Django backend, LangChain, and PostgreSQL with pgvector.

Similar tools in RAG and semantic search

utopia

RAG and semantic search

8.7k 1.2k 8 days ago Active Apache-2.0

zep

RAG and semantic search

5k 658 6 days ago Active Apache-2.0

rag-stack

RAG and semantic search

1.6k 137 42 days ago Slowing MIT

Pipeshub

RAG and semantic search

4.1k 690 today Thriving Apache-2.0

openrecall

RAG and semantic search

3k 197 14 months ago Dormant AGPL-3.0