Extending
Use this page as a routing guide for extension work. Keep detailed implementation steps in the focused docs so the same instructions do not drift.
Add an External Tool
Use External Tools for Tavily-style, Google Search-style, or other agent-configured integrations that call outside services from the model loop.
Add a Channel
Use Channels for Telegram, GitHub, Slack, Discord, or any new communication channel that receives provider webhooks and sends provider replies.
Add a Command
- Add a new entry to the
commandsarray infunctions/_shared/commands.ts. - Include aliases, description, and an execute function.
- Use the channel-agnostic
ChannelActionsinterface from shared code.
Commands should not import channel-specific modules.