Files
LangBot/README_ES.md
T
Junyan Chin e9dd584792 feat: MCP server + in-repo skills (agent-friendly platform) (#2269)
* feat(api): support global API key from config.yaml (api.global_api_key)

Accept a config-defined global API key anywhere a web-UI key is accepted
(X-API-Key / Bearer), with no login session and no DB record. Useful for
automated deployments and AI agents (HTTP API + MCP). Defaults to empty
(disabled); does not require the lbk_ prefix.

- templates/config.yaml: add api.global_api_key with security notes
- service/apikey.py: verify_api_key checks global key first (constant-time)
- docs/API_KEY_AUTH.md: document the global key + security guidance
- tests: cover global-key match, prefix-free, fallback-to-db, disabled

* feat(mcp): expose LangBot management as an MCP server at /mcp

Add an MCP (Model Context Protocol) server so external AI agents can manage a
LangBot instance. Reuses the same API-key auth as the HTTP API (including the
config.yaml global API key).

- pkg/api/mcp/server.py: FastMCP server wrapping the service layer; 21 curated
  tools across system/bots/pipelines/models/knowledge/mcp-servers/skills
- pkg/api/mcp/mount.py: ASGI dispatcher fronting Quart; authenticates /mcp
  requests with an API key, runs the streamable-HTTP session manager lifespan
- controller/main.py: serve the wrapped ASGI app via hypercorn (was run_task)
- web: new 'MCP' tab in the API integration dialog showing endpoint, auth, and
  client config; i18n for 8 locales
- tests/manual/mcp_smoke.py: e2e check (401 unauth, list tools, call tools)

Tool surface is intentionally curated (not all ~25 route groups) to keep the
agent surface small, safe, and maintainable. Extend deliberately.

* feat(skills): add in-repo skills/ as the single source of truth

Migrate the agent skills + QA/e2e test harness from the (now archived)
langbot-app/langbot-skills repo into LangBot/skills/, and add four new skills.

Migrated:
- langbot-plugin-dev, langbot-testing (e2e), langbot-env-setup,
  langbot-skills-maintenance, langbot-eba-adapter-dev
- the bin/lbs CLI (src/, test/, scripts/, schemas/, qa-agent-docs/)

New:
- langbot-dev      core backend + web development
- langbot-deploy   Docker/K8s deployment + config.yaml + global API key
- langbot-mcp-ops  operating the LangBot MCP server (/mcp)
- langbot-space-ops operating the Space marketplace MCP server

- src/cli.ts repoRoot(): recognize the skills assets root (skills.index.json +
  bin/lbs) so the CLI works when nested inside the LangBot repo
- README.md: unified skill catalog; skills.index.json regenerated

Parity with source verified: bin/lbs validate + node test suite match the
source repo (only the uncommitted .lbpkg build-artifact fixture differs).

* docs(agents): document agent-facing surfaces + API/MCP/skills sync rule

* docs(readme): add 'Built for AI Agents' section across all locales

Highlight MCP server, in-repo skills (single source of truth), AGENTS.md
sync rule, and llms.txt. Cross-link LangBot Space MCP marketplace.

* style(mcp): fix ruff format + prettier lint in MCP server and API panel

* style(web): prettier format MCP i18n locale entries

* docs(skills): note MCP instance control in dev/testing skills

All development-guidance skills now point to the LangBot instance MCP
server (/mcp) and the Space marketplace MCP server, reusing API keys.
2026-06-20 15:14:47 +08:00

10 KiB
Raw Blame History

LangBot

LangBot - Production-grade IM bot made easy. | Product Hunt

Plataforma de grado de producción para construir bots de mensajería instantánea con agentes de IA.

Construya, depure y despliegue bots de IA rápidamente en Slack, Discord, Telegram, WeChat y más.

English / 简体中文 / 繁體中文 / 日本語 / Español / Français / 한국어 / Русский / Tiếng Việt

Discord Ask DeepWiki GitHub release (latest by date) python GitHub stars

Inicio Características Documentación API Mercado de Plugins Hoja de Ruta


¿Qué es LangBot?

LangBot es una plataforma de código abierto y grado de producción para construir bots de mensajería instantánea impulsados por IA. Conecta modelos de lenguaje de gran escala (LLMs) con cualquier plataforma de chat, permitiéndole crear agentes inteligentes que pueden conversar, ejecutar tareas e integrarse con sus flujos de trabajo existentes.

Panel de gestión web de LangBot — monitoreo en tiempo real de volumen de mensajes, llamadas a modelos, tasa de éxito y sesiones activas

Capacidades Clave

  • Conversaciones e Agentes IA — Diálogos de múltiples turnos, llamadas a herramientas, soporte multimodal, salida en streaming. RAG (base de conocimientos) incorporado con integración profunda con Dify, Coze, n8n, Langflow, DeerflowWeknora.
  • Soporte Universal de Plataformas de MI — Un solo código base para Discord, Telegram, Slack, LINE, QQ, WeChat, WeCom, Lark, DingTalk, KOOK.
  • Listo para Producción — Control de acceso, limitación de velocidad, filtrado de palabras sensibles, monitoreo completo y manejo de excepciones. De confianza para empresas.
  • Ecosistema de Plugins — Cientos de plugins, arquitectura basada en eventos, extensiones de componentes y soporte del protocolo MCP.
  • Panel de Gestión Web — Configure, gestione y monitoree sus bots a través de una interfaz de navegador intuitiva. Sin necesidad de editar YAML.
  • Arquitectura Multi-Pipeline — Diferentes bots para diferentes escenarios, con monitoreo completo y manejo de excepciones.

→ Conocer más sobre todas las funcionalidades

📍 Guías prácticas: desplegar un bot de IA multiplataforma en 5 minutos, conectar DeepSeek a WeChat, Discord y Telegram, ejecutar un Dify Agent en Discord, Telegram y Slack y crear un chatbot con n8n.


Inicio Rápido

☁️ LangBot Cloud (Recomendado)

LangBot Cloud — Sin despliegue, listo para usar.

Lanzamiento en una línea

uvx langbot

Requiere uv. Visite http://localhost:5300 — listo.

Docker Compose

git clone https://github.com/langbot-app/LangBot
cd LangBot/docker
docker compose up -d

Despliegue en la Nube con un Clic

Deploy on Zeabur Deploy on Railway

Más opciones: Docker · Manual · BTPanel · Kubernetes


Plataformas Soportadas

Plataforma Estado Notas
Discord Oficial
Telegram Oficial
Slack Oficial
LINE Oficial
QQ Personal y API Oficial (Canal, DM, Grupo)
WeCom WeChat Empresarial, CS Externo, AI Bot
WeChat Personal y Cuenta Oficial
Lark Oficial
DingTalk Oficial
KOOK Oficial
Satori
Email Matrix, Satori
Matrix Admite varias plataformas puenteadas como Signal, WhatsApp, Messenger, iMessage, Mattermost, Google Chat, IRC, XMPP, Zulip y más

LLMs e Integraciones Soportadas

Proveedor Tipo Estado
OpenAI LLM
Anthropic LLM
DeepSeek LLM
Google Gemini LLM
xAI LLM
Moonshot LLM
Zhipu AI LLM
Ollama LLM Local
LM Studio LLM Local
Dify LLMOps
MCP Protocolo
SiliconFlow Pasarela
Aliyun Bailian Pasarela
Volc Engine Ark Pasarela
ModelScope Pasarela
GiteeAI Pasarela
CompShare Plataforma GPU
PPIO Plataforma GPU
ShengSuanYun Plataforma GPU
接口 AI Pasarela
302.AI Pasarela
Qiniu Pasarela

→ Ver todas las integraciones


¿Por qué LangBot?

Caso de Uso Cómo Ayuda LangBot
Atención al cliente Despliegue agentes de IA en Slack/Discord/Telegram que respondan preguntas usando su base de conocimientos
Herramientas internas Conecte flujos de trabajo de n8n/Dify a WeCom/DingTalk para procesos empresariales automatizados
Gestión de comunidades Modere grupos de QQ/Discord con filtrado de contenido e interacción impulsados por IA
Presencia multiplataforma Un solo bot, todas las plataformas. Gestione desde un único panel de control

Demo en Vivo

Pruébelo ahora: https://demo.langbot.dev/

  • Correo electrónico: demo@langbot.app
  • Contraseña: langbot123456

Nota: Entorno de demostración público. No ingrese información confidencial.

Diseñado para Agentes de IA 🤖

LangBot es agent-friendly por diseño —— tus agentes de codificación (Claude Code, Codex, Copilot, Cursor, …) pueden operar, extender y desplegar LangBot con soporte de primera clase:

  • Servidor MCP —— LangBot expone un endpoint integrado de Model Context Protocol en /mcp, replicando la API HTTP para que un agente gestione bots, pipelines, plugins y modelos de forma programática. Autentícate con la misma API key (configura una clave global en config.yaml o usa una clave por usuario) —— sin flujo de login. Configúralo en la pestaña API & MCP del panel web.
  • Skills en el repositorio —— El directorio skills/ es la única fuente de verdad para trabajar con LangBot: desarrollo de plugins, desarrollo del core, pruebas end-to-end, despliegue y operación de los servidores MCP de LangBot / LangBot Space. Apunta tu agente a este directorio y sabrá cómo construir.
  • AGENTS.md —— Cada repo incluye un AGENTS.md (enlazado simbólicamente a CLAUDE.md) que describe la arquitectura, las convenciones y la regla de que los cambios en la API deben mantener sincronizados el servidor MCP y los skills.
  • llms.txt —— El contexto del proyecto legible por máquina para LLMs está publicado en el sitio web.

Nube / Marketplace: LangBot Space también expone un servidor MCP para que los agentes busquen e inspeccionen el marketplace de plugins / MCP / skills, autenticados con un Personal Access Token.


Comunidad

Discord


Historial de Stars

Star History Chart


Colaboradores

Gracias a todos los colaboradores que han ayudado a mejorar LangBot: