Skills

Langbot Eba Adapter Dev

Build, refactor, and test LangBot platform adapters for the Event-Based Agents...

Install

npx skills add langbot-app/LangBot --skill langbot-eba-adapter-dev -g -a claude-code -y
Repository
langbot-app/LangBot18.7k
Category
Testing
Updated
3d ago
License
Apache-2.0
Context cost
Mediumabout 3,000 tokens
Runs scripts
No, instructions only

What it does

Build, refactor, and test LangBot platform adapters for the Event-Based Agents architecture. Use when adding or migrating Telegram, Discord, or other messaging platform adapters to the EBA adapter layout, validating unified event/message conversion, writing live adapter probes, or using standalone plugin runtime plus Computer Use for end-to-end platform testing.

LangBot EBA Adapter Development

Use this skill when implementing or reviewing a LangBot platform adapter under the Event-Based Agents architecture.

Controlling a running instance via MCP

Beyond writing code, you can drive a live LangBot instance over MCP, no raw HTTP needed. Two MCP servers exist (both reuse existing API keys; see AGENTS.md):

  • LangBot instance, http://<host>:5300/mcp (auth: web-UI lbk_ key or the api.global_api_key from config.yaml). Manage bots, pipelines, models, knowledge bases, and skills. See the langbot-mcp-ops skill.
  • LangBot Space marketplace, https://space.langbot.app/mcp (auth: Personal Access Token). Search plugins / MCP servers / skills. See the langbot-space-ops skill.

Any change to an agent-accessible HTTP API endpoint must keep the matching MCP tool and these skills in sync.

Core Rule

Do not let platform-native event or message shapes leak into LangBot's common path. Each adapter must convert incoming SDK objects into unified EBA entities before dispatch:

  • Events: langbot_plugin.api.entities.builtin.platform.events
  • Message chains: langbot_plugin.api.entities.builtin.platform.message.MessageChain
  • Users/groups/members: langbot_plugin.api.entities.builtin.platform.entities
  • Raw platform objects may remain only in source_platform_object for debugging or platform-specific escape hatches.

Start Here

Read the whole SKILL.md on GitHub

More in Testing