-
Notifications
You must be signed in to change notification settings - Fork 1.5k
en insight features
LangBot is an open-source, production-grade, LLM-native instant messaging bot development platform. With a single codebase you can bring AI agents to Discord, Telegram, Slack, QQ, WeChat, WeCom, Lark, DingTalk and more — with built-in Agent, RAG knowledge base, MCP, Skills and a code sandbox, deep integration with Agent platforms like Dify, Coze, n8n and Langflow, and everything configured and monitored from a browser-based web panel — no hand-written config files.
Tip
Don't want to self-host? Try LangBot Cloud — no server required, sign up and start instantly.
- AI Conversation & Agent — multi-turn dialogue, tool calling (function calling), multimodal (image/audio/file) and streaming output, ready out of the box.
- RAG Knowledge Base — a built-in knowledge-base engine (vector retrieval + Rerank re-scoring) so your bot answers from your private knowledge, extensible via plugins to seamlessly connect external knowledge-base services like RAGFlow, Dify and FastGPT.
- All-Platform Coverage — one codebase reaches Discord, Telegram, Slack, LINE, KOOK, Matrix, QQ, WeChat, WeCom, Lark, DingTalk and more.
- Deep Agent Platform Integration — native connectors for Dify, Coze, n8n, Langflow, Deerflow, Aliyun Bailian, Ant TBox and other orchestration & workflow platforms.
- Skills & Code Sandbox — on-demand instruction packs paired with a securely isolated code-execution sandbox, so the agent actually gets things done.
- MCP Protocol — acts as a client into the Model Context Protocol tool ecosystem, supporting both Stdio and HTTP transports.
- Web Management Panel — configure, manage and monitor bots visually in the browser, no manual config editing.
- Production-grade Plugin System — hundreds of community plugins on a cross-process, event-driven architecture that's safe and hot-pluggable.
- Multi-pipeline Architecture — run multiple pipelines per instance so different bots serve different scenarios, with access control, rate limiting, sensitive-word filtering and comprehensive monitoring.
LangBot covers mainstream global IM platforms through a unified adapter layer — develop once, reach everywhere.
| Platform | Status | Remarks |
|---|---|---|
| Personal QQ | ✅ | Supported via third-party apps implementing the OneBot v11 protocol; private and group chats |
| QQ Official Bot | ✅ | Channels, private chats, and group chats |
| ✅ | Personal WeChat | |
| WeChat Official Account | ✅ | |
| WeCom | ✅ | Internal application messages |
| WeCom Intelligent Bot | ✅ | Supports streaming output |
| WeCom Customer Service | ✅ | |
| Lark | ✅ | Supports streaming output |
| DingTalk | ✅ | Supports streaming output |
| Discord | ✅ | |
| Telegram | ✅ | Supports streaming output |
| Slack | ✅ | |
| LINE | ✅ | |
| KOOK | ✅ | |
| Satori | ✅ | Satori is a universal chat protocol that theoretically supports QQ, Zulip, Miyoushe and 15+ platforms |
| Matrix | ✅ | Reaches Signal, WhatsApp, Messenger, iMessage, Mattermost, Google Chat, IRC, XMPP, Zulip and more via bridges |
| ✅ | Use email as a conversation channel | |
| Web Page Bot | ✅ | Embeddable chat widget for web pages |
| 🚧 | In development (also usable via Matrix bridge) |
🚧: In development
For fine-grained, per-platform feature support (sending/receiving images, audio, files, rich text, streaming responses, etc.), see the platform features document.
LangBot uses LiteLLM as a unified model request backend, so beyond the built-in providers below you can also connect any OpenAI / Anthropic API-format or LiteLLM-supported model.
| Provider/Service | Status | Remarks |
|---|---|---|
| OpenAI | ✅ | Works with any OpenAI-format model |
| Anthropic | ✅ | |
| DeepSeek | ✅ | |
| Google Gemini | ✅ | |
| xAI | ✅ | |
| Moonshot | ✅ | |
| Zhipu AI | ✅ | |
| Mistral | ✅ | |
| Groq | ✅ | |
| OpenRouter | ✅ | Global LLM gateway |
| Ollama | ✅ | Local LLM running platform |
| LMStudio | ✅ | Local LLM running platform |
| SiliconFlow | ✅ | LLM gateway (MaaS) |
| Aliyun Bailian | ✅ | LLM gateway (MaaS) / Agent platform |
| Volc Engine Ark | ✅ | LLM gateway (MaaS) / Agent platform |
| ModelScope | ✅ | LLM gateway (MaaS) |
| GiteeAI | ✅ | LLM interface gateway (MaaS) |
| ShengSuanYun | ✅ | Global LLM aggregation (recommended) |
| CompShare | ✅ | LLM and GPU resource platform |
| PPIO | ✅ | LLM and GPU resource platform |
| 302.AI | ✅ | LLM gateway (MaaS) |
| Jiekou AI | ✅ | LLM gateway (MaaS) |
| TokenPony | ✅ | LLM gateway (MaaS) |
| Qiniu | ✅ | LLM gateway (MaaS) |
Plug your existing workflows or agents straight into IM platforms — no need to rewrite your business logic.
| Platform | Status | Remarks |
|---|---|---|
| Dify | ✅ | Agent platform |
| Coze | ✅ | Agent orchestration platform |
| n8n | ✅ | Workflow automation platform |
| Langflow | ✅ | Visual orchestration platform |
| Deerflow | ✅ | Deep research framework |
| Weknora | ✅ | WeChat knowledge-base Q&A |
| Ant TBox | ✅ | Agent platform |
| Provider | Status | Remarks |
|---|---|---|
| Cohere | ✅ | Rerank models |
| Jina | ✅ | Rerank models |
| Voyage AI | ✅ | Rerank models |
LangBot turns mainstream LLM application paradigms into out-of-the-box capabilities, covering the full path from "can chat" to "can get work done."
| Paradigm | Status | Notes |
|---|---|---|
| Agent | ✅ | Built-in agent with tool calling, multi-turn reasoning, multimodal and streaming output |
| RAG (Knowledge Base) | ✅ | Built-in knowledge-base engine (default Chroma vector store + Rerank re-scoring), pluggable into external knowledge bases like RAGFlow, Dify and FastGPT |
| MCP | ✅ | Acts as an MCP client into the tool ecosystem; supports Stdio and HTTP |
| Skills | ✅ | On-demand instruction packs, pulled into context only when matched — zero extra overhead |
| Code Sandbox | ✅ | Securely isolated code-execution environment with Docker / nsjail / E2B backends |
- Skills: package a professional workflow, template or script into an on-demand instruction pack — the agent pulls it into context only when the user's request matches, keeping the System Prompt clean. See the Skills doc.
- Code Sandbox: gives the agent securely isolated code-execution capability, automatically picking the best of the Docker / nsjail / E2B backends — the runtime foundation for Skills and native tools. See the Sandbox doc.
LangBot offers a complete extension surface for secondary development and enterprise integration.
- HTTP Service API: access LangBot's entities through HTTP interfaces with API-key authentication, for easy integration with existing systems.
- Outgoing Webhook: push LangBot's internal events to external systems in real time, enabling event-driven automation.
- Production-grade Plugin System: built on cross-process communication and async technology, supporting various component extensions — safe, stable and hot-pluggable; hundreds of community plugins install in one click from the extension marketplace.
- Web Management Panel: do all your bot, model, pipeline, knowledge-base and plugin configuration and monitoring visually.
LangBot supports everything from a one-line command to a Kubernetes cluster:
- LangBot Cloud (recommended): a hosted, deploy-free, out-of-the-box version.
-
One-line start:
uvx langbot, then openhttp://localhost:5300. - Docker Compose, aaPanel, Kubernetes, one-click cloud deploy on Zeabur / Railway, and more.
See the deployment docs and quick start.






Automatically synchronized from langbot-app/langbot-wiki.
简体中文
指南
开发者
- 插件开发
- 插件 SDK API
- 核心开发
API 参考
- Service API
English
Guides
Developers
-
Plugin Development
- Plugin Development Tutorial
- Completing Plugin Configuration Information
- Plugin Directory Structure
- Component Development
- Code Style Guide
- Migration Guide
- Publish Plugin
- Plugin SDK API
- Core Development
API Reference
- Service API