Blog

How to secure an AI agent in Slack

Slack is the easiest place to deploy an agent and the easiest place to lose control of one. Seven controls that keep an agent in a shared channel safe.

Security3 min read
The short answer

To secure an AI agent in Slack: show approval buttons only to the person who asked; give each speaker in a thread their own context without private memory or personal tools; check org rules on every tool call; grant connectors bot by bot; block private network addresses; keep secrets write-only; and make the Slack link a revocable session.

The seven controls

  1. Private approvals. In a channel, only the person who asked should see Allow and Deny.
  2. Per-speaker chats. Each person in a thread gets their own chat, so one person cannot ride another's access.
  3. Rules at the tool call. Deny, ask and allow, checked before every call.
  4. Per-bot grants. A bot uses a connector only after a person grants it.
  5. A network guard. https only, public addresses only, every redirect checked.
  6. Write-only secrets. Encrypted at rest and never shown back, in Slack or anywhere.
  7. Revocable links. The Slack connection is a session you can revoke.

How Bello Bot implements them

How to add human approval to an AI agent in Slack

These steps use Bello Bot, but the order works for any agent platform: decide what the bot may reach, then decide what must wait for a person.

  1. Install the Slack app with OAuth and pick a primary bot for DMs.
  2. Give each bot one role and grant only the connectors that role needs.
  3. Add deny rules for destructive tools, such as anything that deletes.
  4. Add ask rules for anything that writes or sends outside the thread.
  5. Test the rules against past calls, then save them.
  6. Tell the channel that only the person who asks sees the approval buttons.

What a good approval card shows

Mistakes that undo the controls

Which Slack page do you need?

From the blog

Questions

Is it safe to add an AI agent to a Slack channel?

It can be, if approvals are private to the asker, each speaker gets their own context, and tool calls are checked against org rules.

Can someone in a channel approve an action for me?

Not in Bello Bot. Approval cards in channels are shown only to the person who asked.

How do I add approvals to an AI agent in Slack?

Add ask rules for the tools that write or send. In Bello Bot, a matching call pauses the reply and shows Allow and Deny to the person who asked, and the reply picks up again after they decide.

Keep reading

Try Bello Bot with your team

Public beta. Bring your own model keys, invite your team, and approve what your bots do.