Channels: how they work
One bot per agent per channel, linking your chat account to your portal account, and what a channel can and cannot do.
A channel lets people talk to an agent where they already work: Slack, Discord, Microsoft Teams, or your own system through the Chat API. A conversation in a channel is the same kind of chat as in the portal. The agent uses the same know-how, tools and limits, and you can open the conversation in the portal at any time. Channels are also where the portal posts review results.
Before you start
- You need the Admin role to set up a channel. Anyone else sees the setup pages with the note changing messaging channels needs an organisation admin.
- The agent needs a model that can use tools. See Choose a model.
- For Slack, someone who can make Slack apps in your workspace. For Discord, someone who can add bots to your server. For Teams, someone who can upload apps in your Microsoft 365 tenant.
Pick a channel
Each agent has its own bot in each kind of channel. Two agents in Slack are two Slack apps, each with its own name. You can put one agent in several kinds at once.
| Channel | How people reach the agent | Where you set it up |
|---|---|---|
| Slack | @mention it in a channel, reply in its thread, or send it a direct message. | Settings › Channels › Slack |
| Discord | Mention the bot or its role, reply to it, write in its thread, or send it a direct message. | Settings › Channels › Discord |
| Microsoft Teams | @mention it in a channel, reply in its thread, or message it in a 1:1 chat. | Settings › Channels › Teams |
| Chat API | Your own system posts messages and reads replies. | The agent's Connections › Channels, under API |
Settings › Channels lists each kind with a short state, such as Not connected, the Slack workspace and how many agents are in it, or No keys yet: each agent makes its own on Connections › Channels for the API. Click a row to open its setup page. Each setup page has four numbered steps, marked done, current or not yet.
On an agent's Connections tab, the Channels section shows that agent's bot in each kind, with its state and the buttons to add, retry or turn it off. See The agent page.
Link your account the first time
The agent answers only people it knows. The first time you message it, you link your channel account to your Entropix account. You do this once per Slack workspace, once for Discord and once per Teams tenant.
- Mention the agent or message it directly.
- It replies with a link instead of an answer: To talk to <agent> here, link your <Slack, Discord or Teams> account to Entropix — a one-time step: <link>. Only you see it: Slack shows it to you alone, Discord sends it by direct message, and Teams sends it in a 1:1 chat. If Discord or Teams cannot message you directly, the bot mentions you instead.
- Open the link and sign in to the portal if asked. The page asks Link <kind> · <workspace> · user id <id> to your Entropix account <name>?
- Click Link. The page says Linked. Go back to <kind> and send your message again.
- Send your message again. This time the agent answers.
A link works once and lasts 15 minutes. Each setup page shows how many people have linked, such as 3 people have linked Slack.
Unlink your account
- Open Account and find the Channels section. It lists each linked account with its workspace, user id and date.
- Click Unlink, tick I understand this can't be undone., and click Unlink again.
The page says Channel identity unlinked. Your next message in that channel gets a new link.
How it works
The agent acts as you
A message in a channel runs as the Entropix account it is linked to, with that person's role. A Viewer's message is refused with asking an agent a question needs a member or an admin. Every answer is a chat in the portal too, marked with where it came from, such as from Slack · #ops or · direct message.
Threads
- A mention in a channel starts a thread. The agent answers in it.
- In a thread the agent is in, you can reply without mentioning it. A reply that names someone else (a person, a group, @here) is left for the people.
- A message in a thread the agent is not in is ignored unless it mentions the agent. A reply that mentions the agent is answered wherever it is, even on someone else's post such as an alert. When the channel sends the message you replied to (Discord does), the agent reads it as context.
- Each thread is one conversation, so the agent remembers what was said earlier in it.
What the answer looks like
While the agent works, the thread shows <agent> is working on it…. That message becomes the answer. The answer ends with a line naming the agent, its model, how full its context is, and Open in Entropix, which opens the conversation in the portal. Charts post as PNG images in Slack and Discord.
A Kubernetes agent with more than one cluster first asks Which cluster? Reply with one of: …. Reply with a cluster name.
Goals in a channel
Start a message with goal: to start a goal instead of a plain answer, for example goal: find why the nightly job failed. One progress message in the thread shows the goal's state, what it is doing now, its plan and its budget, and updates as it works. A question from the goal, or a request to approve an action, comes as a new message so the thread is notified. Reply in the thread to answer a question. An action request links to the goal's card in the portal, and that is the only place to approve it.
Approvals in a thread
- In a plain answer, when the agent wants a tool that asks first, it asks in the thread: "Reply yes to run it or no to skip." A Member or Admin replies
yesorno, as in a portal chat. One call waits per thread, and a request nobody answers expires after 24 hours. - In a goal, an action is approved only on the goal's card in the portal. Typing yes in the thread does not approve it. See Approve actions.
- When the agent proposes a change to its memory, its answer ends with a line asking for
approveorreject. An admin can reply with exactly one of those words in the thread, or open the request in the portal.
Files you send
In Slack and Discord, you can attach files to a message for the agent. It reads up to 5 files per message, each at most 10 MB. It reads PDFs, PNG, JPEG, GIF and WebP images, and text files (CSV, Markdown, JSON and plain text). A file it cannot read is noted in the question instead.
Review results
Each channel kind has one Review channel, set in step 3 of its setup page. When a review finishes, the reviewing agent posts a card there: the repository and merge request, its counts, the PRD's criteria met, and the buttons Decide in Entropix and Open in GitHub or Open in GitLab. Once a person has decided the review, the card shows the decision and Open in Entropix. The card ends with Reply in this thread to ask <agent> about this change. Until a review channel is set, the page says None set yet — a review posts nowhere until one is. See How code review works.
Keeping a channel in memory
An admin can keep a Slack, Discord or Teams channel: the agent then stores its messages and can search them later. See Connected memories and kept channels.
Limits
- One person can send an agent 6 messages a minute in a channel. Past that the agent replies You're sending messages faster than I can answer — try again in a minute.
- A post the portal could not deliver after 8 tries shows under Stuck posts on that channel's setup page.
- Anything an agent posts in a channel is visible to everyone in it.
Approved for compliance detail
The Compliance agent posts its findings, resource names and critical paths only where that is safe. Everywhere else it posts one line of counts. An admin with manage_compliance can approve one of its channels on the agent's Connections › Channels with the Approved for compliance detail switch:
- In an approved channel, everyone in it gets full detail and the report files.
- In a one-to-one DM, a sender linked to a portal account that can see compliance results gets full detail. A group chat in Teams or Discord is never a DM.
- In any other channel, thread or group chat, the agent posts the one line, with no names and no files.
- For a Slack Connect channel the switch warns that people outside your organisation are in it. Discord and Teams shared channels are not detected.
- Revoking the approval stops new posts. Files already posted stay in the workspace, even after the portal's 90 days.
What you can and can't do
- Put one agent in Slack, Discord, Teams and the Chat API at once.
- Reply in a thread without mentioning the agent again.
- Start a goal with
goal:and answer its questions in the thread. - Answer a plain answer's yes or no request in the thread.
- Open any channel conversation in the portal.
- Unlink your channel account from Account.
- Talk to an agent in a channel before you link your account.
- Share one bot between two agents.
- Set up a channel without the Admin role.
- Use a link after 15 minutes, or twice.
- Approve a goal's action from the thread; that is done on the portal.
Troubleshooting
| Message | What it means and what to do |
|---|---|
| This link has expired or was already used — send the agent another message for a new one. | The link is older than 15 minutes or was used. Message the agent again. |
| that <kind> account is already linked to someone in this organisation | Someone else linked that channel account. They unlink it on their Account page first. |
| that <kind> account, or another of yours in this <workspace, server or tenant>, is already linked | You already linked an account there. Unlink the old one first. |
| … guests from another workspace cannot be linked | You are a guest from another Slack workspace. Ask from your own workspace. |
| asking an agent a question needs a member or an admin | Your Entropix role is Viewer. Ask an admin for the Member role. |