Files
LangBot/README_JP.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

12 KiB
Raw Blame History

LangBot

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

AIエージェント搭載IMボットを構築するための本番グレードプラットフォーム。

Slack、Discord、Telegram、WeChat などに AI ボットを素早く構築、デバッグ、デプロイ。

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

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

ホーム 機能 ドキュメント API プラグインマーケット ロードマップ


LangBot とは?

LangBot は、AI搭載のインスタントメッセージングボットを構築するためのオープンソースの本番グレードプラットフォームです。大規模言語モデル(LLM)をあらゆるチャットプラットフォームに接続し、会話、タスク実行、既存のワークフローとの統合が可能なインテリジェントエージェントを作成できます。

LangBot Web 管理パネルのダッシュボード — メッセージ量、モデル呼び出し、成功率、アクティブセッションをリアルタイム監視

主な機能

  • AI対話とエージェント — マルチターン対話、ツール呼び出し、マルチモーダル対応、ストリーミング出力。RAG(ナレッジベース)を内蔵し、DifyCozen8nLangflowDeerflowWeknora と深く統合。
  • ユニバーサルIMプラットフォーム対応 — 単一のコードベースで Discord、Telegram、Slack、LINE、QQ、WeChat、WeCom、Lark、DingTalk、KOOK に対応。
  • 本番環境対応 — アクセス制御、レート制限、センシティブワードフィルタリング、包括的な監視、例外処理を搭載。エンタープライズの信頼に応える品質。
  • プラグインエコシステム — 数百のプラグイン、イベント駆動アーキテクチャ、コンポーネント拡張、MCPプロトコル対応。
  • Web管理パネル — 直感的なブラウザインターフェースからボットの設定、管理、監視が可能。YAML編集は不要。
  • マルチパイプラインアーキテクチャ — 異なるシナリオに異なるボットを配置し、包括的な監視と例外処理を実現。

→ すべての機能について詳しく見る

📍 実践ガイド: 5分でマルチプラットフォームAIボットをデプロイDeepSeekをWeChat・Discord・Telegramに接続Dify AgentをDiscord・Telegram・Slackで動かすn8n連携チャットボットを構築


クイックスタート

☁️ LangBot Cloud(推奨)

LangBot Cloud — デプロイ不要、すぐに使えます。

ワンライン起動

uvx langbot

uv が必要です。http://localhost:5300 にアクセスして完了。

Docker Compose

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

ワンクリッククラウドデプロイ

Deploy on Zeabur Deploy on Railway

その他: Docker · 手動デプロイ · BTPanel · Kubernetes


対応プラットフォーム

プラットフォーム ステータス 備考
Discord 公式
Telegram 公式
Slack 公式
LINE 公式
QQ 個人・公式API(チャンネル・DM・グループ)
WeCom 企業WeChat、外部CS、AIボット
WeChat 個人・公式アカウント
Lark 公式
DingTalk 公式
KOOK 公式
Satori
Email Matrix、Satori
Matrix Signal、WhatsApp、Messenger、iMessage、Mattermost、Google Chat、IRC、XMPP、Zulip など複数のブリッジ先プラットフォームに対応

対応LLMと統合

プロバイダー タイプ ステータス
OpenAI LLM
Anthropic LLM
DeepSeek LLM
Google Gemini LLM
xAI LLM
Moonshot LLM
Zhipu AI LLM
Ollama ローカルLLM
LM Studio ローカルLLM
Dify LLMOps
MCP プロトコル
SiliconFlow ゲートウェイ
Aliyun Bailian ゲートウェイ
Volc Engine Ark ゲートウェイ
ModelScope ゲートウェイ
GiteeAI ゲートウェイ
CompShare GPUプラットフォーム
PPIO GPUプラットフォーム
ShengSuanYun GPUプラットフォーム
接口 AI ゲートウェイ
302.AI ゲートウェイ
Qiniu ゲートウェイ

→ すべての統合を表示


なぜ LangBot

ユースケース LangBot の活用方法
カスタマーサポート ナレッジベースを活用して質問に回答するAIエージェントをSlack/Discord/Telegramにデプロイ
社内ツール n8n/Difyのワークフローを WeCom/DingTalk に接続し、業務プロセスを自動化
コミュニティ管理 AI搭載のコンテンツフィルタリングとインタラクションでQQ/Discordグループをモデレーション
マルチプラットフォーム展開 1つのボットで全プラットフォームに対応。単一のダッシュボードから管理

ライブデモ

今すぐ試す: https://demo.langbot.dev/

  • メール: demo@langbot.app
  • パスワード: langbot123456

注意: 公開デモ環境です。機密情報を入力しないでください。

AI エージェントのために 🤖

LangBot は 設計段階からエージェントフレンドリー です。お使いのコーディングエージェント(Claude Code、Codex、Copilot、Cursor など)が、ファーストクラスのサポートで LangBot を操作・拡張・デプロイできます:

  • MCP サーバー —— LangBot は組み込みの Model Context Protocol エンドポイント /mcp を公開し、HTTP API とミラーリングされているため、エージェントがボット・パイプライン・プラグイン・モデルをプログラム的に管理できます。同じ API キーで認証(config.yaml でグローバルキーを設定、またはユーザーキーを使用)—— ログインフロー不要。Web パネルの API & MCP タブで設定します。
  • リポジトリ内 Skills —— skills/ ディレクトリは LangBot を扱うための唯一の信頼できる情報源です:プラグイン開発、コア開発、E2E テスト、デプロイ、LangBot / LangBot Space MCP サーバーの操作。エージェントをこのディレクトリに向ければ、構築方法を理解します。
  • AGENTS.md —— すべてのリポジトリに AGENTS.mdCLAUDE.md へのシンボリックリンク)があり、アーキテクチャ・規約、そして「API 変更時は MCP サーバーと skills を同期する」というルールを記述しています。
  • llms.txt —— LLM 向けの機械可読なプロジェクトコンテキストを公式サイトで公開しています。

クラウド / マーケット: LangBot Space も MCP サーバーを公開しており、エージェントが Personal Access Token で認証してプラグイン / MCP / Skill マーケットを検索・確認できます。


コミュニティ

Discord


Star 推移

Star History Chart


コントリビューター

LangBot をより良くするために貢献してくださったすべてのコントリビューターに感謝します: