WeKnora
Turns a team's raw documents into cited RAG answers, a tool-using agent, and a self-maintaining wiki on one knowledge base.
- Source repo
- Tencent/WeKnora
- Stars
- ★ 38k
- Last updated
- 3d ago
- FARS reviewed
- Sep 12, 2026
- License
- NOASSERTION
- Primary language
- Go
- FA score
- 50/100 · Major gaps
At a glance
- Works with
- Universal · cross-platformOpenAI API · Claude API
- You'll need
- Typical use
- Knowledge managers consolidating policies, product docs and shared drives from Feishu, Confluence and GitLab so colleagues can ask questions and check citations.
- Main limitation
- The standard deployment runs several services (app, PostgreSQL, Redis, plus optional Neo4j/MinIO/Langfuse) and exposes roughly 150 environment variables to configure.
- Website
- weknora.weixin.qq.com ↗ set on GitHub
- Maintenance
- Commits in the last 30 dayslast commit 2026-11-27+69.8 ★/day over 7 days
- Source review
- 50/100 · Major gaps
What does this agent do, and when should you use it?
WeKnora is Tencent's open-source LLM knowledge framework: a Go backend plus a web UI that you deploy with Docker Compose, a Helm chart, or the dependency-free Lite single binary. It ingests PDF, Word, PPT, Excel, images and XMind files and auto-syncs from Feishu, Lark, Confluence, GitLab, Notion, Yuque, DingTalk Docs, Seafile and RSS, then parses, chunks and embeds them into a swappable vector store (pgvector/ParadeDB, Elasticsearch, OpenSearch, Milvus, Weaviate, Qdrant, Apache Doris, Tencent VectorDB). Three modes share the same knowledge bases: RAG quick Q&A with citations, a ReAct reasoning agent that searches and reads documents, calls MCP tools, runs skills in Docker/E2B/Cube sandboxes and drives the user's own Chrome or Edge through BrowserSkill, and an auto-generated interlinked wiki with a knowledge graph. Models come from 31 built-in vendors including OpenAI, Anthropic, DeepSeek, Qwen, Gemini and Ollama, while multi-workspace RBAC, scoped API keys, AES-256-GCM credential encryption and Langfuse tracing handle governance. Entry points include the web UI, roughly 360 REST endpoints, the weknora CLI, a built-in MCP server, a Go SDK, IM channels and an embeddable website widget.
Ingestion reads PDF/Word/PPT/Excel/CSV/TXT/Markdown/HTML/EPUB/MHTML/JSON/XMind and images, parsing Office files in-process with anydoc, and pulls from Feishu wiki, Feishu Drive, Lark, Confluence, GitLab, Tencent IMA, Notion, Yuque, DingTalk Docs, Seafile and RSS. The pipeline applies per-upload parser, chunking (parent-child and adaptive 3-tier with live preview) and multimodal settings, embeds the result into the chosen vector store, keeps the folder tree, and lets chunks be edited, diffed and rolled back. Retrieval runs keyword + vector hybrid search with reranking and passage-level navigation, optionally GraphRAG over Neo4j, and can be evaluated end-to-end with recall and BLEU/ROUGE. Answers either come straight from RAG with citations, or from a ReAct agent that calls search_knowledge / read_document / list_documents, web search, MCP services and installed skills, collaborates across multiple agents, runs one-off or recurring automations, and keeps cross-session long-term memory under read-only, confirm-before-change or automatic-write permissions. Outputs are cited answers, generated artifact files, editable and rollback-capable wiki pages with a knowledge graph, per-workspace /mcp/<endpoint_id> MCP endpoints, and Langfuse traces of steps, tokens and parsing pipelines.
- Knowledge managers consolidating policies, product docs and shared drives from Feishu, Confluence and GitLab so colleagues can ask questions and check citations.
- Support and pre-sales teams publishing a FAQ plus manual knowledge base into WeCom, Feishu, Slack, Telegram or a website embed widget.
- Analysts running multi-step tasks where the agent retrieves internal documents, then calls an MCP service or a sandbox skill to produce a report file.
- Engineering teams exposing API docs and repo notes as a scoped MCP endpoint that Cursor or Claude-style MCP clients can search and read.
- Teams that need their documents restructured: Wiki mode extracts people, products and concepts into interlinked pages with graph navigation and version rollback.
- Compliance-sensitive organisations self-hosting on a private network with four-role RBAC, audit logs, scoped API keys and whitelist-only outbound traffic.
Key setup facts
Pulled from the install and usage notes below. The project README has the current values.
- Install / run
docker compose up -d # start core services
- Ports
8080·3000- Environment variables
WEKNORA_API_KEYWEKNORA_HOST- Config files
.env.example.env- Install notes cover
- Docker
How do you install or deploy this agent?
The documented quickstart needs Docker, Docker Compose and Git, and runs everything through Compose:
git clone https://github.com/Tencent/WeKnora.git
cd WeKnora
cp .env.example .env # edit as needed, see comments in the file
docker compose pull # pull the latest images
docker compose up -d # start core servicesThen open http://localhost and follow onboarding; the backend API is on http://localhost:8080 and Langfuse tracing on http://localhost:3000. To use a local Ollama model, start the server first:
ollama serve > /dev/null 2>&1 &Optional components are added with profiles (multiple profiles can be combined):
docker compose --profile neo4j --profile minio pull
docker compose --profile neo4j --profile minio up -dKubernetes clusters use the chart in helm/; the dependency-free Lite single binary (SQLite plus in-memory queue) is described in docs/LITE.md; the desktop app is the Lite runtime with a GUI and must currently be built from source since no installer is published. Before upgrading, set WEKNORA_VERSION in .env, back up the database, file storage and encryption key, then pull and recreate the containers.
How do you use this agent?
Create a knowledge base in the web UI and upload documents, or drive the same API from the agent-first CLI:
weknora profile add prod --host https://kb.example.com --use
weknora auth login
weknora kb list
weknora link --kb my-knowledge-base # bind the current directory
weknora doc upload notes.md
weknora chat "summarise the design doc"For headless or CI runs, inject credentials instead of logging in; nothing is written to disk:
WEKNORA_API_KEY=... WEKNORA_HOST=https://kb.example.com weknora kb listTo publish knowledge bases to other AI tools, create a per-workspace /mcp/<endpoint_id> endpoint with its own token, knowledge-base scope, rate limit and tool groups, then point the MCP client at that Streamable HTTP address. The CLI can also serve a curated MCP tool surface:
weknora mcp serveWhen editing code frequently, use the fast development mode instead of rebuilding images:
make dev-start
make dev-app
make dev-frontendSafety boundaries, hardening & integrations
Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.
Declared capability surface (blast radius)
Can run terminal commands; pair with approval gates or container/OS sandboxing.
Modifies local files; work on a clean Git branch or dedicated worktree.
Makes outbound requests; verify telemetry settings and model data routing on private repos.
Inherits capabilities of connected MCP servers; audit third-party servers before enabling.
What are this agent's strengths and limitations?
- Every layer is swappable: 31 model vendors including Ollama, eight vector stores, multiple object storages and pluggable parsers, so no single provider is a dead end.
- RAG Q&A, a ReAct agent and automatic wiki run on the same knowledge bases, so retrieval, permissions and audit only have to be set up once.
- Enterprise governance ships in the box: multi-workspace RBAC with four roles, per-resource ownership, workspace audit logs, scoped API keys, OIDC, AES-256-GCM credential encryption and whitelist-only egress.
- Broad integration surface: about 360 REST endpoints, the weknora CLI, a Go SDK, a built-in MCP server, a Chrome extension, a WeChat Mini Program, an embed widget and ten IM channels.
- Observability is built in: Langfuse traces of agent steps and token usage, a stage-by-stage document parsing timeline, and a task-queue dashboard with worker-pool governance.
- Several deployment shapes: Docker Compose, Helm, and a Lite single binary (SQLite plus in-memory queue) that supports offline and private-cloud installs.
- The standard deployment runs several services (app, PostgreSQL, Redis, plus optional Neo4j/MinIO/Langfuse) and exposes roughly 150 environment variables to configure.
- The software is free but quality depends on model access: commercial API keys are billed per use, and skipping local Ollama means ongoing cost and outbound network calls.
- Primary product documentation is in Chinese; English, Japanese and Korean material is thinner, which raises troubleshooting effort for non-Chinese teams.
- The repository's license metadata shows NOASSERTION while the README and LICENSE state MIT, so legal review is advisable before adoption.
- Breaking changes exist: from v0.8.2 DingTalk channels are Stream-only and sandbox commands run as root, so upgrade notes and backups are mandatory.
- No desktop installer is published (build from source), and skill sandboxes require opting into Docker plus per-tenant network policy work.
How does this agent compare with similar options?
Key facts side by side with the most closely related agents.
| Agent | Source review | Form / cost | Stars | Updated | Language | Full support on |
|---|---|---|---|---|---|---|
| WeKnora This agent | 50 · Major gaps | — | ★ 38k | 3d ago | Go | OpenAI API · Claude API |
| LazyMind | 61 · Some gaps | Desktop appFree + model costs | ★ 931 | 3d ago | Go | Codex |
| LLM Wiki | 53 · Major gaps | CLIFree + model costs | ★ 1.8k | 20d ago | Python | Codex · Claude Code · Claude.ai |
| OpenKB | 69 · Some gaps | CLIFree + model costs | ★ 5k | 4mo ago | Python | Codex · Claude Code · OpenAI API · Claude API |
How does FollowAgents rate this agent?
Why each dimension lost points
README documents AES-256-GCM at-rest encryption, gRPC TLS+Token, Redis TLS, SSRF-safe HTTP client, secret redaction, OIDC JWKS verification, sandbox network policy and 4-tier RBAC, which supports sensitive_data_handling and dependency_security at 2. However least privilege is only a role matrix with no tool- or file-level permission inventory; user confirmation appears only for MCP human-in-the-loop and memory auto-extract, with no unified confirmation policy; data-flow transparency relies on Langfuse tracing without stating cross-border or third-party LLM boundaries; external effects (sandbox shell_exec, file writes, messaging) have no default-off or approval evidence; rollback exists for Wiki/chunk revisions but not globally; source attribution is supported by LICENSE, THIRD_PARTY_NOTICES and a CI license-bundle check, hence 2. Deductions center on missing file-level evidence for permission granularity, confirmation and external-effect control.
go.mod pins concrete dependency versions and CI runs go vet/go test/go build; docreader tests cover a DOCX vertical-merge regression, so self_consistency is 2. Dependency availability is 2 because anydoc is unpublished upstream and vendored via a replace directive with an explicit note to drop it once upstream tags. Failure messages are only visible in CI and test assertions; runtime error messaging, retry and degradation behavior have no evidence in the provided files, so failure_messages is 1.
README targets enterprise document understanding and multiple IM channels with rich scenario coverage, so audience_and_scenarios is 2; deployment supports Docker/K8s/Helm/local/offline, so environment_fit is 2. Capability boundaries are only a feature list without unsupported document types, models or scale limits; trigger precision has ReAct orchestration, @Skill/@MCP scoping and tunable retrieval thresholds, but no rule for when to use the Agent versus quick Q&A, so both are 1.
README is well structured with architecture diagram, feature tables, multilingual entry points and CHANGELOG links, so information_architecture and versioning_changelog are 2; naming is stable across CLI, API and MCP tools, so naming_stability is 2; LICENSE is MIT plus third-party notices with a CI license-bundle check, so license is 2. Install steps are truncated in the provided README excerpt, lacking a complete quickstart and prerequisites, so install_notes is 1; examples and FAQ are screenshots and external links only, so examples_and_faq is 1; known limitations are scattered (e.g. Local host-process backend removed) with no dedicated section, so known_limitations is 1; maintenance responsibility points only to repository owners and the security reporting process with no SLA or maintainer list, so maintenance_responsibility is 1.
Output usability is 2 with citation popovers, Markdown export, Wiki pages and knowledge graph; marginal value is 2 because Agent orchestration, sandbox skills and auto-Wiki add clear value over plain RAG. Cost-benefit is only 1: multiple models, vector stores, sandboxes and Langfuse imply high deployment and operational cost, and README gives no resource requirements or cost comparison.
Many README claims map to CHANGELOG and test files, but there is no claim-to-code or claim-to-test mapping, so claim_traceability is 1; cross-source corroboration is limited, with only the DOCX merge regression backed by both fixture and tests, so cross_source_corroboration is 1; fact-inference separation is 1 because README mixes roadmap-style statements with implemented features without marking which is which.
- Publisher identity is unverified; ownership and maintenance commitments rest on README and SECURITY.md self-description and must not be used to infer reliability or safety.
- Sandbox skills can run shell and file operations, yet the provided files show no default-off, per-action confirmation or tool-level permission inventory; audit and tighten network policy before deployment.
- The anydoc dependency is unpublished upstream and vendored via a replace directive; track upstream tagging and supply-chain risk.
- README is dense with feature claims but lacks claim-to-code/test mapping; some capabilities may be roadmap or partial.
- Install and quickstart steps are truncated in the provided material; consult full docs and CHANGELOG before deploying.
Thanks — we use this to improve the page.
Subscribe to the FollowAgents RSS feed, or save this agent to your browser shortlist to compare on your next visit.