microsoft-agents-hosting-teams 0.4.0.dev16__tar.gz → 0.5.0__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 (18) hide show
  1. microsoft_agents_hosting_teams-0.5.0/LICENSE +21 -0
  2. microsoft_agents_hosting_teams-0.5.0/PKG-INFO +127 -0
  3. microsoft_agents_hosting_teams-0.5.0/microsoft_agents_hosting_teams.egg-info/PKG-INFO +127 -0
  4. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents_hosting_teams.egg-info/SOURCES.txt +2 -0
  5. microsoft_agents_hosting_teams-0.5.0/microsoft_agents_hosting_teams.egg-info/requires.txt +2 -0
  6. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/pyproject.toml +9 -2
  7. microsoft_agents_hosting_teams-0.5.0/readme.md +105 -0
  8. microsoft_agents_hosting_teams-0.4.0.dev16/PKG-INFO +0 -13
  9. microsoft_agents_hosting_teams-0.4.0.dev16/microsoft_agents_hosting_teams.egg-info/PKG-INFO +0 -13
  10. microsoft_agents_hosting_teams-0.4.0.dev16/microsoft_agents_hosting_teams.egg-info/requires.txt +0 -2
  11. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents/hosting/teams/__init__.py +0 -0
  12. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents/hosting/teams/teams_activity_handler.py +0 -0
  13. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents/hosting/teams/teams_cloud_adapter.py +0 -0
  14. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents/hosting/teams/teams_info.py +0 -0
  15. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents_hosting_teams.egg-info/dependency_links.txt +0 -0
  16. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/microsoft_agents_hosting_teams.egg-info/top_level.txt +0 -0
  17. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/setup.cfg +0 -0
  18. {microsoft_agents_hosting_teams-0.4.0.dev16 → microsoft_agents_hosting_teams-0.5.0}/setup.py +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE
