microsoft-agents-hosting-slack 1.2.0.dev20__tar.gz → 1.4.0.dev10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. microsoft_agents_hosting_slack-1.4.0.dev10/PKG-INFO +127 -0
  2. microsoft_agents_hosting_slack-1.4.0.dev10/VERSION.txt +1 -0
  3. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/slack_agent_extension.py +4 -6
  4. microsoft_agents_hosting_slack-1.4.0.dev10/microsoft_agents_hosting_slack.egg-info/PKG-INFO +127 -0
  5. microsoft_agents_hosting_slack-1.4.0.dev10/microsoft_agents_hosting_slack.egg-info/requires.txt +2 -0
  6. microsoft_agents_hosting_slack-1.4.0.dev10/readme.md +105 -0
  7. microsoft_agents_hosting_slack-1.2.0.dev20/PKG-INFO +0 -89
  8. microsoft_agents_hosting_slack-1.2.0.dev20/VERSION.txt +0 -1
  9. microsoft_agents_hosting_slack-1.2.0.dev20/microsoft_agents_hosting_slack.egg-info/PKG-INFO +0 -89
  10. microsoft_agents_hosting_slack-1.2.0.dev20/microsoft_agents_hosting_slack.egg-info/requires.txt +0 -2
  11. microsoft_agents_hosting_slack-1.2.0.dev20/readme.md +0 -67
  12. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/LICENSE +0 -0
  13. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/MANIFEST.in +0 -0
  14. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/__init__.py +0 -0
  15. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/_path_navigator.py +0 -0
  16. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/__init__.py +0 -0
  17. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/action_payload.py +0 -0
  18. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/chunks.py +0 -0
  19. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/event_content.py +0 -0
  20. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/event_envelope.py +0 -0
  21. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/slack_api.py +0 -0
  22. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/slack_channel_data.py +0 -0
  23. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/slack_model.py +0 -0
  24. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/slack_response.py +0 -0
  25. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/api/slack_stream.py +0 -0
  26. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents/hosting/slack/slack_helpers.py +0 -0
  27. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents_hosting_slack.egg-info/SOURCES.txt +0 -0
  28. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents_hosting_slack.egg-info/dependency_links.txt +0 -0
  29. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/microsoft_agents_hosting_slack.egg-info/top_level.txt +0 -0
  30. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/pyproject.toml +0 -0
  31. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/setup.cfg +0 -0
  32. {microsoft_agents_hosting_slack-1.2.0.dev20 → microsoft_agents_hosting_slack-1.4.0.dev10}/setup.py +0 -0
