Metadata-Version: 2.4
Name: airbyte-agent-slack
Version: 0.1.2
Summary: Airbyte Slack Connector for AI platforms
Project-URL: Homepage, https://github.com/airbytehq/airbyte-agent-connectors
Project-URL: Documentation, https://docs.airbyte.com/ai-agents/
Project-URL: Repository, https://github.com/airbytehq/airbyte-agent-connectors
Project-URL: Issues, https://github.com/airbytehq/airbyte-agent-connectors/issues
Author-email: Airbyte <contact@airbyte.io>
License: Elastic-2.0
Keywords: agent,ai,airbyte,api,connector,data-integration,llm,mcp,slack
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Typing :: Typed
Requires-Python: >=3.13
Requires-Dist: httpx>=0.24.0
Requires-Dist: jinja2>=3.0.0
Requires-Dist: jsonpath-ng>=1.6.1
Requires-Dist: jsonref>=1.1.0
Requires-Dist: opentelemetry-api>=1.37.0
Requires-Dist: opentelemetry-sdk>=1.37.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: segment-analytics-python>=2.2.0
Description-Content-Type: text/markdown

# Slack agent connector

Slack is a business communication platform that offers messaging, file sharing, and integrations
with other tools. This connector provides access to users, channels, channel members, channel
messages, and threads for workspace analytics and communication insights.


## Example questions

The Slack connector is optimized to handle prompts like these.

- List all users in my Slack workspace
- Show me all public channels
- Who are the members of channel \{channel_id\}?
- Get messages from channel \{channel_id\}
- Show me the thread replies for message \{ts\} in channel \{channel_id\}
- List all channels I have access to
- Get user details for user \{user_id\}
- What messages were posted in channel \{channel_id\} last week?
- Show me the conversation history for channel \{channel_id\}
- List channel members for the general channel

## Unsupported questions

The Slack connector isn't currently able to handle prompts like these.

- Create a new channel
- Delete a message
- Send a message to a channel
- Update a channel topic
- Invite a user to a channel
- Archive a channel

## Installation

```bash
uv pip install airbyte-agent-slack
```

## Usage

This connector supports multiple authentication methods:

### Token Authentication

```python
from airbyte_agent_slack import SlackConnector
from airbyte_agent_slack.models import SlackTokenAuthenticationAuthConfig

connector = SlackConnector(
  auth_config=SlackTokenAuthenticationAuthConfig(
    access_token="..."
  )
)
result = await connector.users.list()
```

### OAuth 2.0 Authentication

```python
from airbyte_agent_slack import SlackConnector
from airbyte_agent_slack.models import SlackOauth20AuthenticationAuthConfig

connector = SlackConnector(
  auth_config=SlackOauth20AuthenticationAuthConfig(
    client_id="...",
    client_secret="...",
    access_token="..."
  )
)
result = await connector.users.list()
```


## Full documentation

This connector supports the following entities and actions.

| Entity | Actions |
|--------|---------|
| Users | [List](./REFERENCE.md#users-list), [Get](./REFERENCE.md#users-get) |
| Channels | [List](./REFERENCE.md#channels-list), [Get](./REFERENCE.md#channels-get) |
| Channel Messages | [List](./REFERENCE.md#channel-messages-list) |
| Threads | [List](./REFERENCE.md#threads-list) |


For detailed documentation on available actions and parameters, see this connector's [full reference documentation](./REFERENCE.md).

For the service's official API docs, see the [Slack API reference](https://api.slack.com/methods).

## Version information

- **Package version:** 0.1.2
- **Connector version:** 0.1.1
- **Generated with Connector SDK commit SHA:** 61a2e8229a38f13564ef2f85e276dff02f707573