← Back to Leaderboard
WTencent

Tencent/WeKnora

Self-hosted RAG, agents, and a Wiki on shared document knowledge bases

Engineering Health (Methodology)
A · 86/100
Maintenance Activity
● Updated yesterday
Latest Release
v0.9.1
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption25/25
Release Cadence20/20
License Clarity6/20
DockerSelf-HostedMCPAPI1 README badge views (30d)
Total Stars
★ 38,773
24h Growth
+18
7d Growth
+387
Forks
5,493

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

Tencent/WeKnora Star History (2025-08-05 - 2026-12-04) ALL-TIME STAR HISTORY (2025-08 – 2026-12) +38.8k in 486d · avg +80/day 40.9k 20.5k 0 2025-08-05: ★ 12025-09-06: ★ 2,2122025-10-11: ★ 6,1492025-11-15: ★ 7,2322025-12-20: ★ 9,3372026-01-24: ★ 11,9112026-02-28: ★ 12,7542026-04-04: ★ 13,3992026-05-09: ★ 14,2142026-06-13: ★ 15,9482026-07-18: ★ 18,2212026-08-22: ★ 20,1342026-09-26: ★ 30,1362026-10-31: ★ 36,0042026-12-04: ★ 38,773 ★ 38.8k 2025-08 2026-04 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

WeKnora is a Go application with a separate Web UI and three workflows over shared knowledge bases: citation-backed RAG, multi-step agent execution, and Wiki curation. Documents pass through parsing, chunking, vectorization, retrieval, and model inference. The retrieval path supports keyword and vector search, reranking, and parent–child chunks. Office parsing runs in-process via anydoc, and curators can revise retrieval chunks rather than treating the index as a black box.

The Go module targets 1.26 and lists Gin, Connect RPC, SQLite vector bindings, Elasticsearch v7 and v8 clients, and AWS S3 and Alibaba Cloud OSS SDKs. Those dependencies indicate integration surfaces, not a requirement to run all of them. The pipeline is modular, and the MCP interfaces serve two distinct roles: agents can consume external tools, while the built-in per-workspace /mcp/ endpoint exposes scoped capabilities to clients over Streamable HTTP. The older Python mcp-server/ is deprecated.

Key Capabilities & Differentiators

Ingestion covers more than ten formats, including PDF, Word, images, Excel, and XMind. Folder uploads preserve directory structure, and connectors can sync sources such as Feishu, Confluence, GitLab, and Notion. Answers can link to passages in the original document; Wiki pages add cross-links, revision diffs, and rollback. Neo4j supports optional GraphRAG, while compatible multimodal embeddings enable opt-in image retrieval. The evaluation tooling includes recall and BLEU/ROUGE; use these alongside spot checks for whether citations actually support the answer.

The model catalog covers 31 built-in vendors, including OpenAI, DeepSeek, Qwen, Gemini, and Hunyuan; local Ollama is also supported. The ReAct agent can combine knowledge-base search, web search, MCP tools, browser access, and skills in session-persistent Docker, E2B, or Cube sandboxes. Workspaces have four-role RBAC and audit logs. Execution modes range from read-only to confirm-before-change and automatic write, giving operators a way to distinguish document lookup from actions that change state.

Trade-offs & Limitations

Compared with an API-only RAG stack, WeKnora saves integration work when a team also needs a browser UI, content curation, access controls, and shared workflows. If identity and editorial tools already exist and the only missing piece is retrieval in an existing app, a smaller stack gives operators fewer services and permission paths to maintain. Hybrid retrieval, reranking, multimodal processing, and graph retrieval add options, but tune them against representative queries and documents before enabling them broadly.

Self-hosting controls where the application runs, not where every document, prompt, or credential can travel. Review hosted model endpoints, connectors, external MCP tools, and sandbox egress separately. Start with read-only access or confirmation for writes, particularly when a browser session is signed in; also check the upgrade note that sandbox commands run as root. The tree contains LICENSE and THIRD_PARTY_NOTICES.md, but the exact terms are not established here. Verify them before commercial redistribution.

