# tencent/weknora

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/tencent-weknora).**

16,974 stars · 2,204 forks · Go · NOASSERTION

## Links

- GitHub: https://github.com/Tencent/WeKnora
- Homepage: https://weknora.weixin.qq.com
- awesome-repositories: https://awesome-repositories.com/repository/tencent-weknora.md

## Topics

`agent` `agentic` `ai` `chatbot` `embeddings` `evaluation` `generative-ai` `golang` `knowledge-base` `llm` `multi-tenant` `multimodel` `ollama` `openai` `question-answering` `rag` `reranking` `semantic-search` `vector-search` `wiki`

## Description

WeKnora is a multi-tenant retrieval-augmented generation (RAG) knowledge platform and autonomous AI agent framework. It transforms raw documents into queryable knowledge bases and integrates large language models with vector databases to provide grounded AI responses. The system also functions as a Model Context Protocol (MCP) tool server, exposing knowledge search and agentic capabilities to external AI clients.

The platform distinguishes itself through an autonomous agent framework that utilizes iterative reasoning, tool calling, and web search to solve multi-step tasks. It implements a standardized tool surface via the Model Context Protocol, allowing for the extension of agent capabilities through custom skill definitions and external service integration.

The system covers comprehensive data management areas, including recursive document chunking, hybrid search retrieval with cross-encoder reranking, and complex document parsing via OCR. It provides enterprise-grade infrastructure with multi-tenant data isolation, role-based access control, and OIDC authentication. Additional capabilities include the generation of structured wikis and knowledge graphs from ingested content, as well as integration with third-party messaging platforms.

The project can be deployed via Kubernetes or as a standalone lite distribution.

## Tags

### Artificial Intelligence & ML

