Installation & Usage
[01]
Install Package
Using uv or pip
BASH
uv pip install airbyte-agent-slack
[02]
Import
Initialize and use
PYTHON
from airbyte_agent_slack import SlackConnector
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig
connector = SlackConnector(
auth_config=SlackTokenAuthenticationAuthConfig(
api_token="<Your Slack Bot Token (xoxb-) or User Token (xoxp-)>"
)
)[03]
Tool
Add tools to your agent
python
@agent.tool_plain # assumes you're using Pydantic AI
@SlackConnector.tool_utils
async def slack_execute(entity: str, action: str, params: dict | None = None):
return await connector.execute(entity, action, params or {})Supported Entities & Actions
Lorem ipsum
Lorem ipsum
| Entity | Actions |\n|--------|---------|\n| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get), [Search](./REFERENCE.md#users-search) |\n| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get), [Create](./REFERENCE.md#channels-create), [Update](./REFERENCE.md#channels-update), [Search](./REFERENCE.md#channels-search) |\n| Channel Messages | [List](./REFERENCE.md#channel-messages-list), [Search](./REFERENCE.md#channel-messages-search) |\n| Threads | [List](./REFERENCE.md#threads-list), [Search](./REFERENCE.md#threads-search) |\n| Messages | [Create](./REFERENCE.md#messages-create), [Update](./REFERENCE.md#messages-update) |\n| Channel Topics | [Create](./REFERENCE.md#channel-topics-create) |\n| Channel Purposes | [Create](./REFERENCE.md#channel-purposes-create) |\n| Reactions | [Create](./REFERENCE.md#reactions-create) |
Example Prompts
Lorem ipsum
List all users in my Slack workspace - Show me all public channels - List members of a public channel - Show me recent messages in a public channel - Show me thread replies for a recent message - List all channels I have access to - Show me user details for a workspace member - List channel members for a public channel - Send a message to a channel saying 'Hello team!' - Post a message in the general channel - Update the most recent message in a channel - Create a new public channel called 'project-updates' - Create a private channel named 'team-internal' - Rename a channel to 'new-channel-name' - Set the topic for a channel to 'Daily standup notes' - Update the purpose of a channel - Add a thumbsup reaction to the latest message in a channel - React with :rocket: to the latest message in a channel - Reply to a recent thread with 'Thanks for the update!' - What messages were posted in channel \{channel_id\} last week? - Show me the conversation history for channel \{channel_id\} - Search for messages mentioning \{keyword\} in channel \{channel_id\}
Why Airbyte for AI Agents?
Built for production AI workloads with enterprise-grade reliability
Secure Authentication
Built-in OAuth 2.0 handling with automatic token refresh. No hard-coded credentials.
Agent-Native Design
Heading
Structured, LLM-friendly schemas optimized for AI agent consumption with natural language query support.
Production Ready
Battle-tested connectors with comprehensive error handling, logging, and retry logic.
Open Source
Fully open source under the MIT license. Contribute, customize, and extend freely.
Works with your favorite frameworks
LangChain
CrewAI
LlamaIndex
AutoGen
OpenAI Agents SDK
Claude Agents SDK
Frequently Asked Questions
Didn't find your answer? Please don't hesitate to reach out.
The Slack connector supports token-based authentication using a Slack Bot Token (xoxb-) or a User Token (xoxp-). In hosted mode, API credentials are stored securely in Airbyte Cloud and you authenticate using your Airbyte client credentials (client ID and client secret) instead.
Can I use this connector with any AI agent framework?
The connector is compatible with any Python-based AI agent framework including LangChain, LlamaIndex, CrewAI, Pydantic AI, and custom implementations.
Does this connector support write operations?
Yes, the Slack connector supports write operations. It can send and update messages, create and rename channels, set channel topics and purposes, add reactions to messages, and reply to threads. Operations like deleting messages, archiving channels, inviting/removing users, and managing user profiles are not currently supported.
How is this different from the Airbyte data connector?
Agent connectors are specifically designed for AI agents and LLM applications. They provide natural language interfaces, optimized response formats, and seamless integration with agent frameworks, unlike traditional ETL-focused connectors.
Get started in minutes with our open-source connector.