* fix(provider): keep models resolvable during reloads and report quota errors clearly Cloud catalog syncs triggered by any directory change called load_models_from_db(), which emptied every tenant's runtime model cache before reloading Workspaces one by one. Messages arriving in that window could not resolve their configured model, and LocalAgent failed with "No authorized model for local-agent". - Stage the reload in a separate manager and swap it in atomically; adopt unchanged providers instead of retiring and rebuilding them. - Isolate per-Workspace load failures so one tenant cannot leave later Workspaces unloaded. - Lazily load a persisted model on a cache miss (another replica, failed startup load, keys invalidated by a racing write). - Classify New API quota errors (insufficient_user_quota, pre_consume_token_quota_failed, HTTP 402, quota wording) as quota_exceeded with a clear message in the Workspace language (English by default) instead of "Permission denied"/"API error". - Read upstream codes from the response body and exception chain, and append safe machine codes to otherwise generic API errors. - Report a missing API key explicitly instead of a raw OpenAIError. - Keep HTTP status and body in the leased LiteLLM HTTP handler, which previously turned every HTTP error into "Connection failed". Refs LANG-318 Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> * fix(local-agent): accept bare model UUIDs and explain missing models - parse_model_config accepts the bare model UUID shape the Host selector already accepts, instead of treating it as "no model". - Replace "No authorized model for local-agent" with an actionable message pointing at the pipeline's model selection. - Bump LocalAgent to 0.2.8. Refs LANG-318 Co-Authored-By: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: multica-agent <[email protected]>
LangBot Plugins
Official and example plugins, maintained in the plugins/ directory of LangBot.
Each plugin is an independent package with its own manifest.yaml, dependencies, and README. Install plugins from LangBot Space, or run lbp build inside a plugin directory.
Directory layout
See catalog.json for the generated source index and RELEASING.md for independent testing, packaging and Marketplace publication. Plugins are not included in Core release artifacts.
Runner/— agent runners and event processors.KnowledgeEngine/— knowledge engine integrations.misc/— commands, tools, event listeners, pages, and other plugins.
Runner
- ACPAgentRunner
- ClaudeCodeAgent
- CodexAgent
- CozeAgent
- DashScopeAgent
- DeerFlowAgent
- DifyAgent
- LangflowAgent
- LocalAgent
- MulticaAgent
- N8nAgent
- RunnerDemo
- TboxAgent
- WeKnoraAgent
KnowledgeEngine
misc
- AgenticRAG
- AIImagePlugin
- AutoTranslate
- DailyLimitPlugin
- EssentialCommands
- FAQManager
- GeneralParsers
- GitHubKit
- GoogleSearch
- GroupChatSummary
- HelloPlugin
- HumanTakeover
- KeywordAlert
- MCBotPlugin
- OASlackBridge
- PowerContext
- QWeather
- ScheNotify
- SysStatPlugin
- TavilySearch
- URLSummary
- WebSearch
- WordFSRS
Deployment: dedicated and shared placement
A plugin runs either dedicated (its own worker per installation) or shared (one BasePlugin and one object
per declared component serve every installation of an artifact digest in a single worker). Shared placement is
opted into per plugin with both manifest fields:
execution:
python: {path: main.py, attr: Plugin}
sharedRuntime: shared-runtime-v1
componentModel: stateless-v1
sharedRuntime without componentModel: stateless-v1 is not eligible. The normative contract is
langbot-plugin-sdk/docs/stateless-components.md:
component objects are process-wide singletons, initialize() runs once per worker and sees no tenant config,
configuration and credentials are resolved per invocation, tenant state in a process cache is keyed by the full
installation binding and released in on_installation_revoked(), components must be re-entrant, and blocking work
must stay off the shared event loop. Adding the manifest fields alone is not sufficient — source review and
concurrency tests must prove the implementation.
37 of the 40 plugins here declare shared placement. Runner/acp-agent-runner, Runner/claude-code-agent and
Runner/codex-agent stay dedicated: each launches a process-global daemon hub, symlinks worker-HOME credentials
into every run home and shares one workspace root, so serving two installations from one process needs the
Host/SDK broker and duplex-process API first (see Runner/acp-agent-runner/docs/SHARED_RUNTIME_BLOCKERS.md); shared
adaptation is deliberately not planned for them, and their dedicated manifests are the supported configuration.
Every plugin that declares shared placement ships a SHARED_RUNTIME.md stating what is per invocation, what is
binding-keyed and released on revocation, and its known limits, plus a test that drives two installation bindings
through one object graph. misc/* suites run in CI through ../.github/workflows/plugins-misc-tests.yml (one venv and one
interpreter per plugin, dependencies from that plugin's requirements.txt); Runner plugin suites run through the
isolated-interpreter harness in Runner/tests/test_migrated_runners.py. Declaration is not certification:
SHARED_SOURCE_LEDGER.md records the committed source tree of each candidate and no
plugin is claimed certified or live-accepted there.
Development
Use a plugin directory as the working directory when building or running it; the repository root is not a plugin. Runner development and tests are documented in Runner/README.md.
The complete official plugin catalog now lives in LangBot. See MIGRATION.md for provenance and release boundaries. The previous demo repository was renamed in place. External runner, LocalAgent, and LangRAG source histories were imported with Git subtree; existing plugin IDs and authors are unchanged.