@@ -0,0 +1,127 @@
1
+ Metadata-Version: 2.4
2
+ Name: microsoft-agents-hosting-slack
3
+ Version: 1.4.0.dev10
4
+ Summary: Integration library for Microsoft Agents with Slack
5
+ Author: Microsoft Corporation
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/microsoft/Agents
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Classifier: Operating System :: OS Independent
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: microsoft-agents-hosting-core==1.4.0.dev10
19
+ Requires-Dist: aiohttp>=3.11.11
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+
23
+ # Microsoft Agents Hosting - Slack
24
+
25
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/)
26
+
27
+ Integration library for building Slack agents using the Microsoft 365 Agents SDK. Provides direct-to-Slack responses (the full Slack Web API surface, beyond what Azure Bot Service exposes), a typed `SlackChannelData` envelope with dot-notation property access, and a `SlackStream` helper for `chat.startStream` / `chat.appendStream` / `chat.stopStream`.
28
+
29
+
30
+ ## Release Notes
31
+
32
+ <table style="width:100%">
33
+ <tr>
34
+ <th style="width:20%">Version</th>
35
+ <th style="width:20%">Date</th>
36
+ <th style="width:60%">Release Notes</th>
37
+ </tr>
38
+ <tr>
39
+ <td>1.3.0</td>
40
+ <td>2026-07-30</td>
41
+ <td>
42
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v130">
43
+ 1.3.0 Release Notes
44
+ </a>
45
+ </td>
46
+ </tr>
47
+ <tr>
48
+ <td>1.2.0</td>
49
+ <td>2026-07-17</td>
50
+ <td>
51
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v120">
52
+ 1.2.0 Release Notes
53
+ </a>
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td>1.1.0</td>
58
+ <td>2026-06-19</td>
59
+ <td>
60
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
61
+ 1.1.0 Release Notes
62
+ </a>
63
+ </td>
64
+ </tr>
65
+ </table>
66
+
67
+ ## Packages Overview
68
+
69
+ We offer the following PyPI packages to create conversational experiences based on Agents:
70
+
71
+ | Package Name | PyPI Version | Description |
72
+ |--------------|-------------|-------------|
73
+ | `microsoft-agents-activity` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-activity)](https://pypi.org/project/microsoft-agents-activity/) | Types and validators implementing the Activity protocol spec. |
74
+ | `microsoft-agents-hosting-core` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-core)](https://pypi.org/project/microsoft-agents-hosting-core/) | Core library for Microsoft Agents hosting. |
75
+ | `microsoft-agents-hosting-aiohttp` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-aiohttp)](https://pypi.org/project/microsoft-agents-hosting-aiohttp/) | Configures aiohttp to run the Agent. |
76
+ | `microsoft-agents-hosting-fastapi` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-fastapi)](https://pypi.org/project/microsoft-agents-hosting-fastapi/) | Configures fastapi to run the Agent. |
77
+ | `microsoft-agents-hosting-msteams` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-msteams)](https://pypi.org/project/microsoft-agents-hosting-msteams/) | Provides classes to host an Agent for Teams. |
78
+ | `microsoft-agents-hosting-dialogs` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-dialogs)](https://pypi.org/project/microsoft-agents-hosting-dialogs/) | Dialog system with waterfall dialogs, prompts, and multi-turn conversation management. |
79
+ | `microsoft-agents-hosting-slack` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/) | Provides classes to host an Agent for Slack. |
80
+ | `microsoft-agents-storage-blob` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-storage-blob)](https://pypi.org/project/microsoft-agents-storage-blob/) | Extension to use Azure Blob as storage. |
81
+ | `microsoft-agents-storage-cosmos` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-storage-cosmos)](https://pypi.org/project/microsoft-agents-storage-cosmos/) | Extension to use CosmosDB as storage. |
82
+ | `microsoft-agents-authentication-msal` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-authentication-msal)](https://pypi.org/project/microsoft-agents-authentication-msal/) | MSAL-based authentication for Microsoft Agents. |
83
+ | `microsoft-agents-authentication-entra-auth-sidecar` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-authentication-entra-auth-sidecar)](https://pypi.org/project/microsoft-agents-authentication-entra-auth-sidecar/) | Credential-free Entra ID Agent ID authentication via the sidecar. |
84
+
85
+ ## Installation
86
+
87
+ ```bash
88
+ pip install microsoft-agents-hosting-slack
89
+ ```
90
+
91
+ ## Usage
92
+
93
+ ```python
94
+ from microsoft_agents.hosting.core.app import AgentApplication
95
+ from microsoft_agents.hosting.slack import SlackAgentExtension
96
+ from microsoft_agents.hosting.slack.api import SlackChannelData
97
+
98
+ app = AgentApplication(options)
99
+ slack = SlackAgentExtension(app)
100
+
101
+ @slack.on_message()
102
+ async def on_slack_message(context, state):
103
+ channel_data = SlackChannelData.from_activity(context.activity)
104
+ await slack.call(
105
+ context,
106
+ "chat.postMessage",
107
+ {
108
+ "channel": channel_data.get("event.channel"),
109
+ "text": f"You said: {context.activity.text}",
110
+ },
111
+ token=channel_data.api_token,
112
+ )
113
+ ```
114
+
115
+ ## Key Classes
116
+
117
+ - **`SlackAgentExtension`** — registers Slack-channel-scoped message/event handlers; exposes `call(...)` and `create_stream(...)`.
118
+ - **`SlackChannelData`** — typed wrapper around Bot Service's Slack channel-data payload with `get(path)` / `try_get(path)` accessors.
119
+ - **`SlackApi`** — async HTTP client for the Slack Web API.
120
+ - **`SlackStream`** — wraps Slack's streaming methods for incremental message updates.
121
+ - **`SlackHelpers`** — encode/decode and conversation-id parsing utilities.
122
+
123
+ # Quick Links
124
+
125
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
126
+ - 📖 [Complete Documentation](https://aka.ms/agents)
127
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
@@ -0,0 +1 @@
1
+ 1.4.0.dev10
@@ -24,8 +24,6 @@ StateT = TypeVar("StateT", bound=TurnState)
24
24
 
25
25
  TextSelector = str | Pattern[str] | None
26
26
 
27
- _SLACK_API_SERVICE_KEY = "microsoft_agents.hosting.slack.SlackApi"
28
-
29
27
 
30
28
  def _matches_text(selector: TextSelector, text: Optional[str]) -> bool:
31
29
  if selector is None:
@@ -94,8 +92,8 @@ class SlackAgentExtension(Generic[StateT]):
94
92
  """Invoke a Slack Web API method, preferring a per-turn :class:`SlackApi`
95
93
  if one has been cached on ``turn_context.services``."""
96
94
  api = self._slack_api
97
- if turn_context is not None and turn_context.has(_SLACK_API_SERVICE_KEY):
98
- api = turn_context.get(_SLACK_API_SERVICE_KEY) # type: ignore[assignment]
95
+ if turn_context is not None and turn_context.services.has(SlackApi):
96
+ api = turn_context.services.get(SlackApi)
99
97
  return await api.call(method, options, token)
100
98
 
101
99
  async def create_stream(
@@ -111,8 +109,8 @@ class SlackAgentExtension(Generic[StateT]):
111
109
  )
112
110
  resolved_thread_ts = thread_ts or channel_data.envelope.get("event.ts")
113
111
  api = self._slack_api
114
- if turn_context.has(_SLACK_API_SERVICE_KEY):
115
- api = turn_context.get(_SLACK_API_SERVICE_KEY) # type: ignore[assignment]
112
+ if turn_context.services.has(SlackApi):
113
+ api = turn_context.services.get(SlackApi)
116
114
  stream = SlackStream(
117
115
  api,
118
116
  channel_data.envelope.get("event.channel"),
@@ -0,0 +1,127 @@
1
+ Metadata-Version: 2.4
2
+ Name: microsoft-agents-hosting-slack
3
+ Version: 1.4.0.dev10
4
+ Summary: Integration library for Microsoft Agents with Slack
5
+ Author: Microsoft Corporation
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/microsoft/Agents
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.10
10
+ Classifier: Programming Language :: Python :: 3.11
11
+ Classifier: Programming Language :: Python :: 3.12
12
+ Classifier: Programming Language :: Python :: 3.13
13
+ Classifier: Programming Language :: Python :: 3.14
14
+ Classifier: Operating System :: OS Independent
15
+ Requires-Python: >=3.10
16
+ Description-Content-Type: text/markdown
17
+ License-File: LICENSE
18
+ Requires-Dist: microsoft-agents-hosting-core==1.4.0.dev10
19
+ Requires-Dist: aiohttp>=3.11.11
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+
23
+ # Microsoft Agents Hosting - Slack
24
+
25
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/)
26
+
27
+ Integration library for building Slack agents using the Microsoft 365 Agents SDK. Provides direct-to-Slack responses (the full Slack Web API surface, beyond what Azure Bot Service exposes), a typed `SlackChannelData` envelope with dot-notation property access, and a `SlackStream` helper for `chat.startStream` / `chat.appendStream` / `chat.stopStream`.
28
+
29
+
30
+ ## Release Notes
31
+
32
+ <table style="width:100%">
33
+ <tr>
34
+ <th style="width:20%">Version</th>
35
+ <th style="width:20%">Date</th>
36
+ <th style="width:60%">Release Notes</th>
37
+ </tr>
38
+ <tr>
39
+ <td>1.3.0</td>
40
+ <td>2026-07-30</td>
41
+ <td>
42
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v130">
43
+ 1.3.0 Release Notes
44
+ </a>
45
+ </td>
46
+ </tr>
47
+ <tr>
48
+ <td>1.2.0</td>
49
+ <td>2026-07-17</td>
50
+ <td>
51
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v120">
52
+ 1.2.0 Release Notes
53
+ </a>
54
+ </td>
55
+ </tr>
56
+ <tr>
57
+ <td>1.1.0</td>
58
+ <td>2026-06-19</td>
59
+ <td>
60
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
61
+ 1.1.0 Release Notes
62
+ </a>
63
+ </td>
64
+ </tr>
65
+ </table>
66
+
67
+ ## Packages Overview
68
+
69
+ We offer the following PyPI packages to create conversational experiences based on Agents:
70
+
71
+ | Package Name | PyPI Version | Description |
72
+ |--------------|-------------|-------------|
73
+ | `microsoft-agents-activity` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-activity)](https://pypi.org/project/microsoft-agents-activity/) | Types and validators implementing the Activity protocol spec. |
74
+ | `microsoft-agents-hosting-core` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-core)](https://pypi.org/project/microsoft-agents-hosting-core/) | Core library for Microsoft Agents hosting. |
75
+ | `microsoft-agents-hosting-aiohttp` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-aiohttp)](https://pypi.org/project/microsoft-agents-hosting-aiohttp/) | Configures aiohttp to run the Agent. |
76
+ | `microsoft-agents-hosting-fastapi` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-fastapi)](https://pypi.org/project/microsoft-agents-hosting-fastapi/) | Configures fastapi to run the Agent. |
77
+ | `microsoft-agents-hosting-msteams` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-msteams)](https://pypi.org/project/microsoft-agents-hosting-msteams/) | Provides classes to host an Agent for Teams. |
78
+ | `microsoft-agents-hosting-dialogs` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-dialogs)](https://pypi.org/project/microsoft-agents-hosting-dialogs/) | Dialog system with waterfall dialogs, prompts, and multi-turn conversation management. |
79
+ | `microsoft-agents-hosting-slack` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/) | Provides classes to host an Agent for Slack. |
80
+ | `microsoft-agents-storage-blob` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-storage-blob)](https://pypi.org/project/microsoft-agents-storage-blob/) | Extension to use Azure Blob as storage. |
81
+ | `microsoft-agents-storage-cosmos` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-storage-cosmos)](https://pypi.org/project/microsoft-agents-storage-cosmos/) | Extension to use CosmosDB as storage. |
82
+ | `microsoft-agents-authentication-msal` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-authentication-msal)](https://pypi.org/project/microsoft-agents-authentication-msal/) | MSAL-based authentication for Microsoft Agents. |
83
+ | `microsoft-agents-authentication-entra-auth-sidecar` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-authentication-entra-auth-sidecar)](https://pypi.org/project/microsoft-agents-authentication-entra-auth-sidecar/) | Credential-free Entra ID Agent ID authentication via the sidecar. |
84
+
85
+ ## Installation
86
+
87
+ ```bash
88
+ pip install microsoft-agents-hosting-slack
89
+ ```
90
+
91
+ ## Usage
92
+
93
+ ```python
94
+ from microsoft_agents.hosting.core.app import AgentApplication
95
+ from microsoft_agents.hosting.slack import SlackAgentExtension
96
+ from microsoft_agents.hosting.slack.api import SlackChannelData
97
+
98
+ app = AgentApplication(options)
99
+ slack = SlackAgentExtension(app)
100
+
101
+ @slack.on_message()
102
+ async def on_slack_message(context, state):
103
+ channel_data = SlackChannelData.from_activity(context.activity)
104
+ await slack.call(
105
+ context,
106
+ "chat.postMessage",
107
+ {
108
+ "channel": channel_data.get("event.channel"),
109
+ "text": f"You said: {context.activity.text}",
110
+ },
111
+ token=channel_data.api_token,
112
+ )
113
+ ```
114
+
115
+ ## Key Classes
116
+
117
+ - **`SlackAgentExtension`** — registers Slack-channel-scoped message/event handlers; exposes `call(...)` and `create_stream(...)`.
118
+ - **`SlackChannelData`** — typed wrapper around Bot Service's Slack channel-data payload with `get(path)` / `try_get(path)` accessors.
119
+ - **`SlackApi`** — async HTTP client for the Slack Web API.
120
+ - **`SlackStream`** — wraps Slack's streaming methods for incremental message updates.
121
+ - **`SlackHelpers`** — encode/decode and conversation-id parsing utilities.
122
+
123
+ # Quick Links
124
+
125
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
126
+ - 📖 [Complete Documentation](https://aka.ms/agents)
127
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
@@ -0,0 +1,2 @@
1
+ microsoft-agents-hosting-core==1.4.0.dev10
2
+ aiohttp>=3.11.11
@@ -0,0 +1,105 @@
1
+ # Microsoft Agents Hosting - Slack
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/)
4
+
5
+ Integration library for building Slack agents using the Microsoft 365 Agents SDK. Provides direct-to-Slack responses (the full Slack Web API surface, beyond what Azure Bot Service exposes), a typed `SlackChannelData` envelope with dot-notation property access, and a `SlackStream` helper for `chat.startStream` / `chat.appendStream` / `chat.stopStream`.
6
+
7
+
8
+ ## Release Notes
9
+
10
+ <table style="width:100%">
11
+ <tr>
12
+ <th style="width:20%">Version</th>
13
+ <th style="width:20%">Date</th>
14
+ <th style="width:60%">Release Notes</th>
15
+ </tr>
16
+ <tr>
17
+ <td>1.3.0</td>
18
+ <td>2026-07-30</td>
19
+ <td>
20
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v130">
21
+ 1.3.0 Release Notes
22
+ </a>
23
+ </td>
24
+ </tr>
25
+ <tr>
26
+ <td>1.2.0</td>
27
+ <td>2026-07-17</td>
28
+ <td>
29
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v120">
30
+ 1.2.0 Release Notes
31
+ </a>
32
+ </td>
33
+ </tr>
34
+ <tr>
35
+ <td>1.1.0</td>
36
+ <td>2026-06-19</td>
37
+ <td>
38
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
39
+ 1.1.0 Release Notes
40
+ </a>
41
+ </td>
42
+ </tr>
43
+ </table>
44
+
45
+ ## Packages Overview
46
+
47
+ We offer the following PyPI packages to create conversational experiences based on Agents:
48
+
49
+ | Package Name | PyPI Version | Description |
50
+ |--------------|-------------|-------------|
51
+ | `microsoft-agents-activity` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-activity)](https://pypi.org/project/microsoft-agents-activity/) | Types and validators implementing the Activity protocol spec. |
52
+ | `microsoft-agents-hosting-core` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-core)](https://pypi.org/project/microsoft-agents-hosting-core/) | Core library for Microsoft Agents hosting. |
53
+ | `microsoft-agents-hosting-aiohttp` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-aiohttp)](https://pypi.org/project/microsoft-agents-hosting-aiohttp/) | Configures aiohttp to run the Agent. |
54
+ | `microsoft-agents-hosting-fastapi` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-fastapi)](https://pypi.org/project/microsoft-agents-hosting-fastapi/) | Configures fastapi to run the Agent. |
55
+ | `microsoft-agents-hosting-msteams` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-msteams)](https://pypi.org/project/microsoft-agents-hosting-msteams/) | Provides classes to host an Agent for Teams. |
56
+ | `microsoft-agents-hosting-dialogs` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-dialogs)](https://pypi.org/project/microsoft-agents-hosting-dialogs/) | Dialog system with waterfall dialogs, prompts, and multi-turn conversation management. |
57
+ | `microsoft-agents-hosting-slack` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/) | Provides classes to host an Agent for Slack. |
58
+ | `microsoft-agents-storage-blob` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-storage-blob)](https://pypi.org/project/microsoft-agents-storage-blob/) | Extension to use Azure Blob as storage. |
59
+ | `microsoft-agents-storage-cosmos` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-storage-cosmos)](https://pypi.org/project/microsoft-agents-storage-cosmos/) | Extension to use CosmosDB as storage. |
60
+ | `microsoft-agents-authentication-msal` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-authentication-msal)](https://pypi.org/project/microsoft-agents-authentication-msal/) | MSAL-based authentication for Microsoft Agents. |
61
+ | `microsoft-agents-authentication-entra-auth-sidecar` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-authentication-entra-auth-sidecar)](https://pypi.org/project/microsoft-agents-authentication-entra-auth-sidecar/) | Credential-free Entra ID Agent ID authentication via the sidecar. |
62
+
63
+ ## Installation
64
+
65
+ ```bash
66
+ pip install microsoft-agents-hosting-slack
67
+ ```
68
+
69
+ ## Usage
70
+
71
+ ```python
72
+ from microsoft_agents.hosting.core.app import AgentApplication
73
+ from microsoft_agents.hosting.slack import SlackAgentExtension
74
+ from microsoft_agents.hosting.slack.api import SlackChannelData
75
+
76
+ app = AgentApplication(options)
77
+ slack = SlackAgentExtension(app)
78
+
79
+ @slack.on_message()
80
+ async def on_slack_message(context, state):
81
+ channel_data = SlackChannelData.from_activity(context.activity)
82
+ await slack.call(
83
+ context,
84
+ "chat.postMessage",
85
+ {
86
+ "channel": channel_data.get("event.channel"),
87
+ "text": f"You said: {context.activity.text}",
88
+ },
89
+ token=channel_data.api_token,
90
+ )
91
+ ```
92
+
93
+ ## Key Classes
94
+
95
+ - **`SlackAgentExtension`** — registers Slack-channel-scoped message/event handlers; exposes `call(...)` and `create_stream(...)`.
96
+ - **`SlackChannelData`** — typed wrapper around Bot Service's Slack channel-data payload with `get(path)` / `try_get(path)` accessors.
97
+ - **`SlackApi`** — async HTTP client for the Slack Web API.
98
+ - **`SlackStream`** — wraps Slack's streaming methods for incremental message updates.
99
+ - **`SlackHelpers`** — encode/decode and conversation-id parsing utilities.
100
+
101
+ # Quick Links
102
+
103
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
104
+ - 📖 [Complete Documentation](https://aka.ms/agents)
105
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
@@ -1,89 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: microsoft-agents-hosting-slack
3
- Version: 1.2.0.dev20
4
- Summary: Integration library for Microsoft Agents with Slack
5
- Author: Microsoft Corporation
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/microsoft/Agents
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.10
10
- Classifier: Programming Language :: Python :: 3.11
11
- Classifier: Programming Language :: Python :: 3.12
12
- Classifier: Programming Language :: Python :: 3.13
13
- Classifier: Programming Language :: Python :: 3.14
14
- Classifier: Operating System :: OS Independent
15
- Requires-Python: >=3.10
16
- Description-Content-Type: text/markdown
17
- License-File: LICENSE
18
- Requires-Dist: microsoft-agents-hosting-core==1.2.0.dev20
19
- Requires-Dist: aiohttp>=3.11.11
20
- Dynamic: license-file
21
- Dynamic: requires-dist
22
-
23
- # Microsoft Agents Hosting - Slack
24
-
25
- [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/)
26
-
27
- Integration library for building Slack agents using the Microsoft 365 Agents SDK. Provides direct-to-Slack responses (the full Slack Web API surface, beyond what Azure Bot Service exposes), a typed `SlackChannelData` envelope with dot-notation property access, and a `SlackStream` helper for `chat.startStream` / `chat.appendStream` / `chat.stopStream`.
28
-
29
- ## Release Notes
30
- <table style="width:100%">
31
- <tr>
32
- <th style="width:20%">Version</th>
33
- <th style="width:20%">Date</th>
34
- <th style="width:60%">Release Notes</th>
35
- </tr>
36
- <tr>
37
- <td>1.1.0</td>
38
- <td>2026-06-19</td>
39
- <td>
40
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
41
- 1.1.0 Release Notes
42
- </a>
43
- </td>
44
- </tr>
45
- </table>
46
-
47
- ## Installation
48
-
49
- ```bash
50
- pip install microsoft-agents-hosting-slack
51
- ```
52
-
53
- ## Usage
54
-
55
- ```python
56
- from microsoft_agents.hosting.core.app import AgentApplication
57
- from microsoft_agents.hosting.slack import SlackAgentExtension
58
- from microsoft_agents.hosting.slack.api import SlackChannelData
59
-
60
- app = AgentApplication(options)
61
- slack = SlackAgentExtension(app)
62
-
63
- @slack.on_message()
64
- async def on_slack_message(context, state):
65
- channel_data = SlackChannelData.from_activity(context.activity)
66
- await slack.call(
67
- context,
68
- "chat.postMessage",
69
- {
70
- "channel": channel_data.get("event.channel"),
71
- "text": f"You said: {context.activity.text}",
72
- },
73
- token=channel_data.api_token,
74
- )
75
- ```
76
-
77
- ## Key Classes
78
-
79
- - **`SlackAgentExtension`** — registers Slack-channel-scoped message/event handlers; exposes `call(...)` and `create_stream(...)`.
80
- - **`SlackChannelData`** — typed wrapper around Bot Service's Slack channel-data payload with `get(path)` / `try_get(path)` accessors.
81
- - **`SlackApi`** — async HTTP client for the Slack Web API.
82
- - **`SlackStream`** — wraps Slack's streaming methods for incremental message updates.
83
- - **`SlackHelpers`** — encode/decode and conversation-id parsing utilities.
84
-
85
- # Quick Links
86
-
87
- - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
88
- - 📖 [Complete Documentation](https://aka.ms/agents)
89
- - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
@@ -1 +0,0 @@
1
- 1.2.0.dev20
@@ -1,89 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: microsoft-agents-hosting-slack
3
- Version: 1.2.0.dev20
4
- Summary: Integration library for Microsoft Agents with Slack
5
- Author: Microsoft Corporation
6
- License-Expression: MIT
7
- Project-URL: Homepage, https://github.com/microsoft/Agents
8
- Classifier: Programming Language :: Python :: 3
9
- Classifier: Programming Language :: Python :: 3.10
10
- Classifier: Programming Language :: Python :: 3.11
11
- Classifier: Programming Language :: Python :: 3.12
12
- Classifier: Programming Language :: Python :: 3.13
13
- Classifier: Programming Language :: Python :: 3.14
14
- Classifier: Operating System :: OS Independent
15
- Requires-Python: >=3.10
16
- Description-Content-Type: text/markdown
17
- License-File: LICENSE
18
- Requires-Dist: microsoft-agents-hosting-core==1.2.0.dev20
19
- Requires-Dist: aiohttp>=3.11.11
20
- Dynamic: license-file
21
- Dynamic: requires-dist
22
-
23
- # Microsoft Agents Hosting - Slack
24
-
25
- [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/)
26
-
27
- Integration library for building Slack agents using the Microsoft 365 Agents SDK. Provides direct-to-Slack responses (the full Slack Web API surface, beyond what Azure Bot Service exposes), a typed `SlackChannelData` envelope with dot-notation property access, and a `SlackStream` helper for `chat.startStream` / `chat.appendStream` / `chat.stopStream`.
28
-
29
- ## Release Notes
30
- <table style="width:100%">
31
- <tr>
32
- <th style="width:20%">Version</th>
33
- <th style="width:20%">Date</th>
34
- <th style="width:60%">Release Notes</th>
35
- </tr>
36
- <tr>
37
- <td>1.1.0</td>
38
- <td>2026-06-19</td>
39
- <td>
40
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
41
- 1.1.0 Release Notes
42
- </a>
43
- </td>
44
- </tr>
45
- </table>
46
-
47
- ## Installation
48
-
49
- ```bash
50
- pip install microsoft-agents-hosting-slack
51
- ```
52
-
53
- ## Usage
54
-
55
- ```python
56
- from microsoft_agents.hosting.core.app import AgentApplication
57
- from microsoft_agents.hosting.slack import SlackAgentExtension
58
- from microsoft_agents.hosting.slack.api import SlackChannelData
59
-
60
- app = AgentApplication(options)
61
- slack = SlackAgentExtension(app)
62
-
63
- @slack.on_message()
64
- async def on_slack_message(context, state):
65
- channel_data = SlackChannelData.from_activity(context.activity)
66
- await slack.call(
67
- context,
68
- "chat.postMessage",
69
- {
70
- "channel": channel_data.get("event.channel"),
71
- "text": f"You said: {context.activity.text}",
72
- },
73
- token=channel_data.api_token,
74
- )
75
- ```
76
-
77
- ## Key Classes
78
-
79
- - **`SlackAgentExtension`** — registers Slack-channel-scoped message/event handlers; exposes `call(...)` and `create_stream(...)`.
80
- - **`SlackChannelData`** — typed wrapper around Bot Service's Slack channel-data payload with `get(path)` / `try_get(path)` accessors.
81
- - **`SlackApi`** — async HTTP client for the Slack Web API.
82
- - **`SlackStream`** — wraps Slack's streaming methods for incremental message updates.
83
- - **`SlackHelpers`** — encode/decode and conversation-id parsing utilities.
84
-
85
- # Quick Links
86
-
87
- - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
88
- - 📖 [Complete Documentation](https://aka.ms/agents)
89
- - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
@@ -1,2 +0,0 @@
1
- microsoft-agents-hosting-core==1.2.0.dev20
2
- aiohttp>=3.11.11
@@ -1,67 +0,0 @@
1
- # Microsoft Agents Hosting - Slack
2
-
3
- [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-slack)](https://pypi.org/project/microsoft-agents-hosting-slack/)
4
-
5
- Integration library for building Slack agents using the Microsoft 365 Agents SDK. Provides direct-to-Slack responses (the full Slack Web API surface, beyond what Azure Bot Service exposes), a typed `SlackChannelData` envelope with dot-notation property access, and a `SlackStream` helper for `chat.startStream` / `chat.appendStream` / `chat.stopStream`.
6
-
7
- ## Release Notes
8
- <table style="width:100%">
9
- <tr>
10
- <th style="width:20%">Version</th>
11
- <th style="width:20%">Date</th>
12
- <th style="width:60%">Release Notes</th>
13
- </tr>
14
- <tr>
15
- <td>1.1.0</td>
16
- <td>2026-06-19</td>
17
- <td>
18
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
19
- 1.1.0 Release Notes
20
- </a>
21
- </td>
22
- </tr>
23
- </table>
24
-
25
- ## Installation
26
-
27
- ```bash
28
- pip install microsoft-agents-hosting-slack
29
- ```
30
-
31
- ## Usage
32
-
33
- ```python
34
- from microsoft_agents.hosting.core.app import AgentApplication
35
- from microsoft_agents.hosting.slack import SlackAgentExtension
36
- from microsoft_agents.hosting.slack.api import SlackChannelData
37
-
38
- app = AgentApplication(options)
39
- slack = SlackAgentExtension(app)
40
-
41
- @slack.on_message()
42
- async def on_slack_message(context, state):
43
- channel_data = SlackChannelData.from_activity(context.activity)
44
- await slack.call(
45
- context,
46
- "chat.postMessage",
47
- {
48
- "channel": channel_data.get("event.channel"),
49
- "text": f"You said: {context.activity.text}",
50
- },
51
- token=channel_data.api_token,
52
- )
53
- ```
54
-
55
- ## Key Classes
56
-
57
- - **`SlackAgentExtension`** — registers Slack-channel-scoped message/event handlers; exposes `call(...)` and `create_stream(...)`.
58
- - **`SlackChannelData`** — typed wrapper around Bot Service's Slack channel-data payload with `get(path)` / `try_get(path)` accessors.
59
- - **`SlackApi`** — async HTTP client for the Slack Web API.
60
- - **`SlackStream`** — wraps Slack's streaming methods for incremental message updates.
61
- - **`SlackHelpers`** — encode/decode and conversation-id parsing utilities.
62
-
63
- # Quick Links
64
-
65
- - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
66
- - 📖 [Complete Documentation](https://aka.ms/agents)
67
- - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)