Most RAG tools make you choose between simplicity and power. MaxKB doesn't try to be powerful โ it tries to be simple, and it nails it.
20K+ GitHub stars. Apache 2.0. Almost no English content. Here's the guide.
What is MaxKB?
MaxKB (Max Knowledge Base) is a knowledge base Q&A system by the 1Panel team. It connects to any OpenAI-compatible API โ including Ollama โ and lets you upload documents, ask questions, and embed a chat widget into any website.
That last part is the killer feature: MaxKB generates a JavaScript snippet that drops a chat widget into any HTML page. One script tag. No iframe, no backend changes needed. Apache 2.0 means you can embed this in commercial products with no restrictions.
Setup
3 commands, under 5 minutes.
Clone the repo, copy .env.example to .env, then docker compose up -d. Open localhost:8081 โ admin / admin123 โ Settings โ Model Provider โ Ollama โ http://ollama:11434.
Create a knowledge base, upload a PDF, start asking questions. That's the entire setup.
Full docker-compose: maxkb-english-guide
Embed Widget
MaxKB generates a JavaScript snippet โ drop it into any HTML page and a chat widget appears bottom-right. No iframe, no backend changes. This is what makes MaxKB unique among RAG tools: it's designed to be embedded.
Go to: Application โ your app โ Embed โ copy the script tag โ paste into any HTML page.
API
Works from Python, JavaScript, curl, n8n โ anything that speaks HTTP. POST your question to /api/application/{app_id}/chat/completions with a Bearer token. Returns {"content": "the answer"}.
Full Python + JavaScript examples in the repo.
MaxKB vs the Alternatives
| MaxKB | WeKnora | FastGPT | RAGFlow | |
|---|---|---|---|---|
| Setup time | โก 3 min | 5 min | 10 min | 15 min |
| License | Apache 2.0 | MIT | Custom* | Apache 2.0 |
| Embed widget | โ | โ | โ | โ |
| Autonomous agent | โ | โ | โ | โ |
| PDF table parsing | Basic | Basic | Good | Excellent |
| Commercial embed | โ | โ | โ | โ |
*FastGPT prohibits SaaS resale.
Pick MaxKB when: working knowledge base in 5 minutes, embed widget needed, Apache 2.0 matters.
Pick something else when: complex PDFs โ RAGFlow ยท pipeline builder โ FastGPT ยท multi-hop reasoning โ WeKnora
Supported LLM Providers
MaxKB works with any OpenAI-compatible API: Ollama (local, free), OpenAI, Groq, Together, or Anthropic via LiteLLM proxy.
Full Guide
โ github.com/retrovirusretro/maxkb-english-guide
Part of a broader series:
โ chinese-ai-tools-english-guide
MaxKB is the tool I recommend to people who just want RAG working quickly without reading 40 pages of docs.