- [Autonomous AI Agent Frameworks](https://awesome-repositories.com/f/artificial-intelligence-ml/autonomous-ai-agent-frameworks.md) — Provides a framework for building self-directed agents that use iterative reasoning, tool calling, and web search.
- [Multi-Tenant AI Hosting](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-deployment-servers/enterprise-deployment-platforms/multi-tenant-ai-hosting.md) — Hosts a multi-tenant AI platform on Kubernetes with integrated role-based access control and messaging channels.
- [Chunking Strategies](https://awesome-repositories.com/f/artificial-intelligence-ml/agent-memory-stores/weaviate-knowledge-stores/vector-knowledge-bases/chunking-strategies.md) — Implements recursive document chunking to optimize the accuracy of retrieval-augmented generation. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [Hybrid Search Retrievers](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-rag-development/knowledge-base-retrieval/hybrid-search-retrievers.md) — Implements hybrid search retrievers that combine keyword and vector search to improve document recall and accuracy.
- [Agentic Reasoning Loops](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-reasoning-loops.md) — Implements iterative reasoning loops where AI agents call tools and refine answers to solve multi-step tasks. ([source](https://github.com/Tencent/WeKnora/tree/main/client))
- [Agent Capability Extensions](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-capability-extensions.md) — Expands the capabilities of autonomous agents by integrating external tools through a standardized protocol. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Model Context Protocol](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/model-context-protocol.md) — Exposes a standardized tool interface via the Model Context Protocol for compatible AI clients. ([source](https://github.com/Tencent/WeKnora/blob/main/cli/README.md))
- [MCP Server Management](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/model-integration-serving/model-integration-interfaces/model-context-protocol/mcp-server-management.md) — Provides interfaces for managing protocol tool services that extend the capabilities of autonomous agents. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [Reasoning Process Monitors](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/ai-observability-evaluation/reasoning-process-monitors.md) — Provides visualization and auditing of step-by-step reasoning chains and tool execution for token observability. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Retrieval-Augmented Generation](https://awesome-repositories.com/f/artificial-intelligence-ml/conversational-interfaces/retrieval-augmented-generation.md) — Transforms raw documents into queryable knowledge bases to provide grounded AI responses using retrieval-augmented generation.
- [MCP Protocol Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/external-tool-integrations/mcp-protocol-integrations.md) — Integrates with compatible editors via the Model Context Protocol to enable tool-based knowledge interaction. ([source](https://github.com/Tencent/WeKnora/blob/main/mcp-server/MCP_CONFIG.md))
- [Knowledge Ingestion Pipelines](https://awesome-repositories.com/f/artificial-intelligence-ml/knowledge-ingestion-pipelines.md) — Implements pipelines to upload and manage raw content and metadata used to power knowledge bases. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [Document Chunking Strategies](https://awesome-repositories.com/f/artificial-intelligence-ml/language-model-orchestration/retrieval-augmented-generation/document-chunking-strategies.md) — Implements adaptive and recursive document chunking strategies to optimize retrieval accuracy. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [MCP Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/mcp-servers.md) — Implements an MCP server that exposes knowledge search and agent invocation to external AI clients. ([source](https://github.com/Tencent/WeKnora/blob/main/cli/AGENTS.md))
- [Long-Form Answer Generators](https://awesome-repositories.com/f/artificial-intelligence-ml/question-answering-systems/long-form-answer-generators.md) — Generates high-quality, grounded responses to user questions using retrieval-augmented generation. ([source](https://github.com/Tencent/WeKnora/tree/main/dataset))
- [Retrieval Augmented Generation Platforms](https://awesome-repositories.com/f/artificial-intelligence-ml/retrieval-augmented-generation-platforms.md) — Provides a full platform for managing document collections and knowledge bases to ground generative language models.
- [Agent Skill Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-capabilities-skills-tooling/agent-skill-integrations.md) — Integrates pre-installed external capabilities to extend the functionality of autonomous agents. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [AI Agent Builders](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/agent-orchestration-multi-agent/autonomous-agents/ai-agent-builders.md) — Provides tools for constructing and configuring custom AI agents with specific models, knowledge scopes, and skills. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Agent Skill Definitions](https://awesome-repositories.com/f/artificial-intelligence-ml/agentic-systems-frameworks/integration-deployment/agent-frameworks/configuration-and-specifications/agent-skill-definitions.md) — Supports defining custom AI agent skill sets using structured markdown and scripts. ([source](https://github.com/Tencent/WeKnora/tree/main/examples/skills))
- [AI Agent Servers](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-agent-servers.md) — Functions as an AI agent server that allows users to invoke custom server-side agents for task execution. ([source](https://github.com/Tencent/WeKnora/blob/main/cli/README.md))
- [Model Context Protocol Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-assistant-integrations/model-context-protocol-integrations.md) — Implements the Model Context Protocol to expose internal knowledge and agent tools to external AI clients.
- [Streaming Chat Responses](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-chat-clients/streaming-chat-responses.md) — Delivers chat and session answers as a line-delimited JSON event stream for incremental token processing. ([source](https://github.com/Tencent/WeKnora/blob/main/cli/AGENTS.md))
- [AI Model Configurations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-model-configurations.md) — Allows configuration of model parameters and sources to control the behavior and creativity of generated responses. ([source](https://github.com/Tencent/WeKnora/tree/main/client))
- [Model Registrations](https://awesome-repositories.com/f/artificial-intelligence-ml/ai-model-configurations/model-registrations.md) — Provides a mechanism for registering and managing the specific models used for processing and generating responses. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [Conversation History Managers](https://awesome-repositories.com/f/artificial-intelligence-ml/artificial-intelligence-tooling/language-model-integrations/conversation-history-managers.md) — Maintains and organizes the sequence of messages within a conversation to provide stateful AI interactions. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [Cross-Encoder Rerankers](https://awesome-repositories.com/f/artificial-intelligence-ml/result-reranking/cross-encoder-rerankers.md) — Uses a cross-encoder architecture to score retrieved document chunks and optimize the final ranking of results.
- [Web Search Integrations](https://awesome-repositories.com/f/artificial-intelligence-ml/web-search-integrations.md) — Integrates real-time web search to supplement internal knowledge bases with current external data. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))

### Data & Databases

- [Knowledge Base Management](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing/local-knowledge-base-indexers/knowledge-base-management.md) — Transforms raw documents and web content into searchable chunks, structured wikis, and knowledge graphs. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Conversational Interfaces](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing/local-knowledge-base-indexers/knowledge-base-management/conversational-interfaces.md) — Enables users to query specific knowledge bases via a chat interface to receive grounded AI responses. ([source](https://github.com/Tencent/WeKnora/blob/main/miniprogram/README.md))
- [Vector Storage](https://awesome-repositories.com/f/data-databases/local-first-storage/vector-storage.md) — Integrates with external vector databases to store and retrieve high-dimensional embeddings for semantic search. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/QA.md))
- [Multi-Format Document Ingestion](https://awesome-repositories.com/f/data-databases/multi-format-document-ingestion.md) — Ingests and normalizes various file formats including PDF, Word, Excel, and images for AI retrieval. ([source](https://github.com/Tencent/WeKnora/blob/main/README.md))
- [Semantic Knowledge Base Search](https://awesome-repositories.com/f/data-databases/search-indexing-technologies/search-indexing/search-and-indexing/local-knowledge-base-indexers/semantic-knowledge-base-search.md) — Uses vector embeddings to retrieve relevant information from indexed knowledge bases. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [Vector Database Integrations](https://awesome-repositories.com/f/data-databases/vector-database-integrations.md) — Connects large language models to various vector stores like pgvector, Milvus, and Qdrant for semantic search.
- [External System Synchronization](https://awesome-repositories.com/f/data-databases/external-data-connectors/external-system-synchronization.md) — Automatically imports and synchronizes content from third-party platforms using external system connectors. ([source](https://github.com/Tencent/WeKnora/blob/main/README.md))

### User Interface & Experience

- [RAG Enabled Clients](https://awesome-repositories.com/f/user-interface-experience/chat-clients/rag-enabled-clients.md) — Provides a RAG-enabled chat interface for querying specific knowledge bases to receive grounded AI responses. ([source](https://github.com/Tencent/WeKnora/tree/main/client))

### Part of an Awesome List

- [Document Parsing and Extraction](https://awesome-repositories.com/f/awesome-lists/data/document-parsing-and-extraction.md) — Implements advanced extraction of text and structure from various document formats using OCR and multimodal processing for LLM ingestion. ([source](https://github.com/Tencent/WeKnora/tree/main/docreader))
- [Document Text Extractors](https://awesome-repositories.com/f/awesome-lists/data/document-parsing-and-extraction/document-text-extractors.md) — Extracts plain text from PDFs, Word files, and images using built-in tools or vision models for downstream processing. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/QA.md))

### Security & Cryptography

- [Multi-Tenant Isolation Layers](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation-layers.md) — Enforces strict data separation between independent workspaces to ensure multi-tenant isolation. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Tenant-Specific Knowledge Workspaces](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation-layers/ai-agent-tenant-isolation/tenant-specific-knowledge-workspaces.md) — Provides isolated knowledge workspaces for different organizations with individual document repositories and RBAC.
- [Tenant ID Assignments](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation-layers/header-based-tenant-isolations/tenant-id-assignments.md) — Assigns requests to unique tenant identifiers to maintain rigorous data isolation. ([source](https://github.com/Tencent/WeKnora/tree/main/client))
- [Tenant Identifiers](https://awesome-repositories.com/f/security-cryptography/multi-tenant-isolation-layers/header-based-tenant-isolations/tenant-identifiers.md) — Ensures multi-tenant data isolation by segregating resources using unique tenant identifiers and role-based access matrices.
- [Permission-Based Access Control](https://awesome-repositories.com/f/security-cryptography/permission-based-access-control.md) — Controls resource ownership and access through a structured four-tier role permission matrix. ([source](https://github.com/Tencent/WeKnora))
- [Role-Based Access Control](https://awesome-repositories.com/f/security-cryptography/role-based-access-control.md) — Enforces a multi-tier role-based access control matrix to restrict system and resource access. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Audit Logging](https://awesome-repositories.com/f/security-cryptography/audit-logging.md) — Records role assignments and access attempts in searchable security logs for audit and compliance. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/RBAC%E8%AF%B4%E6%98%8E.md))
- [Credential Encryption](https://awesome-repositories.com/f/security-cryptography/credential-encryption.md) — Protects sensitive API keys using AES-256-GCM encryption with support for key rotation. ([source](https://github.com/Tencent/WeKnora))
- [Creator Restrictions](https://awesome-repositories.com/f/security-cryptography/domain-access-restrictions/request-access-restrictions/resource-access-restrictions/creator-restrictions.md) — Restricts the ability to modify resources to only the original creator or an administrator. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/RBAC%E8%AF%B4%E6%98%8E.md))
- [API Request Authentication](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/machine-and-protocol-identity/api-machine-authentication/api-request-authentication.md) — Validates API request identity using security keys provided in HTTP headers. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))
- [OIDC Authentication Plugins](https://awesome-repositories.com/f/security-cryptography/oidc-authentication-plugins.md) — Secures user and agent access by integrating OpenID Connect identity providers for authentication. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))
- [Private Knowledge Base Imports](https://awesome-repositories.com/f/security-cryptography/private-content-consumption/private-knowledge-base-imports.md) — Extracts and stores information from web URLs to populate searchable private knowledge bases. ([source](https://github.com/Tencent/WeKnora/tree/main/mcp-server))
- [User Account Management](https://awesome-repositories.com/f/security-cryptography/user-account-management.md) — Handles user registration, login, and identity flows using OpenID Connect for account management. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))

### Business & Productivity Software

- [Cross-Tenant Collaboration](https://awesome-repositories.com/f/business-productivity-software/cross-tenant-collaboration.md) — Enables cross-tenant collaboration by granting members of different tenants access to shared organizational spaces. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/RBAC%E8%AF%B4%E6%98%8E.md))
- [AI Agent Session Managers](https://awesome-repositories.com/f/business-productivity-software/team-collaboration-management/collaborative-chat-sessions/ai-agent-session-managers.md) — Manages the lifecycle of AI agent sessions, including listing history and recovering interrupted event streams. ([source](https://github.com/Tencent/WeKnora/blob/main/cli/CHANGELOG.md))
- [Team Member Management](https://awesome-repositories.com/f/business-productivity-software/team-member-management.md) — Manages organizational team structures to facilitate sharing of knowledge bases and AI agents. ([source](https://github.com/Tencent/WeKnora/blob/main/docs/api/README.md))

### Content Management & Publishing

- [AI-Powered Wiki Generators](https://awesome-repositories.com/f/content-management-publishing/documentation-knowledge-management/wiki-engines/versioned-wikis/ai-powered-wiki-generators.md) — Uses AI to distill raw documents into an interlinked markdown knowledge base and structured graph. ([source](https://github.com/Tencent/WeKnora))

### Development Tools & Productivity

- [Web Content Ingestion Tools](https://awesome-repositories.com/f/development-tools-productivity/web-content-ingestion-tools.md) — Provides utilities to scrape and ingest web pages, text, and images from a browser into a knowledge base. ([source](https://github.com/Tencent/WeKnora))

### DevOps & Infrastructure

- [Standalone Distribution Bundlers](https://awesome-repositories.com/f/devops-infrastructure/dependency-management/standalone-distribution-bundlers.md) — Offers a standalone lite distribution that bundles the frontend and removes external dependencies. ([source](https://github.com/Tencent/WeKnora/blob/main/Makefile))
- [Dependency Health Verification](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/operational-observability-access/service-health-monitoring/dependency-health-verification.md) — Implements active health verification for the dependency chain of knowledge bases and agents. ([source](https://github.com/Tencent/WeKnora/blob/main/cli/AGENTS.md))
- [Kubernetes Deployments](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-deployments.md) — Provides the necessary configurations and tooling to deploy the platform and its dependencies onto Kubernetes clusters. ([source](https://github.com/Tencent/WeKnora/tree/main/helm))

### Networking & Communication

- [Messaging Platform Integrations](https://awesome-repositories.com/f/networking-communication/api-integration-frameworks/communication-apis/messaging-platform-integrations.md) — Delivers RAG question-and-answer capabilities directly to users through messaging platforms like Slack and Telegram. ([source](https://github.com/Tencent/WeKnora))

### Programming Languages & Runtimes

- [Knowledge Graph Visualizations](https://awesome-repositories.com/f/programming-languages-runtimes/programming-utilities/data-structure-type-helpers/data-structures/hierarchical-tree-structures/relationship-graph-visualizers/knowledge-graph-visualizations.md) — Transforms raw documents into an interactive graph to visualize conceptual relationships and narratives. ([source](https://github.com/Tencent/WeKnora/blob/main/CHANGELOG.md))

### System Administration & Monitoring

- [Environment Health Diagnostics](https://awesome-repositories.com/f/system-administration-monitoring/health-monitoring/environment-health-diagnostics.md) — Includes diagnostics to validate server reachability, authentication status, and credential storage health. ([source](https://github.com/Tencent/WeKnora/tree/main/cli))
