Skip to content
Changelog

Run agents and Super Agent from Slack's agent view

November 12, 20262 min read

You can now put any Agno agent in Slack's agent view and talk to it like a teammate. The Slack interface in AgentOS runs on Slack's Bolt SDK, and one Slack(...) argument serves an Agent, a Team, a Workflow, a ClaudeAgent or CodexAgent, or Super Agent itself.

Agent view and streamed replies

The manifest that ships with the interface turns on the agent view. New threads offer suggested prompts on the Messages tab, and the first direct message gives the thread its title. While the run works, the reply streams in with a task card for each tool call and a status line underneath. Slack closes a stream after ten minutes, so a long run or a long answer carries on in a new message.

Stop works too. Pressing it cancels the run, whether an Agent, Team or Workflow, an external agent, or a remote entity served from another AgentOS.

Claude Code and Codex behind Slack

ClaudeAgent and CodexAgent run behind the interface like any other agent. When Claude Code or Codex asks for permission, the request shows up as an approval card in the thread, and the click goes back to the waiting process. Sandboxed agents on the durable queue get the same cards.

Super Agent and CompanyOS results

Slack(team=agent_os.manager) puts Super Agent in Slack. When it starts a CompanyOS Task, the Task's result lands once in the thread that asked for it. After a restart, the interface still delivers results that finished in the previous 24 hours.

Slack members as AgentOS users

users= maps Slack member IDs to AgentOS principals, so each message runs with that principal's roles under AgentOS(authorization=...). Roles are read fresh on every message, so a revoked grant applies straight away. approvers= names the members who may approve, deny or stop anyone's run.

from agno.os import AgentOS
from agno.os.interfaces.slack import Slack
 
agent_os = AgentOS(
    agents=[billing_agent],
    authorization=authz,
    interfaces=[
        Slack(
            agent=billing_agent,
            users={"U0123ABC": "billing-operator-1"},  # Slack member ID -> AgentOS principal
            approvers=["U0456DEF"],  # may decide on or stop any run
        )
    ],
)

A member missing from users= gets a private notice and no run. Each Approve, Deny or Stop click goes through the check below.

Diagram titled Who can act on a run in Slack, checked on every Approve, Deny and Stop click. The person who started the run can decide or stop it. A Slack member listed in approvers= is allowed on anyone's run. A Slack member that users= maps to the run's AgentOS principal is allowed as the same AgentOS user. Anyone else in the thread is refused, and the run carries on.

See the cookbook, and learn more about the Slack interface in the documentation.

Frequently asked questions

Build the AgentOS with a manager, then append Slack(team=agent_os.manager) to agent_os.interfaces before calling get_app(), since the manager only exists once AgentOS is constructed. Under AgentOS authorization the interface also needs users=, or AgentOS refuses to start.

The interface answers privately with Your Slack account is not linked to an account on this AgentOS. and starts no run. Once users= is set, every Slack member who sends a message has to appear in it.

Slack closes a streamed message ten minutes after it starts and cuts it at about 12,000 characters. The interface hands the reply to a fresh message at nine minutes or 11,500 characters, marks it as continued, and closes and reopens any code block that crosses the break.

Yes. Apps set up with the assistant view keep working, and the manifest in agno/os/interfaces/slack/manifest.json turns on the agent view for new apps along with the agent_session_stopped event that Stop relies on.

Shipped around the same time