Upload company documents to a private knowledge base and ask questions that return cited Markdown answers without sending data to external services
Configure hybrid retrieval so the system falls back to a live web search when the local KB has no confident answer
Share a knowledge base with team members via email invite or a token link with expiration and usage limits
Self-host the full stack with Ollama as the local LLM provider so no API keys or cloud AI costs are needed
Requires Docker Compose for 4 containers. Needs an LLM API key or a locally running Ollama instance.
AnyKB is a self-hosted private knowledge base application that lets you upload documents and web pages and then ask questions against that content in plain language. The project is written in Python for the backend using FastAPI and LangGraph, and uses Next.js for the web frontend. It is designed to run on your own server, and the README is written in Chinese. The workflow is: upload files in formats including Markdown, plain text, PDF, and DOCX, or provide a URL for the system to scrape. Content is processed and indexed in the background into a vector database. You then open the chat interface, select which knowledge base to query, and type a question. The system returns a structured Markdown report with citations linking back to source passages, typically within 30 seconds. The reasoning steps are displayed as the answer is built, so you can see how the system searched and what it found. The application supports multiple user accounts, each managing their own knowledge bases, with three permission levels: owner, editor, and viewer. Knowledge bases can be shared through email invitations or anonymous token links with configurable expiration dates and usage limits. A hybrid retrieval mode is also available: when the local knowledge base does not have a confident answer, the system falls back to a DuckDuckGo web search and labels the two source types separately in the response. The system supports multiple AI providers for both the language model and for generating text embeddings: options include DeepSeek, Claude, OpenAI, SiliconFlow, and locally running Ollama models. Deployment uses a four-container Docker Compose setup. The project is released under the MIT license.
← gu-cryptography on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.