@@ -0,0 +1,127 @@
1
+ Metadata-Version: 2.4
2
+ Name: microsoft-agents-hosting-teams
3
+ Version: 0.5.0
4
+ Summary: Integration library for Microsoft Agents with Teams
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==0.5.0
19
+ Requires-Dist: aiohttp>=3.11.11
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+
23
+ # Microsoft Agents Hosting - Teams
24
+
25
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-teams)](https://pypi.org/project/microsoft-agents-hosting-teams/)
26
+
27
+ Integration library for building Microsoft Teams agents using the Microsoft 365 Agents SDK. This library provides specialized handlers and utilities for Teams-specific functionality like messaging extensions, task modules, adaptive cards, and meeting events.
28
+
29
+ This library extends the core hosting capabilities with Teams-specific features. It handles Teams' unique interaction patterns like messaging extensions, tab applications, task modules, and meeting integrations. Think of it as the bridge that makes your agent "Teams-native" rather than just a generic chatbot.
30
+
31
+ This library is still in flux, as the interfaces to Teams continue to evolve.
32
+
33
+ # What is this?
34
+ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehensive framework for building enterprise-grade conversational AI agents. The SDK enables developers to create intelligent agents that work across multiple platforms including Microsoft Teams, M365 Copilot, Copilot Studio, and web chat, with support for third-party integrations like Slack, Facebook Messenger, and Twilio.
35
+
36
+ ## Release Notes
37
+ <table style="width:100%">
38
+ <tr>
39
+ <th style="width:20%">Version</th>
40
+ <th style="width:20%">Date</th>
41
+ <th style="width:60%">Release Notes</th>
42
+ </tr>
43
+ <tr>
44
+ <td>0.5.0</td>
45
+ <td>2025-10-22</td>
46
+ <td>
47
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md">
48
+ 0.5.0 Release Notes
49
+ </a>
50
+ </td>
51
+ </tr>
52
+ </table>
53
+
54
+ ## Packages Overview
55
+
56
+ We offer the following PyPI packages to create conversational experiences based on Agents:
57
+
58
+ | Package Name | PyPI Version | Description |
59
+ |--------------|-------------|-------------|
60
+ | `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. |
61
+ | `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. |
62
+ | `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. |
63
+ | `microsoft-agents-hosting-teams` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-teams)](https://pypi.org/project/microsoft-agents-hosting-teams/) | Provides classes to host an Agent for Teams. |
64
+ | `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. |
65
+ | `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. |
66
+ | `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. |
67
+
68
+ Additionally we provide a Copilot Studio Client, to interact with Agents created in CopilotStudio:
69
+
70
+ | Package Name | PyPI Version | Description |
71
+ |--------------|-------------|-------------|
72
+ | `microsoft-agents-copilotstudio-client` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-copilotstudio-client)](https://pypi.org/project/microsoft-agents-copilotstudio-client/) | Direct to Engine client to interact with Agents created in CopilotStudio |
73
+
74
+
75
+ ## Installation
76
+
77
+ ```bash
78
+ pip install microsoft-agents-hosting-teams
79
+ ```
80
+
81
+ ## Key Classes Reference
82
+
83
+ - **`TeamsActivityHandler`** - Main handler class with Teams-specific event methods
84
+ - **`TeamsInfo`** - Utility class for Teams operations (members, meetings, channels)
85
+ - **`MessagingExtensionQuery/Response`** - Handle search and messaging extensions
86
+ - **`TaskModuleRequest/Response`** - Interactive dialogs and forms
87
+ - **`TabRequest/Response`** - Tab application interactions
88
+
89
+ ## Features Supported
90
+
91
+ ✅ **Messaging Extensions** - Search and action-based extensions
92
+ ✅ **Task Modules** - Interactive dialogs and forms
93
+ ✅ **Adaptive Cards** - Rich card interactions
94
+ ✅ **Meeting Events** - Start, end, participant changes
95
+ ✅ **Team Management** - Member operations, channel messaging
96
+ ✅ **File Handling** - Upload/download with consent flow
97
+ ✅ **Tab Apps** - Personal and team tab interactions
98
+ ✅ **Proactive Messaging** - Send messages to channels/users
99
+
100
+ ## Migration from Bot Framework
101
+
102
+ | Bot Framework Teams | Microsoft Agents Teams |
103
+ |-------------------|------------------------|
104
+ | `TeamsActivityHandler` | `TeamsActivityHandler` |
105
+ | `TeamsInfo` | `TeamsInfo` |
106
+ | `on_teams_members_added` | `on_teams_members_added_activity` |
107
+ | `MessagingExtensionQuery` | `MessagingExtensionQuery` |
108
+ | `TaskModuleRequest` | `TaskModuleRequest` |
109
+
110
+ # Quick Links
111
+
112
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
113
+ - 📖 [Complete Documentation](https://aka.ms/agents)
114
+ - 💡 [Python Samples Repository](https://github.com/microsoft/Agents/tree/main/samples/python)
115
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
116
+
117
+ # Sample Applications
118
+
119
+ |Name|Description|README|
120
+ |----|----|----|
121
+ |Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)|
122
+ |Auto Sign In|Simple OAuth agent using Graph and GitHub|[auto-signin](https://github.com/microsoft/Agents/blob/main/samples/python/auto-signin/README.md)|
123
+ |OBO Authorization|OBO flow to access a Copilot Studio Agent|[obo-authorization](https://github.com/microsoft/Agents/blob/main/samples/python/obo-authorization/README.md)|
124
+ |Semantic Kernel Integration|A weather agent built with Semantic Kernel|[semantic-kernel-multiturn](https://github.com/microsoft/Agents/blob/main/samples/python/semantic-kernel-multiturn/README.md)|
125
+ |Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)|
126
+ |Copilot Studio Client|Console app to consume a Copilot Studio Agent|[copilotstudio-client](https://github.com/microsoft/Agents/blob/main/samples/python/copilotstudio-client/README.md)|
127
+ |Cards Agent|Agent that uses rich cards to enhance conversation design |[cards](https://github.com/microsoft/Agents/blob/main/samples/python/cards/README.md)|
@@ -0,0 +1,127 @@
1
+ Metadata-Version: 2.4
2
+ Name: microsoft-agents-hosting-teams
3
+ Version: 0.5.0
4
+ Summary: Integration library for Microsoft Agents with Teams
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==0.5.0
19
+ Requires-Dist: aiohttp>=3.11.11
20
+ Dynamic: license-file
21
+ Dynamic: requires-dist
22
+
23
+ # Microsoft Agents Hosting - Teams
24
+
25
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-teams)](https://pypi.org/project/microsoft-agents-hosting-teams/)
26
+
27
+ Integration library for building Microsoft Teams agents using the Microsoft 365 Agents SDK. This library provides specialized handlers and utilities for Teams-specific functionality like messaging extensions, task modules, adaptive cards, and meeting events.
28
+
29
+ This library extends the core hosting capabilities with Teams-specific features. It handles Teams' unique interaction patterns like messaging extensions, tab applications, task modules, and meeting integrations. Think of it as the bridge that makes your agent "Teams-native" rather than just a generic chatbot.
30
+
31
+ This library is still in flux, as the interfaces to Teams continue to evolve.
32
+
33
+ # What is this?
34
+ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehensive framework for building enterprise-grade conversational AI agents. The SDK enables developers to create intelligent agents that work across multiple platforms including Microsoft Teams, M365 Copilot, Copilot Studio, and web chat, with support for third-party integrations like Slack, Facebook Messenger, and Twilio.
35
+
36
+ ## Release Notes
37
+ <table style="width:100%">
38
+ <tr>
39
+ <th style="width:20%">Version</th>
40
+ <th style="width:20%">Date</th>
41
+ <th style="width:60%">Release Notes</th>
42
+ </tr>
43
+ <tr>
44
+ <td>0.5.0</td>
45
+ <td>2025-10-22</td>
46
+ <td>
47
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md">
48
+ 0.5.0 Release Notes
49
+ </a>
50
+ </td>
51
+ </tr>
52
+ </table>
53
+
54
+ ## Packages Overview
55
+
56
+ We offer the following PyPI packages to create conversational experiences based on Agents:
57
+
58
+ | Package Name | PyPI Version | Description |
59
+ |--------------|-------------|-------------|
60
+ | `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. |
61
+ | `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. |
62
+ | `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. |
63
+ | `microsoft-agents-hosting-teams` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-teams)](https://pypi.org/project/microsoft-agents-hosting-teams/) | Provides classes to host an Agent for Teams. |
64
+ | `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. |
65
+ | `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. |
66
+ | `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. |
67
+
68
+ Additionally we provide a Copilot Studio Client, to interact with Agents created in CopilotStudio:
69
+
70
+ | Package Name | PyPI Version | Description |
71
+ |--------------|-------------|-------------|
72
+ | `microsoft-agents-copilotstudio-client` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-copilotstudio-client)](https://pypi.org/project/microsoft-agents-copilotstudio-client/) | Direct to Engine client to interact with Agents created in CopilotStudio |
73
+
74
+
75
+ ## Installation
76
+
77
+ ```bash
78
+ pip install microsoft-agents-hosting-teams
79
+ ```
80
+
81
+ ## Key Classes Reference
82
+
83
+ - **`TeamsActivityHandler`** - Main handler class with Teams-specific event methods
84
+ - **`TeamsInfo`** - Utility class for Teams operations (members, meetings, channels)
85
+ - **`MessagingExtensionQuery/Response`** - Handle search and messaging extensions
86
+ - **`TaskModuleRequest/Response`** - Interactive dialogs and forms
87
+ - **`TabRequest/Response`** - Tab application interactions
88
+
89
+ ## Features Supported
90
+
91
+ ✅ **Messaging Extensions** - Search and action-based extensions
92
+ ✅ **Task Modules** - Interactive dialogs and forms
93
+ ✅ **Adaptive Cards** - Rich card interactions
94
+ ✅ **Meeting Events** - Start, end, participant changes
95
+ ✅ **Team Management** - Member operations, channel messaging
96
+ ✅ **File Handling** - Upload/download with consent flow
97
+ ✅ **Tab Apps** - Personal and team tab interactions
98
+ ✅ **Proactive Messaging** - Send messages to channels/users
99
+
100
+ ## Migration from Bot Framework
101
+
102
+ | Bot Framework Teams | Microsoft Agents Teams |
103
+ |-------------------|------------------------|
104
+ | `TeamsActivityHandler` | `TeamsActivityHandler` |
105
+ | `TeamsInfo` | `TeamsInfo` |
106
+ | `on_teams_members_added` | `on_teams_members_added_activity` |
107
+ | `MessagingExtensionQuery` | `MessagingExtensionQuery` |
108
+ | `TaskModuleRequest` | `TaskModuleRequest` |
109
+
110
+ # Quick Links
111
+
112
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
113
+ - 📖 [Complete Documentation](https://aka.ms/agents)
114
+ - 💡 [Python Samples Repository](https://github.com/microsoft/Agents/tree/main/samples/python)
115
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
116
+
117
+ # Sample Applications
118
+
119
+ |Name|Description|README|
120
+ |----|----|----|
121
+ |Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)|
122
+ |Auto Sign In|Simple OAuth agent using Graph and GitHub|[auto-signin](https://github.com/microsoft/Agents/blob/main/samples/python/auto-signin/README.md)|
123
+ |OBO Authorization|OBO flow to access a Copilot Studio Agent|[obo-authorization](https://github.com/microsoft/Agents/blob/main/samples/python/obo-authorization/README.md)|
124
+ |Semantic Kernel Integration|A weather agent built with Semantic Kernel|[semantic-kernel-multiturn](https://github.com/microsoft/Agents/blob/main/samples/python/semantic-kernel-multiturn/README.md)|
125
+ |Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)|
126
+ |Copilot Studio Client|Console app to consume a Copilot Studio Agent|[copilotstudio-client](https://github.com/microsoft/Agents/blob/main/samples/python/copilotstudio-client/README.md)|
127
+ |Cards Agent|Agent that uses rich cards to enhance conversation design |[cards](https://github.com/microsoft/Agents/blob/main/samples/python/cards/README.md)|
@@ -1,4 +1,6 @@
1
+ LICENSE
1
2
  pyproject.toml
3
+ readme.md
2
4
  setup.py
3
5
  microsoft_agents/hosting/teams/__init__.py
4
6
  microsoft_agents/hosting/teams/teams_activity_handler.py
@@ -0,0 +1,2 @@
1
+ microsoft-agents-hosting-core==0.5.0
2
+ aiohttp>=3.11.11
@@ -6,11 +6,18 @@ build-backend = "setuptools.build_meta"
6
6
  name = "microsoft-agents-hosting-teams"
7
7
  dynamic = ["version", "dependencies"]
8
8
  description = "Integration library for Microsoft Agents with Teams"
9
+ readme = {file = "readme.md", content-type = "text/markdown"}
9
10
  authors = [{name = "Microsoft Corporation"}]
10
- requires-python = ">=3.9"
11
+ license = "MIT"
12
+ license-files = ["LICENSE"]
13
+ requires-python = ">=3.10"
11
14
  classifiers = [
12
15
  "Programming Language :: Python :: 3",
13
- "License :: OSI Approved :: MIT License",
16
+ "Programming Language :: Python :: 3.10",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
14
21
  "Operating System :: OS Independent",
15
22
  ]
16
23
 
@@ -0,0 +1,105 @@
1
+ # Microsoft Agents Hosting - Teams
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-teams)](https://pypi.org/project/microsoft-agents-hosting-teams/)
4
+
5
+ Integration library for building Microsoft Teams agents using the Microsoft 365 Agents SDK. This library provides specialized handlers and utilities for Teams-specific functionality like messaging extensions, task modules, adaptive cards, and meeting events.
6
+
7
+ This library extends the core hosting capabilities with Teams-specific features. It handles Teams' unique interaction patterns like messaging extensions, tab applications, task modules, and meeting integrations. Think of it as the bridge that makes your agent "Teams-native" rather than just a generic chatbot.
8
+
9
+ This library is still in flux, as the interfaces to Teams continue to evolve.
10
+
11
+ # What is this?
12
+ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehensive framework for building enterprise-grade conversational AI agents. The SDK enables developers to create intelligent agents that work across multiple platforms including Microsoft Teams, M365 Copilot, Copilot Studio, and web chat, with support for third-party integrations like Slack, Facebook Messenger, and Twilio.
13
+
14
+ ## Release Notes
15
+ <table style="width:100%">
16
+ <tr>
17
+ <th style="width:20%">Version</th>
18
+ <th style="width:20%">Date</th>
19
+ <th style="width:60%">Release Notes</th>
20
+ </tr>
21
+ <tr>
22
+ <td>0.5.0</td>
23
+ <td>2025-10-22</td>
24
+ <td>
25
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md">
26
+ 0.5.0 Release Notes
27
+ </a>
28
+ </td>
29
+ </tr>
30
+ </table>
31
+
32
+ ## Packages Overview
33
+
34
+ We offer the following PyPI packages to create conversational experiences based on Agents:
35
+
36
+ | Package Name | PyPI Version | Description |
37
+ |--------------|-------------|-------------|
38
+ | `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. |
39
+ | `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. |
40
+ | `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. |
41
+ | `microsoft-agents-hosting-teams` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-hosting-teams)](https://pypi.org/project/microsoft-agents-hosting-teams/) | Provides classes to host an Agent for Teams. |
42
+ | `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. |
43
+ | `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. |
44
+ | `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. |
45
+
46
+ Additionally we provide a Copilot Studio Client, to interact with Agents created in CopilotStudio:
47
+
48
+ | Package Name | PyPI Version | Description |
49
+ |--------------|-------------|-------------|
50
+ | `microsoft-agents-copilotstudio-client` | [![PyPI](https://img.shields.io/pypi/v/microsoft-agents-copilotstudio-client)](https://pypi.org/project/microsoft-agents-copilotstudio-client/) | Direct to Engine client to interact with Agents created in CopilotStudio |
51
+
52
+
53
+ ## Installation
54
+
55
+ ```bash
56
+ pip install microsoft-agents-hosting-teams
57
+ ```
58
+
59
+ ## Key Classes Reference
60
+
61
+ - **`TeamsActivityHandler`** - Main handler class with Teams-specific event methods
62
+ - **`TeamsInfo`** - Utility class for Teams operations (members, meetings, channels)
63
+ - **`MessagingExtensionQuery/Response`** - Handle search and messaging extensions
64
+ - **`TaskModuleRequest/Response`** - Interactive dialogs and forms
65
+ - **`TabRequest/Response`** - Tab application interactions
66
+
67
+ ## Features Supported
68
+
69
+ ✅ **Messaging Extensions** - Search and action-based extensions
70
+ ✅ **Task Modules** - Interactive dialogs and forms
71
+ ✅ **Adaptive Cards** - Rich card interactions
72
+ ✅ **Meeting Events** - Start, end, participant changes
73
+ ✅ **Team Management** - Member operations, channel messaging
74
+ ✅ **File Handling** - Upload/download with consent flow
75
+ ✅ **Tab Apps** - Personal and team tab interactions
76
+ ✅ **Proactive Messaging** - Send messages to channels/users
77
+
78
+ ## Migration from Bot Framework
79
+
80
+ | Bot Framework Teams | Microsoft Agents Teams |
81
+ |-------------------|------------------------|
82
+ | `TeamsActivityHandler` | `TeamsActivityHandler` |
83
+ | `TeamsInfo` | `TeamsInfo` |
84
+ | `on_teams_members_added` | `on_teams_members_added_activity` |
85
+ | `MessagingExtensionQuery` | `MessagingExtensionQuery` |
86
+ | `TaskModuleRequest` | `TaskModuleRequest` |
87
+
88
+ # Quick Links
89
+
90
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
91
+ - 📖 [Complete Documentation](https://aka.ms/agents)
92
+ - 💡 [Python Samples Repository](https://github.com/microsoft/Agents/tree/main/samples/python)
93
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
94
+
95
+ # Sample Applications
96
+
97
+ |Name|Description|README|
98
+ |----|----|----|
99
+ |Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)|
100
+ |Auto Sign In|Simple OAuth agent using Graph and GitHub|[auto-signin](https://github.com/microsoft/Agents/blob/main/samples/python/auto-signin/README.md)|
101
+ |OBO Authorization|OBO flow to access a Copilot Studio Agent|[obo-authorization](https://github.com/microsoft/Agents/blob/main/samples/python/obo-authorization/README.md)|
102
+ |Semantic Kernel Integration|A weather agent built with Semantic Kernel|[semantic-kernel-multiturn](https://github.com/microsoft/Agents/blob/main/samples/python/semantic-kernel-multiturn/README.md)|
103
+ |Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)|
104
+ |Copilot Studio Client|Console app to consume a Copilot Studio Agent|[copilotstudio-client](https://github.com/microsoft/Agents/blob/main/samples/python/copilotstudio-client/README.md)|
105
+ |Cards Agent|Agent that uses rich cards to enhance conversation design |[cards](https://github.com/microsoft/Agents/blob/main/samples/python/cards/README.md)|
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: microsoft-agents-hosting-teams
3
- Version: 0.4.0.dev16
4
- Summary: Integration library for Microsoft Agents with Teams
5
- Author: Microsoft Corporation
6
- Project-URL: Homepage, https://github.com/microsoft/Agents
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Requires-Python: >=3.9
11
- Requires-Dist: microsoft-agents-hosting-core==0.4.0.dev16
12
- Requires-Dist: aiohttp>=3.11.11
13
- Dynamic: requires-dist
@@ -1,13 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: microsoft-agents-hosting-teams
3
- Version: 0.4.0.dev16
4
- Summary: Integration library for Microsoft Agents with Teams
5
- Author: Microsoft Corporation
6
- Project-URL: Homepage, https://github.com/microsoft/Agents
7
- Classifier: Programming Language :: Python :: 3
8
- Classifier: License :: OSI Approved :: MIT License
9
- Classifier: Operating System :: OS Independent
10
- Requires-Python: >=3.9
11
- Requires-Dist: microsoft-agents-hosting-core==0.4.0.dev16
12
- Requires-Dist: aiohttp>=3.11.11
13
- Dynamic: requires-dist
@@ -1,2 +0,0 @@
1
- microsoft-agents-hosting-core==0.4.0.dev16
2
- aiohttp>=3.11.11