Skip to content

Built-in Plugins

OpenBot comes with several built-in plugins that provide essential functionality for agents.

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:widget events 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.

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.

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.

To use a plugin in your custom agent, list it in the plugins section of your AGENT.md file:

---
name: My Agent
plugins:
- id: storage
- id: ui
---