Overview
WeKnora (Tencent/WeKnora) is Tencent's open-source LLM knowledge platform, originating from the WeChat Conversation Open Platform's document understanding framework and open-sourced in August 2025. This research is based on first-hand code forensics of a shallow-cloned repository (3,067 files), static reading of README/CHANGELOG/ROADMAP/docs, and external verification via GitHub API (ground truth as of 2026-08-16).
Profile:
- License: MIT (commonly misreported as Apache-2.0; the LICENSE file confirms MIT — the most business-friendly option)
- Stack: Go 1.26 backend, Vue/TypeScript frontend, Rust document parser (anydoc) linked via cgo, Python MCP server, plus a WeChat mini-program
- Current version: v0.7.2 (2026-08-07)
- GitHub stats: 19,911 stars / 2,863 forks / 546 open issues
- Deployment: Docker Compose (profiles), Kubernetes/Helm, Lite edition, offline support; Web UI, REST API, CLI, Chrome extension
- Clean layered architecture: access layer (9 IM channels including Slack, Telegram, DingTalk, WeCom), application layer with DI container, capability layer (agent engine, MCP, sandbox, 20+ model providers), and infrastructure (chunker, docparser, 10 retrieval backends).
- Agent engine: a standard ReAct loop (
think → analyze → act → observe), stateless across turns, with LLM-summarized memory consolidation, token window estimation, VLM image description, progressive skill disclosure, and Langfuse/OTel tracing. - Production-grade sandbox subsystem: Tencent Cube, E2B, Docker, and local backends; Redis-based multi-instance session binding; orphan sandbox reaping; SSRF protection.
- 10 retrieval backends (verified from source): postgres/pgvector, Elasticsearch v7/v8, OpenSearch, Milvus, Qdrant, Weaviate, Tencent VectorDB, Doris, Neo4j (knowledge graph), SQLite — rare breadth among open-source RAG projects.
- Adaptive three-level chunking: a document profiler selects between
auto,heading,heuristic, andlegacystrategies; parent-child chunking (384-char children for retrieval, 4096-char parents for LLM context); UI chunk-preview makes chunking debuggable. - Bidirectional MCP: WeKnora consumes external MCP tools (with in-chat OAuth) and exposes itself as an MCP server via the PyPI package
tencent-weknora-mcp(v1.1.x, 29 tools), usable from Claude, Cursor, n8n, etc. - Operational governance: tiered async worker pools (asynq), per-model concurrency governors, RBAC with 4 roles plus audit logs, AES-256-GCM encryption, OIDC, platform-scoped API keys.
- Bus factor ≈ 1: the top contributor (
lyingbug) has 1,803 commits vs. 128 for second place — sustainability depends on very few maintainers. - Documentation lag: the in-repo MCP summary (21 tools, v1.0.0) contradicts the CHANGELOG (29 tools, v1.1.x); many roadmap items remain unchecked.
- Outdated third-party reviews: mid-2026 evaluations based on v0.6.2 (e.g., claiming no Excel/PPT support) no longer apply to v0.7.2, which supports 10+ formats including Excel and PPT.
- Heavy dependencies: Go 1.26 toolchain, cgo/Rust prebuilt libraries, Neo4j deployed separately for the knowledge graph (opt-in via
NEO4J_ENABLE=trueand theneo4jcompose profile). - Memory trade-off: v0.7.1 removed Neo4j session/episodic memory to simplify deployment, keeping only the knowledge graph; long-term memory now relies on LLM summarization.
- Research limitations: shallow clone (single commit visible), no end-to-end benchmarks run independently, and some external comparisons reference older v0.6.x builds.
- Repository: https://github.com/Tencent/WeKnora
- Official site: https://weknora.weixin.qq.com
- MCP server: PyPI package
tencent-weknora-mcp - In-repo docs:
CHANGELOG.md,docs/ROADMAP.md,docs/CHUNKING.md,docs/KnowledgeGraph.md,docs/worker-pool-governance.md,docs/sandbox-protocol.md
Three Core Modes
1. RAG Quick Q&A — Hybrid retrieval combining BM25, dense embeddings, and knowledge graphs (GraphRAG), with automatic source citation to reduce hallucination. 2. ReAct Agent — Autonomous multi-step reasoning that orchestrates knowledge retrieval, web search, MCP tools, and code sandbox execution; MCP tool calls support human-in-the-loop approval workflows. 3. Wiki Mode (GA since v0.5.0) — The agent distills raw documents into a self-maintaining, interlinked Markdown knowledge base with a knowledge graph, revision history, and one-click rollback.
The three modes form a closed loop: the agent can read from RAG and write to the Wiki (17 wiki-editing tools), while the Wiki feeds back into RAG retrieval.
Key points from the architecture
Comparative positioning
| Dimension | WeKnora | Dify | RAGFlow | FastGPT | | --- | --- | --- | --- | --- | | License | MIT | Apache-2.0 | SSPL | Apache-2.0 | | Document parsing | anydoc/MinerU/OCR, modular | Third-party preprocessing | DeepDoc (top-tier tables/layout) | Basic | | Retrieval backends | 10 | Limited | Built-in | Limited | | Agent | ReAct + self-maintaining Wiki + sandbox | Workflow orchestration | Weak | Graph orchestration | | Knowledge graph | Neo4j GraphRAG | External | Yes | None |
Verdict: WeKnora is a knowledge engine kernel, not a turnkey platform — application-layer features (permissions, operations) require self-development. Dify is an application orchestration suite; RAGFlow still leads in deep document/table parsing.
Risks and limitations
Conclusion
WeKnora's genuine novelty is not any single technique but the closed loop of retrieve → reason → distill, engineered as a governable, modular, MIT-licensed kernel. Choose it if you want full control over document ingestion and reasoning pipelines; choose Dify or RAGFlow if you need an out-of-the-box product. Its main adoption costs are a near-single-maintainer project, early-stage documentation, and a demanding dependency stack.