Slack
Install the Slack app for an agent and talk to it in channels and threads.
Put your agents in Slack so people can ask them questions in channels, threads and direct messages, and so review results post to a Slack channel. You paste two Slack tokens once. Entropix then makes one Slack app per agent in your workspace, named after the agent, and keeps it up to date.
Before you start
- You need the Admin role in Entropix.
- You need a Slack workspace admin to make the tokens in step 1.
- Read Channels: how they work for linking accounts, threads, goals and approvals. They work the same in every channel.
The page works through four steps until an agent is installed in Slack. The current step is open; done steps show a done badge. After that the page manages your bots instead (below).
Connect the workspace
- Open Slack's apps page. Under Your App Configuration Tokens, choose Generate Token and pick your workspace.
- Copy the configuration token (it starts with
xoxe.xoxp-) and the refresh token (it starts withxoxe-). - In step 1, Connect the workspace, paste them into Configuration token and Refresh token.
- Click Connect.
Step 1 then shows the workspace's name and Connected by <name> with the date. A configuration token lasts 12 hours. Entropix swaps it for a fresh one with the refresh token, so you paste them only once. Both are stored encrypted. To cut Entropix off, revoke them on Slack's apps page.
An organisation connects one Slack workspace.
Put agents in Slack
Step 2, Put agents in Slack, lists every agent with its state in Slack and in the review channel.
- Click Add to Slack beside an agent. Entropix makes its Slack app. The row shows Creating….
- When the row shows Install, click it. Slack's install page opens in your browser.
- Approve the install in Slack. Slack sends you back to the page you started from.
- The row shows Installed.
Repeat for each agent you want in Slack. You can also do this from the agent's Connections tab (Add to Slack, then Install to Slack) or from the Channel step of a new agent's setup; Slack then sends you back there.
| Row shows | What it means |
|---|---|
| Add to Slack | The agent has no Slack app yet. |
| Creating… | Entropix is making the app. |
| Install | The app exists; someone needs to install it in Slack. |
| Installed | The agent is in Slack. |
| Installed — Reinstall to allow joining channels | The app was installed before it could join channels. Reinstall it so it can join the review channel. |
| Failed: <reason> | Making or updating the app failed. Fix the reason, then click Retry. |
Turn Slack off on a row removes that agent's app from Slack.
What the app asks Slack for
Slack's install page lists what the app may do. Each agent's app asks for the same set:
| Permission | Why |
|---|---|
app_mentions:read, channels:history, groups:history | Hear @mentions and replies in threads it is in, in public and private channels. |
im:history, im:read, im:write | Answer direct messages. |
chat:write, assistant:write | Post answers and show that it is working. |
channels:read, channels:join, groups:read | List channels for the review channel picker and join the review channel. |
users:read | Know who is asking. |
files:read, files:write | Read files you attach and post charts and files it makes. |
Add more agents later
Once an agent is installed in Slack, the page stops showing the four steps. It shows, in order:
- Add a bot at the top, when some agent has no Slack bot yet. It jumps to the list of those agents.
- Bots: one row per agent that has a bot, with its state, its review channel and its actions.
- The agents without a bot, each with Add to Slack. When there are none it says Every agent has a bot.
- Review channel, with Change to pick another.
- Try it, folded.
You can also add a bot from the agent's Connections tab: click Add to Slack on its Slack row, and the page comes back to that tab.
Set the review channel
Step 3, Review channel, is where finished reviews post. Until you set one, it says None set yet — a review posts nowhere until one is.
- Click Change channel.
- Type part of a name in Search channels and click Search.
- Pick the channel and click Save.
Saving joins each agent in Slack to that channel. A private channel cannot be joined this way: invite each reviewing agent there with /invite @<agent>. The Review channel column in step 2 shows each agent's place:
- in #<channel>: the agent is there.
- not in #<channel> — Add it: click Add it to join it.
- not in #<channel> — /invite @<bot>: run that command in the channel.
If Slack cannot list the channels, open Advanced and type the Channel id (such as C0123ABCD) and Channel name, then click Save.
Try it
- In step 4, Try it, click Message <agent> in Slack. Slack opens the agent's app, where you can message it directly.
- Send a question. The first time, the agent replies with a one-time link that only you see. Open it and click Link. See Channels: how they work.
- Send your question again. The agent answers.
To use the agent in a channel, invite it (/invite @<agent>) and @mention it. It answers in a thread under your message. Start a message with goal: to start a goal instead. Step 4 shows how many people have linked Slack.
Reconnect the workspace
If the refresh token stops working, step 1 shows the error with Reconnect.
- Make a fresh token pair on Slack's apps page, under Your App Configuration Tokens.
- Paste both into the reconnect form and click Reconnect.
This keeps the same workspace's apps and review channel. Tokens for a different workspace are refused while agents are still in the old one.
Turn Slack off
- Under Danger zone, click Turn Slack off for every agent and disconnect.
- The page shows Disconnecting — removing the agents' Slack apps. with each agent's progress.
Entropix deletes each agent's Slack app, then forgets the workspace and its review channel. If Slack cannot be reached or an app fails to delete, Remove anyway makes Entropix forget them now. The page names any apps that may still exist; delete those on Slack's apps page.
How it works
- Slack sends each message to the portal. Each agent's app has its own events address,
/hooks/slack/events/<code>, which Entropix writes into the app's settings for you. The install flow returns through/hooks/slack/oauth. Both must be reachable from the internet; see Webhooks and public endpoints. - Every event must carry a valid Slack signature for that app, with a timestamp within 300 seconds of now. Anything else is refused and nothing is stored.
- An install link lasts 15 minutes.
- The agent answers @mentions, direct messages and replies in threads it is in. See Channels: how they work for threads and limits.
- You can attach up to 5 files to a message, each at most 10 MB. See Files you send.
- Charts the agent makes post as PNG images.
- A review card shows the repository and merge request, its counts, checks, any PRD criteria met (such as PRD-12 · 3 of 4 met) and the buttons Decide in Entropix and Open in GitHub or Open in GitLab. Once someone has decided the review, the card shows the decision and one button, Open in Entropix. Reply in its thread to ask the agent about the change.
- When the agent wants to run an Asks first tool in a chat thread, it asks there: reply yes or no. A goal's action is decided on the portal only. An admin answers a memory change in the thread with "approve" or "reject", or several with "approve all" or numbers ("approve 1,3"). See Approvals in a thread and Approve actions.
- Anything an agent posts in a channel is visible to everyone in it.
What you can and can't do
- Put any agent in Slack, each as its own app.
- Use agents in public channels, private channels they are invited to, and direct messages.
- Pick one review channel for the organisation.
- Reconnect the same workspace without losing its apps.
- Connect more than one Slack workspace to an organisation.
- Have one Slack app answer for two agents.
- Join an agent to a private channel from the portal; invite it in Slack.
Troubleshooting
| Message | What it means and what to do |
|---|---|
| Slack install was cancelled. Try again. | Someone declined the install in Slack. Click Install again. |
| The Slack install link expired. Try again. | The install took longer than 15 minutes, or the link was used. Click Install again. |
| paste both the configuration token and its refresh token | One of the two fields was empty. |
| Slack refused this refresh token — create a new configuration token | Make a new token pair in Slack and paste both. |
| these tokens are for a different Slack workspace — turn Slack off for every agent first, then create a new configuration token | Turn Slack off first, then connect the new workspace. |
| Slack is being disconnected — wait for it to finish, or remove it anyway on Settings › Channels › Slack | A disconnect is in progress. Wait, or use Remove anyway. |
| Keys can't be saved on this portal yet. The Entropix team needs to set a secret key. | The portal cannot store secrets yet. Contact whoever runs your portal. |
| Entries under Stuck posts | Posts Slack would not accept after several tries, with Slack's reason. Check that the agent is still installed and in the channel. |