Skip to main content
Give each Slack channel its own Tex session_id. Save normal messages with remember. When someone mentions the bot, use recall to answer from that channel’s memory. This uses the same isolation pattern as Scopes and multi-tenancy.
1

Install Bolt + Tex

2

Export tokens

Load the bot and app tokens. This example uses socket mode:
3

Wire Slack events

Ignore bot messages, remember human text, and answer mentions with recall:
bot.py
4

Run the bot

Type in a channel, then ask @YourBot what did we decide? to verify recall.

Slack tweaks