mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-29 18:17:21 +08:00
* feat(space-share): share prompts, skills, remote MCPs and local plugins to LangBot Space (LANG-439)
- Prompt library dialog on Pipeline (messaging) and Agent (agent) prompt
fields: search, preview, replace/append, favorites tied to the bound
LangBot Account; share the current prompt for review
- Share to Space for Skills (file list + credential scan) and remote MCP
servers (credentials become ${VAR} placeholders before anything leaves
Core; stdio stays private)
- Community MCP installs with required inputs are created disabled and the
detail page lists the placeholders to fill (unfilled_inputs)
- Locally / GitHub-installed plugins share their exact installed .lbpkg via
the existing space-upload flow
- docs (zh/en/ja) and dev-docs contract note
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(web): use a star for prompt favorites (LANG-439)
The heart is the anonymous extension like; favorites need a LangBot Account.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* fix(i18n): call messaging prompts "Messaging" in English (LANG-439)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): marketplace type tiles matching Space, shadcn prompt list (LANG-439)
- the in-app marketplace shows All / Plugins / MCP / Skills as tiles with a
description and count, plugin components and Runner usage as ToggleGroup
chips; the Filters popover is gone (same layout as space.langbot.app)
- prompt library rows use the shadcn Item component
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* style(market): soften extension type tiles; type-tinted selected state
Drop the dark outline/ring on the selected tile. Idle tiles use a muted
fill; the selected tile gets a soft type-tinted fill with an inset ring
and a solid icon badge.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* style(market): use a fixed blue for the selected All tile
The theme primary is near-black in Core, which brought back the dark
selected border on the All tile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): switch market type on press and keep results while loading
Type tiles switch on mouse press (keyboard/touch still use click).
Filter changes keep the current cards dimmed until the new page arrives,
and stale responses are ignored.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): apply library prompts in the WebUI language; one-language share note
- Prompt library applies the version matching the WebUI language (exact
-> same family -> en_US -> original), with a language switcher.
- Share dialogs say one language is enough; other languages are
translated automatically after upload.
- extractI18nObject falls back across Chinese scripts and to any
available language instead of rendering an empty label.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): one-click LangBot Account binding from share and library
- Share dialogs: the 'bind a LangBot Account' state now has a button that
starts the bind flow and returns to the same page; the creator-profile
state gets a button too, with clearer copy.
- Prompt library: when no account is bound, the preview shows a
'bind to favorite' button instead of only a disabled tab tooltip.
- Shared useSpaceBind hook.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(web): friendly empty state for templates; contributors no longer tag
- Empty template list: short, playful 'on their way, be the first to
share' state (Space /templates, Core prompt library).
- Share dialogs drop the tags field; Space assigns tags during review.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
* feat(space-share): update an existing item; clearer identifier field
- Share dialogs list the bound account's published items of the same type
(prompts: same kind) and offer 'Update existing': pick an identifier,
metadata is prefilled, a changelog is asked for and the submission
becomes the next version. Sharing something with the same identifier
preselects update mode.
- The identifier field now looks like a normal input with the fixed
'@creator/' prefix and a format hint.
- GET /api/v1/space-share/items proxies the Space owner item list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: multica-agent <github@multica.ai>
---
title: "Pipelines"
description: "LangBot pipelines connect AI orchestration platforms (Dify, Coze, n8n, Langflow) to your messaging bots. Learn how they work."
---
The pipeline controls the processing flow after receiving a message, as well as the information exchange with the large language model. Each bot can be bound to one pipeline, and the same pipeline can be bound to multiple bots.
LangBot automatically creates a default pipeline when first started. When creating a bot, it is automatically bound to the default pipeline. When creating the first model, it is automatically set as the model for the default pipeline.

You can create multiple pipelines for different bots to adapt to different scenarios.
The current pipeline can be configured with the following features:
## AI Capabilities
You can choose to use: `Built-in Agent`, [`Dify`](https://dify.ai/), [`n8n`](https://n8n.io/)
AI capabilities are mainly divided into two parts: selecting the runner and configuring runner parameters.
The runner defines how to schedule the large model to process messages. The default is `Built-in Agent`, which is a multi-round Agent strategy implemented by LangBot. Only when this runner is selected will the models and tools configured internally in LangBot be used.
{/*  */}
<img width="400px" src="/images/zh/deploy/pipelines/edit_pipeline_ai.png" alt="edit_pipeline" />
You can also choose to use external Agent platforms such as `Dify`, [`n8n`](https://n8n.io/). In this case, the models, prompts, tools, and other resources used will be provided by the Agent platform.
<img width="400px" src="/images/zh/deploy/pipelines/more_runner.png" alt="more_runner" />
- For detailed steps on connecting to Dify, you can [refer to the tutorial](/en/usage/pipelines/dify.html).
- For detailed steps on connecting to n8n, you can [refer to the tutorial](/en/usage/pipelines/n8n.html).
### Conversation Variables
When using external Agent platforms, LangBot explicitly passes the following parameters, which you can add to the start node of the Agent platform workflow (the image below is an example of Dify):
- `launcher_type`: Launcher object type, `person` for private chat, `group` for group chat
- `launcher_id`: Launcher object ID, user ID for private chat, group ID for group chat
- `sender_id`: Sender ID
- `user_message_text`: The plain text of the user message
- `session_id`: User session ID, `person_<id>` for private chat, `group_<id>` for group chat
- `conversation_id`: String, user session ID, generated by LangBot. It will be regenerated after the user resets the session
- `msg_create_time`: Numeric type, timestamp (seconds) when this message was received
- `group_name`: Group name, only set when receiving group messages
- `sender_name`: Sender name
You can [customize any variable through plugins](/en/plugin/dev/apis/common.html#set-request-variables).

### Prompt library
With the built-in Agent, the **Prompt** field has two buttons:
- **Prompt library** opens a dialog to search reviewed prompts shared on LangBot Space. Pipelines show Messaging prompts by default and Agents show Agent prompts; you can switch to the other kind. Choose **Replace current prompt** or **Append to current prompt**, then save.
- **Share** submits the current prompt to LangBot Space. Prompts containing credentials such as API keys or tokens are refused; emails, phone numbers and internal URLs need your confirmation. A prompt becomes public once it passes review.
With a LangBot Account bound to the instance you can favorite prompts. Favorites belong to the account, so they also appear on the LangBot Space website when you sign in with it.
## Other Configurations
If a pipeline's Runner plugin is still starting, LangBot waits up to 30 seconds for that installed, enabled plugin before reporting it unavailable. This does not install plugins or confirm permissions automatically. If the Runner is missing, open **Plugins** in the same Workspace to check installation, enablement and permission confirmation. For failed downloads, dependencies or initialization, inspect the installation task and Plugin Runtime logs, resolve the cause and retry. If the plugin is running but the selected Runner is absent, check the plugin version and select an available Runner in the pipeline's AI settings. The monitoring error includes the failure details.
Please refer to the descriptions in the configuration form.
## Deleting a Pipeline
A pipeline that a bot's event binding still points to cannot be deleted; the error lists the bots that use it. Point those bindings at another pipeline or Agent first, then delete it. The same applies to Agents.