Hardware & Deployment Guide

The standard self-hosted path requires Git, Docker, and Docker Compose: copy .env.example to .env, configure the environment, run docker compose pull, then docker compose up -d. The documented local endpoints are http://localhost for the UI and http://localhost:8080 for the API. Optional Compose profiles include neo4j, minio, and langfuse; helm/ provides the Kubernetes path. Lite uses SQLite and an in-memory queue, but a self-contained application runtime is not the same as offline inference. For a local model path, configure Ollama and verify that the features you enable do not depend on external services.

For production, keep the service on a private network, restrict ingress, and pin WEKNORA_VERSION for deliberate upgrades. Back up the database, file storage, and encryption key; read the migration notes and pull images explicitly so the UI is not left on a cached version. v0.9.0 added execution permission modes and durable human approval prompts; v0.9.1 added session-isolated desktops, browser login handoff, and per-document ingestion and Wiki status. Size hosted-model deployments around ingestion, indexing, and concurrency; budget separately for local models and enabled sandboxes.

Shared knowledge bases: cited Q&A, agent workflows, and editable Wiki pages work from the same collections.
Retrieval: keyword and vector search, reranking, parent–child chunking, and optional Neo4j-backed GraphRAG.
Ingestion and curation: scheduled source sync, preserved folder structure on upload, and editable retrieval chunks with revision history and rollback.
MCP integration: per-workspace Streamable HTTP endpoints with token, knowledge-base, tool-group, and rate-limit controls.
Execution controls: session-persistent Docker, E2B, or Cube sandboxes, plus read-only, confirm-before-change, and automatic-write modes.
Deployment footprint: standard Docker Compose, a Helm chart, and a Lite binary backed by SQLite and an in-memory queue.
Best For

Internal knowledge teams that need to sync multiple document sources, answer with traceable citations, and maintain a shared Wiki while exposing scoped access through the UI, API, or MCP.

Skip If

You only need a retrieval API for an existing application, or you need verified offline operation or redistribution rights before you can assess model, connector, and license choices.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPAPI
git clone https://github.com/Tencent/WeKnora.git
cd WeKnora
cp .env.example .env    # Edit .env as needed, see comments in the file
docker compose pull     # Pull the latest images
docker compose up -d    # Start core services

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
WeKnora ★38.8k+387Go—Self-hosted RAG, agents, and a Wiki on shared document knowledge bases
ragflow95.1k+297GoApache-2.0Go-based RAG platform for parsing complex documents and grounding answers in sou
open-notebook42.4k+164TypeScriptMITSelf-hosted RAG notebooks for source-cited research, with local or cloud models
private-gpt57.7k+14PythonApache-2.0Self-hosted API for cited document RAG and tool use on local models

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/Tencent/WeKnora.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

Tencent/WeKnora Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about WeKnora

How should another application connect to a WeKnora knowledge base?

Use the built-in /mcp/ endpoint for an MCP client. It uses Streamable HTTP and can be limited by token, knowledge-base scope, tool group, and rate limit. Use scoped API keys for direct application integration. The Python mcp-server/ is deprecated.

Does self-hosting require a GPU, and how should we size the host?

There is no single GPU or VRAM requirement. With hosted models, size the WeKnora host for document parsing, indexing, concurrent queries, and any enabled sandboxes. With local Ollama, budget separately for generation and embedding models. Benchmark with representative files and concurrency before committing to hardware.

Can we use it commercially and keep all data inside our network?

The tree contains LICENSE and THIRD_PARTY_NOTICES.md, but the exact license terms are not established here. Review both files before commercial use or redistribution. For data residency, separately check where inference, source connectors, MCP services, and sandbox execution run; a private deployment does not automatically keep those operations local.

When is WeKnora a better fit than an API-only RAG stack?

Choose WeKnora when the same document collection needs cited Q&A, editorial workflows, and scoped access through the UI, API, or MCP. A smaller RAG stack is easier to justify when an existing application only needs retrieval and generation and already handles identity, ingestion, and content management.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining Tencent/WeKnora? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature Tencent/WeKnora on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare