
Supported channels
Creating a channel
- Open Agent Framework → Channels.
- Click Add Channel.
- Choose the platform.
- Select the Agent (and version or alias) the channel should route to. One agent per channel.
- Provide the platform credentials:
- Telegram — bot token from BotFather.
- Slack — signing secret and OAuth credentials from your Slack app config.
- Save. HasteKit shows you a Webhook URL.
Wiring the platform side
Telegram
Set the bot’s webhook to the HasteKit URL:Slack
In your Slack app dashboard:- Event Subscriptions → enable, paste the HasteKit URL as the Request URL.
- Subscribe to bot events (
message.channels,message.im, etc.). - OAuth & Permissions → grant
chat:write,im:history, and any scopes you want the bot to use. - Install to Workspace.
Per-user context
Each incoming message is augmented with the platform’s user identity (Telegram user ID, Slack user/team ID) in the agent’s request context. Use this to:- Scope Memories per user (so the agent remembers each person separately).
- Look up the user’s connector connection so the agent can act in their Gmail/Calendar/Jira on request.
- Substitute the user identity into the system prompt via
{{user_id}}.
Channels vs Connectors
It’s easy to confuse these — they’re opposite ends of the same conversation.
A typical “personal assistant” agent has one channel (Telegram, so the user can chat) and several connectors (Gmail and Calendar, so the agent can read their inbox and book meetings).