kanna12580/kk-knowledge-agent — explained in plain English
Analysis updated 2026-05-18
Give an AI coding agent a searchable knowledge base of your own documents to pull answers from.
Upload text or .txt files and search them by meaning instead of exact keyword matches.
Run a small local knowledge base demo with a web frontend for managing documents.
| kanna12580/kk-knowledge-agent | palaiologos1453/openinterview | primeintellect-ai/experiments-autonomous-speedrunning | |
|---|---|---|---|
| Stars | 72 | 73 | 71 |
| Language | Python | Python | Python |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 3/5 | 3/5 | 4/5 |
| Audience | developer | developer | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires separately setting up and running three components: backend, frontend, and MCP server.
kk-knowledge-agent is a lightweight knowledge base system that lets you store documents and search them using natural language. You upload plain text content or .txt files, the system splits them into chunks and converts them into numerical embeddings using a local multilingual model (sentence-transformers), then stores those embeddings in ChromaDB. When you search, the system finds chunks that are semantically close to your query rather than just matching keywords, and streams the results back. The project has three parts. The backend is a FastAPI service that handles knowledge base management (create, list, update, delete), document ingestion, and search. It uses SQLite for document metadata and ChromaDB for the vector index. The frontend is a React and Vite demo app for browsing knowledge bases and uploading documents. The third part is an MCP (Model Context Protocol) server, which wraps the backend's search capability as a tool that AI agents can call directly. The README shows it being used with Claude Code and similar tools. To run it locally, you start the backend with uvicorn, the frontend with npm, and the MCP server separately with Python. The MCP config points the agent at the local server.py file. All three components communicate over HTTP on localhost. The README notes several planned improvements: Docker Compose for one-command startup, swapping SQLite for PostgreSQL and ChromaDB for Qdrant or Milvus at larger scale, adding PDF and DOCX upload, and adding hybrid BM25 and vector retrieval with reranking.
A lightweight knowledge base tool that stores and searches your documents by meaning, exposed as an MCP tool AI agents can call directly.
Mainly Python. The stack also includes Python, FastAPI, React.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.