Built-in Plugins
OpenBot comes with several built-in plugins that provide essential functionality for agents.
Core Plugins
Section titled “Core Plugins”storage
Section titled “storage”The storage plugin provides agents with access to local files, conversation history (channels and threads), and long-term memories.
- Usage: Automatically loaded by many agents to maintain context.
- Capabilities: CRUD operations on threads, reading/writing files in the workspace.
The UI plugin handles the rendering of interactive widgets in the OpenBot client.
- Widgets: Messages, choices, forms, and status lists.
- Events: Listens for
client:ui:widgetevents to display content to the user.
The Model Context Protocol (MCP) plugin allows OpenBot to connect to external MCP servers, expanding the tools available to agents.
- Configuration: MCP servers are defined in
~/.openbot/config.json. - Integration: Seamlessly maps MCP tools to agent capabilities.
ai-sdk
Section titled “ai-sdk”The AI SDK plugin provides a runtime for agents powered by the Vercel AI SDK.
- Models: Supports various providers (OpenAI, Anthropic, etc.) as configured in the agent’s
AGENT.md. - Streaming: Handles the streaming of agent responses back to the event bus.
delegation
Section titled “delegation”The delegation plugin allows agents to hand off tasks to other agents.
- Workflow: Enables complex multi-agent orchestrations where specialized agents collaborate on a single task.
Using Plugins in Agents
Section titled “Using Plugins in Agents”To use a plugin in your custom agent, list it in the plugins section of your AGENT.md file:
---name: My Agentplugins: - id: storage - id: ui---