explaingit

tencent/weknora

14,846GoAudience · developerComplexity · 4/5Setup · moderate

TLDR

Open-source knowledge platform from Tencent that ingests company documents and lets you query them through RAG chat, a ReAct agent, or a Wiki mode.

Mindmap

mindmap
  root((WeKnora))
    Inputs
      PDF and Word files
      Feishu and Notion
      Yuque pages
      Images
    Outputs
      Chat answers
      Markdown wiki
      Graph of links
      Tool calls
    Use Cases
      Internal RAG search
      Build a wiki
      ReAct agent flows
      Connect chat apps
    Tech Stack
      Go
      Vector DB
      Langfuse
      Ollama
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Things people build with this

USE CASE 1

Index company PDFs and Notion pages and chat with them through an internal RAG service

USE CASE 2

Run a ReAct agent that uses tools and approval steps to answer harder questions over docs

USE CASE 3

Generate a connected markdown wiki from a large document set with clickable cross-links

USE CASE 4

Pipe answers back into WeCom, Feishu, Slack, or Telegram so staff query docs from chat

Tech stack

GoLangfuseOllamaOpenAIDocker

Getting it running

Difficulty · moderate Time to first run · 1h+

You need a vector database, an LLM provider key or local Ollama, and a file storage backend wired up before WeKnora can index documents.

In plain English

WeKnora is an open-source knowledge platform from Tencent that turns piles of documents into something you can chat with, search, and reason over. The basic problem it solves is that most companies have scattered files across many tools, and pulling answers out of them by hand is slow. WeKnora ingests those documents and then offers three ways to use them: quick question-and-answer through a method called RAG, a ReAct agent that strings together multiple steps to handle harder requests, and a new Wiki mode in which agents read the source material and produce a connected markdown knowledge base with a clickable graph of links between pages. The README says it can pull documents in from sources like Feishu, Notion, and Yuque, and that it handles more than ten formats including PDF, Word, Excel, and images. Answers can be served back through chat channels such as WeCom, Feishu, Slack, and Telegram, in addition to the web UI. It is built to plug into many large language model providers, including OpenAI, DeepSeek, Qwen, Zhipu, Hunyuan, Gemini, MiniMax, NVIDIA, and Ollama, and the v0.5.2 release notes add Anthropic Claude to that list. A design goal called out repeatedly is that every piece is swappable. You can change the language model, the vector database that stores the document embeddings, the file storage backend, or the search engine without rewriting the rest of the system. The project supports running fully on your own hardware or in a private cloud so that the source documents never leave your network. It also integrates with Langfuse, a tool for watching what the agent is doing inside, tracking token usage, and tracing each step of a pipeline. The latest release notes describe other additions: Wiki ingestion that scales to tens of thousands of documents with a task queue, a human approval step before sensitive tool calls, an adaptive three-tier chunking system that picks how to split each document, a global command palette opened with Cmd-K, a Yuque connector, a small WeChat Mini Program client, and an early command-line client under cli/. There is also a list of bug fixes covering crashes, multi-turn history rebuilds, and OIDC login.

Copy-paste prompts

Prompt 1
Deploy WeKnora locally with Ollama as the LLM backend and a self-hosted vector DB
Prompt 2
Ingest a Notion workspace into WeKnora and expose a RAG endpoint to a Slack bot
Prompt 3
Switch WeKnora from OpenAI to DeepSeek without changing the rest of the pipeline
Prompt 4
Wire Langfuse into WeKnora to trace token usage and tool steps for each query
Prompt 5
Use WeKnora Wiki mode to turn 5000 PDFs into a linked markdown knowledge base
Open on GitHub → Explain another repo

← tencent on gitmyhub — every repo by this author, as a profile.

Verify against the repo before relying on details.