Skip to content

en plugin plugin intro

langbot-docs-sync[bot] edited this page Nov 28, 2026 · 8 revisions

LangBot Plugins

LangBot is composed of various internal components such as Large Language Model tools, commands, messaging platform adapters, LLM requesters, and more. To meet extensibility and flexibility requirements, we have implemented a production-grade plugin system.

Plugins are managed uniformly by the Plugin Runtime. Most plugins use a dedicated runtime; a release with a valid artifact-bound certificate may qualify for cross-tenant shared execution in LangBot Cloud. Review alone is not certification.

Plugin Structure

Plugins can provide the following components based on their specific functionality:

  • Event Handlers: Listen to events while a bot processes messages and modify the context or processing flow.
  • Commands: Triggered by user command messages starting with ! (or other configured prefixes).
  • Tools: Called by LLMs during execution of LangBot's built-in Local Agent.
  • Knowledge Engines: Manage document indexing and retrieval for knowledge bases.

More component types will be supported for plugin implementation in the future.

Installing Plugins

Currently supports uploading plugin packages, installing from the plugin marketplace, and installing from GitHub Releases. In LangBot's plugin management page, click the top-right corner to choose the installation method.

Click Upload Local, select .lbpkg files shared by others or downloaded from the Marketplace to install plugins. When installing via local upload or GitHub, if the plugin's declared LangBot version range is incompatible with your current version (or the declaration is invalid), a compatibility warning is shown and explicit confirmation is required before installation proceeds.

Or click the Plugin Marketplace tab, select a plugin, and click install. The marketplace only lists plugins that have at least one version compatible with your current LangBot version, and automatically installs the latest compatible version (preferring stable releases).

After installing plugins, you need to enable the plugin in the bot's Message policy tab.

Plugin Management

Plugin Configuration

Some plugins may require you to fill in specific configuration items (please refer to the plugin README instructions). Click on the plugin card to enter the plugin details page and obtain and input the required information as prompted.

Updating Plugins

Only plugins installed from the plugin marketplace can be updated. The plugin detail page shows the installed version next to its title; when the marketplace has a newer compatible version, an "Update to vX.Y.Z" button appears at the top right of the detail page. You can also update from the plugin menu in the installed list (incompatible releases do not trigger update prompts).

If an already installed plugin becomes incompatible after you upgrade LangBot, only a warning is displayed—the plugin will not be automatically disabled.

Plugin Marketplace

The plugin marketplace can be accessed from LangBot's internal Plugin Management page, or you can visit the standalone site LangBot Plugin Marketplace.

LangBot Documentation

Home

简体中文
指南
开发者
文章
API 参考
Other pages
English
Guides
Developers
Articles
API Reference
Other pages
日本語
ガイド
開発者
記事
API リファレンス
Other pages

Clone this wiki locally