Example requests
Ask your coding agent which agent to put in Slack and how it should respond. It can connect the channel and listen mode.“Put our support agent in the #support channel and have it reply only when mentioned.”
“Connect the data analyst agent to #data so the team can ask questions there.”
Connect agents to Slack
The simplest way to connect an agent to Slack is from the web app. Each agent’s detail page has an External Channels panel where you connect Slack once and bind the channels the agent should answer in.Open the agent
In the web app, go to Agents and select your agent. The External Channels panel is on the right.
Connect Slack
Next to Slack, click Connect and approve the OAuth prompt. This connects your Slack workspace to the organization once; you don’t need to reconnect it for this agent or any other agent later.
Bind a channel
Click the connected Slack workspace, then Add channel. Pick a channel and choose how the agent should respond:
Leave Threads on to let the agent follow up in the same thread.
| Listen mode | What it does |
|---|---|
| Mentions only | Responds only when the agent is @mentioned |
| All messages | Responds to every message in the channel |
| Direct messages | Responds to direct messages with the agent |
Channel access and credentials
Channel membership is how you control access to an agent. Once an agent is bound to a Slack channel, anyone in that channel can message it, and the agent runs with its assigned tools, actions, and credentials regardless of who sent the message. The agent acts on behalf of the channel, not the individual user: a teammate messaging the agent uses the agent’s credentials, not their own. Only bind agents to channels whose members you trust with everything the agent can do.Manage Slack from the CLI
You can connect Slack and manage channel bindings entirely from the CLI instead of the web app.keystroke.config.ts.
If you instead run a local server with keystroke dev, Slack must be able to reach it, so expose a public tunnel via PUBLIC_PLATFORM_PROXY_URL instead of localhost:
Other external channels
Additional external channels listed below will be added over the coming weeks. You can request specific channels by contacting us at team@keystroke.ai and we will add them promptly.- Microsoft Teams
- Telegram
- Linear
- Discord
- Google Chat
Next steps
Run agents
Prompt the same agent directly while testing channel behavior.
Agent runs
Inspect Slack-started agent sessions in History.
Credentials
Connect OAuth credentials used by tools and integrations.
Build agents
Tune the agent prompt and tools for channel use.