Skip to content
Changelog

Breaking change: Upgrade Slack Bolt and name your Slack approvers

November 12, 20261 min read

Once you upgrade, Agno's Slack interface refuses an Approve click from anyone who didn't start the run, unless you list them in approvers=. The interface now runs on Slack's Bolt SDK and checks who made each decision, so add everyone who signs off on other people's runs.

Upgrade the Slack extra

The slack extra now requires slack_bolt>=1.29.0,<2 and slack_sdk>=3.43.0,<4.

pip install -U "agno[slack]"

Code that imported the interface's internal helpers, such as SlackEventHandler, HITLHandler or verify_slack_signature, has to move to Slack(...).

List the people who approve

Earlier releases accepted Approve and Deny from anyone in the thread. Now the person who started the run decides, along with any member that users= maps to the same AgentOS principal. Add everyone else who approves by Slack member ID.

Slack(
    agent=billing_agent,
    approvers=["U0456DEF", "U0789GHI"],  # may approve, deny or stop any run
)

Map users when Super Agent runs under authorization

AgentOS now refuses to start when Slack(team=agent_os.manager) serves Super Agent under AgentOS(authorization=...) or an authorization middleware and has no users=. We built that setup on both releases with placeholder Slack credentials.

# Before
app built
# Now
ValueError: Slack serving Super Agent under authorization requires Slack identity mapping: pass Slack(users={slack_user_id: principal_id}).

Pass users= with a principal for each Slack member, and the same AgentOS builds its app.

See the cookbook, and learn more about Slack human-in-the-loop in the documentation.

Frequently asked questions

The Slack interface checks who clicked. The person who started the run can decide, and so can a member in approvers= or a member that users= maps to the same AgentOS principal. Everyone else gets the private notice Only the person who started this run or an approver can decide. and the interface submits nothing.

Imports of SlackEventHandler, HITLHandler and verify_slack_signature now fail. On this release agno.os.interfaces.slack.event_handler raises ModuleNotFoundError, and agno.os.interfaces.slack.security raises AttributeError: module 'agno.os.interfaces.slack.security' has no attribute 'verify_slack_signature'. Bolt now verifies request signatures, and Slack(...) is the supported entry point.

No. The startup check applies only when AgentOS(authorization=...) or an authorization middleware is in place. In a sandbox without either, Slack(team=agent_os.manager) starts, and every member of the workspace can drive Super Agent.

Shipped around the same time