> ## Documentation Index
> Fetch the complete documentation index at: https://phidatainc-studio-tools-doc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Slack

> Deploy agents to Slack with streaming responses.

The Slack interface turns any Agno agent, team, or workflow into an interactive Slack app with streaming task cards, suggested prompts, and thread-based sessions.

## Quick Start

```python slack_agent.py theme={null}
from agno.agent import Agent
from agno.models.openai import OpenAIResponses
from agno.os.app import AgentOS
from agno.os.interfaces.slack import Slack

agent = Agent(name="Assistant", model=OpenAIResponses(id="gpt-5.4"))

agent_os = AgentOS(
    agents=[agent],
    interfaces=[Slack(agent=agent)],
)
app = agent_os.get_app()
```

```bash theme={null}
uv pip install 'agno[slack]'
python -m agno.os.serve slack_agent:app --port 7777
```

## How It Works

| Concept       | Behavior                                                     |
| ------------- | ------------------------------------------------------------ |
| **Threads**   | Each Slack thread is a separate session with its own history |
| **Streaming** | Responses stream as live task cards with tool calls visible  |
| **@mentions** | By default, responds to @mentions in channels and all DMs    |
| **Files**     | Users can send files; agents can upload responses            |

## Setup

Requires a Slack App with OAuth scopes and event subscriptions. See the [setup guide](/agent-os/interfaces/slack/setup) for step-by-step instructions.

**Environment variables:**

```bash theme={null}
export SLACK_TOKEN="xoxb-..."
export SLACK_SIGNING_SECRET="..."
```

## Next Steps

<CardGroup cols={2}>
  <Card title="Overview" icon="book" href="/agent-os/interfaces/slack/introduction">
    Quick start with agents, teams, and workflows.
  </Card>

  <Card title="Setup" icon="rocket" href="/agent-os/interfaces/slack/setup">
    Create a Slack App with the manifest.
  </Card>

  <Card title="Features" icon="sparkles" href="/agent-os/interfaces/slack/features">
    Sessions, files, teams, user identity, troubleshooting.
  </Card>

  <Card title="Reference" icon="square-sliders" href="/agent-os/interfaces/slack/reference">
    All parameters, scopes, and endpoints.
  </Card>
</CardGroup>
