Credentials. Your LLM API key is passed as an environment variable and your source documents are sent to the configured LLM endpoint.
Who it is forA knowledge worker with notes, documents and meeting transcripts spread across folders who keeps re-answering the same questions.
The problemRaw notes are hard to search and chunk-based retrieval gives fragments without context.
The outcomeA tree of Markdown articles on disk, a web UI to browse and chat, and chat answers that cite the articles behind them.
What you need first
- An OpenAI-compatible LLM API key and endpoint (OpenAI, DeepSeek, Ollama, vLLM, Azure OpenAI, etc.)
- Docker, or a Linux amd64/arm64 or macOS arm64 machine for the CLI install
- Your source files, notes, or URLs to compile
Steps
- Install KaaS with
curl -fsSL https://raw.githubusercontent.com/bybit-exchange/kaas/main/install.sh | shor use the Docker option from the Quick Start. - Set
LLM_API_KEY,LLM_BASE_URLandLLM_MODELto your OpenAI-compatible endpoint. - Start the service with
kaas serve(CLI) or the Docker run command from the Quick Start. - Open http://localhost:8080, submit your text, file or URL on the Submit page, and wait for the compile to finish.
- Browse the Wiki page and ask questions in Chat, then open the cited articles to check them.
Prompt for your agent
Using the KaaS repo at bybit-exchange/kaas, set up the service and compile the files in <folder> into the wiki. Expected output: a list of Markdown articles under the data directory and one chat answer that cites at least one article. Verify that the cited article exists on disk.
Caveat. Compile quality and speed depend on the LLM you configure, and the README notes slow local models may need longer write and extract timeouts.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for bybit-exchange/kaas and "Compile your notes into a searchable Markdown wiki"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer