DEV Community

retrovirusretro
retrovirusretro

Posted on

Tencent just released a RAG framework and nobody's talking about it

In April 2026, Tencent's WeChat team released WeKnora as open source. MIT licensed. Ollama support built-in. Almost zero English content about it.

I spent a few days setting it up, writing the first English integration guide, and comparing it to the alternatives. Here's what I found.


What is WeKnora?

WeKnora is the RAG framework that powers WeChat's Dialog Open Platform — production-tested at a scale most of us will never reach.

At its core it does what every RAG tool does: upload documents, ask questions, get answers grounded in your content.

But it adds two things I haven't seen elsewhere:

1. Autonomous reasoning agent

When you ask a complex question, WeKnora doesn't just search. It plans.

"Compare the pricing strategy in document A with the market analysis in document B" gets decomposed into sub-queries before any retrieval happens. Most RAG tools dump a random mix of chunks into the LLM and hope for the best. WeKnora's agent actually thinks about how to answer before searching.

2. Self-updating knowledge base

Point WeKnora at a URL or folder, set a refresh interval, and it monitors the source and updates the knowledge base automatically when content changes. For internal docs, product catalogs, or anything that evolves — this is genuinely useful.


Setup in 5 Minutes

Two modes. Pick based on what you already have running.

If you already have Ollama running:

"bash
git clone https://github.com/retrovirusretro/weknora-english-guide
cd weknora-english-guide
cp .env.example .env
docker compose up -d"

WeKnora joins your existing Docker network. No duplicate Ollama container.

Fresh install (includes Ollama):
"docker compose -f docker-compose.standalone.yml up -d
docker exec -it weknora-ollama ollama pull llama3"

Open http://localhost:8083 → admin / weknora123 → connect Ollama → upload a PDF → ask a question.

*FastGPT prohibits commercial SaaS resale.

When to pick WeKnora over RAGFlow:

You need the reasoning agent for complex multi-document questions
MIT license matters (embedding in a commercial product)
You want the self-updating KB feature
When to pick RAGFlow instead:

Your PDFs have complex layouts (tables, multi-column, images)
You want a larger English community with more answered questions

n8n Integration
WeKnora exposes a REST API. Connect it to n8n for automation pipelines:
Webhook → WeKnora /api/query → Slack / Email / Notion

A ready-to-import n8n workflow JSON is in the repo:
examples/with-n8n/weknora-query-workflow.json

Import it in n8n → Workflows → Import from file. One click, working webhook.

Why Almost No English Content?
The WeKnora community is on WeChat groups and Zhihu. The maintainers write English READMEs but the tutorial ecosystem never crossed over.

Same story with FastGPT (27K stars), MaxKB (20K stars), DB-GPT (17K stars). Massive Chinese communities, almost nothing in English.

I'm documenting all of them:
→ chinese-ai-tools-english-guide

Full Guide
Everything in this post plus Ollama model selection, production deployment with Nginx + SSL, and the WeKnora vs RAGFlow deep-dive:

→ github.com/retrovirusretro/weknora-english-guide

Have you tried WeKnora? Curious if others run into setup issues I haven't documented yet.

Top comments (0)