microsoft-agents-hosting-core 0.5.0.dev5__tar.gz → 0.5.0.dev7__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 (106) hide show
  1. microsoft_agents_hosting_core-0.5.0.dev7/PKG-INFO +168 -0
  2. microsoft_agents_hosting_core-0.5.0.dev7/microsoft_agents_hosting_core.egg-info/PKG-INFO +168 -0
  3. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents_hosting_core.egg-info/SOURCES.txt +1 -0
  4. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents_hosting_core.egg-info/requires.txt +1 -1
  5. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/pyproject.toml +1 -0
  6. microsoft_agents_hosting_core-0.5.0.dev7/readme.md +148 -0
  7. microsoft_agents_hosting_core-0.5.0.dev5/PKG-INFO +0 -18
  8. microsoft_agents_hosting_core-0.5.0.dev5/microsoft_agents_hosting_core.egg-info/PKG-INFO +0 -18
  9. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/LICENSE +0 -0
  10. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/__init__.py +0 -0
  11. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/_oauth/__init__.py +0 -0
  12. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/_oauth/_flow_state.py +0 -0
  13. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/_oauth/_flow_storage_client.py +0 -0
  14. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/_oauth/_oauth_flow.py +0 -0
  15. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/activity_handler.py +0 -0
  16. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/agent.py +0 -0
  17. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/__init__.py +0 -0
  18. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/_routes/__init__.py +0 -0
  19. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/_routes/_route.py +0 -0
  20. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/_routes/_route_list.py +0 -0
  21. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/_routes/route_rank.py +0 -0
  22. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/_type_defs.py +0 -0
  23. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/agent_application.py +0 -0
  24. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/app_error.py +0 -0
  25. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/app_options.py +0 -0
  26. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/input_file.py +0 -0
  27. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/__init__.py +0 -0
  28. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py +0 -0
  29. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py +0 -0
  30. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py +0 -0
  31. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py +0 -0
  32. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/_sign_in_response.py +0 -0
  33. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/_sign_in_state.py +0 -0
  34. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/auth_handler.py +0 -0
  35. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/oauth/authorization.py +0 -0
  36. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/query.py +0 -0
  37. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/state/__init__.py +0 -0
  38. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/state/conversation_state.py +0 -0
  39. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/state/state.py +0 -0
  40. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/state/temp_state.py +0 -0
  41. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/state/turn_state.py +0 -0
  42. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/app/typing_indicator.py +0 -0
  43. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/__init__.py +0 -0
  44. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/access_token_provider_base.py +0 -0
  45. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/agent_auth_configuration.py +0 -0
  46. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/anonymous_token_provider.py +0 -0
  47. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/auth_types.py +0 -0
  48. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/authentication_constants.py +0 -0
  49. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/claims_identity.py +0 -0
  50. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/connections.py +0 -0
  51. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/authorization/jwt_token_validator.py +0 -0
  52. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/card_factory.py +0 -0
  53. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/channel_adapter.py +0 -0
  54. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/channel_api_handler_protocol.py +0 -0
  55. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/channel_service_adapter.py +0 -0
  56. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/channel_service_client_factory_base.py +0 -0
  57. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/__init__.py +0 -0
  58. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/agent_conversation_reference.py +0 -0
  59. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/channel_factory_protocol.py +0 -0
  60. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/channel_host_protocol.py +0 -0
  61. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/channel_info_protocol.py +0 -0
  62. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/channel_protocol.py +0 -0
  63. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/channels_configuration.py +0 -0
  64. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/configuration_channel_host.py +0 -0
  65. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/conversation_constants.py +0 -0
  66. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/conversation_id_factory.py +0 -0
  67. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/conversation_id_factory_options.py +0 -0
  68. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py +0 -0
  69. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/http_agent_channel.py +0 -0
  70. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/client/http_agent_channel_factory.py +0 -0
  71. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/__init__.py +0 -0
  72. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/agent_sign_in_base.py +0 -0
  73. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/attachments_base.py +0 -0
  74. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/client/__init__.py +0 -0
  75. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/client/connector_client.py +0 -0
  76. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/client/user_token_client.py +0 -0
  77. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/connector_client_base.py +0 -0
  78. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/conversations_base.py +0 -0
  79. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/get_product_info.py +0 -0
  80. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/teams/__init__.py +0 -0
  81. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/teams/teams_connector_client.py +0 -0
  82. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/user_token_base.py +0 -0
  83. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/connector/user_token_client_base.py +0 -0
  84. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/message_factory.py +0 -0
  85. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/middleware_set.py +0 -0
  86. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/rest_channel_service_client_factory.py +0 -0
  87. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/state/__init__.py +0 -0
  88. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/state/agent_state.py +0 -0
  89. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/state/state_property_accessor.py +0 -0
  90. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/state/user_state.py +0 -0
  91. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/__init__.py +0 -0
  92. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/_type_aliases.py +0 -0
  93. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/error_handling.py +0 -0
  94. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/memory_storage.py +0 -0
  95. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/storage.py +0 -0
  96. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/store_item.py +0 -0
  97. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/transcript_file_store.py +0 -0
  98. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/transcript_info.py +0 -0
  99. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/transcript_logger.py +0 -0
  100. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/transcript_memory_store.py +0 -0
  101. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/storage/transcript_store.py +0 -0
  102. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents/hosting/core/turn_context.py +0 -0
  103. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents_hosting_core.egg-info/dependency_links.txt +0 -0
  104. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/microsoft_agents_hosting_core.egg-info/top_level.txt +0 -0
  105. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/setup.cfg +0 -0
  106. {microsoft_agents_hosting_core-0.5.0.dev5 → microsoft_agents_hosting_core-0.5.0.dev7}/setup.py +0 -0
@@ -0,0 +1,168 @@
1
+ Metadata-Version: 2.4
2
+ Name: microsoft-agents-hosting-core
3
+ Version: 0.5.0.dev7
4
+ Summary: Core library for Microsoft Agents
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: Operating System :: OS Independent
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: microsoft-agents-activity==0.5.0.dev7
14
+ Requires-Dist: pyjwt>=2.10.1
15
+ Requires-Dist: isodate>=0.6.1
16
+ Requires-Dist: azure-core>=1.30.0
17
+ Requires-Dist: python-dotenv>=1.1.1
18
+ Dynamic: license-file
19
+ Dynamic: requires-dist
20
+
21
+ # Microsoft Agents Hosting Core
22
+
23
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-core)](https://pypi.org/project/microsoft-agents-hosting-core/)
24
+
25
+ The core hosting library for Microsoft 365 Agents SDK. This library provides the fundamental building blocks for creating conversational AI agents, including activity processing, state management, authentication, and channel communication.
26
+
27
+ This is the heart of the Microsoft 365 Agents SDK - think of it as the engine that powers your conversational agents. It handles the complex orchestration of conversations, manages state across turns, and provides the infrastructure needed to build production-ready agents that work across Microsoft 365 platforms.
28
+
29
+ # What is this?
30
+ 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.
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-core
57
+ ```
58
+ ## Simple Echo Agent
59
+ See the [Quickstart sample](https://github.com/microsoft/Agents/tree/main/samples/python/quickstart) for full working code.
60
+
61
+ ```python
62
+ agents_sdk_config = load_configuration_from_env(environ)
63
+
64
+ STORAGE = MemoryStorage()
65
+ CONNECTION_MANAGER = MsalConnectionManager(**agents_sdk_config)
66
+ ADAPTER = CloudAdapter(connection_manager=CONNECTION_MANAGER)
67
+ AUTHORIZATION = Authorization(STORAGE, CONNECTION_MANAGER, **agents_sdk_config)
68
+
69
+ AGENT_APP = AgentApplication[TurnState](
70
+ storage=STORAGE, adapter=ADAPTER, authorization=AUTHORIZATION, **agents_sdk_config
71
+ )
72
+
73
+ @AGENT_APP.activity("message")
74
+ async def on_message(context: TurnContext, state: TurnState):
75
+ await context.send_activity(f"You said: {context.activity.text}")
76
+
77
+ ...
78
+
79
+ start_server(
80
+ agent_application=AGENT_APP,
81
+ auth_configuration=CONNECTION_MANAGER.get_default_connection_configuration(),
82
+ )
83
+ ```
84
+
85
+ ## Core Concepts
86
+
87
+ ### AgentApplication vs ActivityHandler
88
+
89
+ **AgentApplication** - Modern, fluent API for building agents:
90
+ - Decorator-based routing (`@agent_app.activity("message")`)
91
+ - Built-in state management and middleware
92
+ - AI-ready with authorization support
93
+ - Type-safe with generics
94
+
95
+ **ActivityHandler** - Traditional inheritance-based approach:
96
+ - Override methods for different activity types
97
+ - More familiar to Bot Framework developers
98
+ - Lower-level control over activity processing
99
+
100
+ ### Route-based Message Handling
101
+
102
+ ```python
103
+ @AGENT_APP.message(re.compile(r"^hello$"))
104
+ async def on_hello(context: TurnContext, _state: TurnState):
105
+ await context.send_activity("Hello!")
106
+
107
+
108
+ @AGENT_APP.activity("message")
109
+ async def on_message(context: TurnContext, _state: TurnState):
110
+ await context.send_activity(f"you said: {context.activity.text}")
111
+ ```
112
+
113
+ ### Error Handling
114
+
115
+ ```python
116
+ @AGENT_APP.error
117
+ async def on_error(context: TurnContext, error: Exception):
118
+ # NOTE: In production environment, you should consider logging this to Azure
119
+ # application insights.
120
+ print(f"\n [on_turn_error] unhandled error: {error}", file=sys.stderr)
121
+ traceback.print_exc()
122
+
123
+ # Send a message to the user
124
+ await context.send_activity("The bot encountered an error or bug.")
125
+ ```
126
+
127
+
128
+ ## Key Classes Reference
129
+
130
+ ### Core Classes
131
+ - **`AgentApplication`** - Main application class with fluent API
132
+ - **`ActivityHandler`** - Base class for inheritance-based agents
133
+ - **`TurnContext`** - Context for each conversation turn
134
+ - **`TurnState`** - State management across conversation turns
135
+
136
+ ### State Management
137
+ - **`ConversationState`** - Conversation-scoped state
138
+ - **`UserState`** - User-scoped state across conversations
139
+ - **`TempState`** - Temporary state for current turn
140
+ - **`MemoryStorage`** - In-memory storage (development)
141
+
142
+ ### Messaging
143
+ - **`MessageFactory`** - Create different types of messages
144
+ - **`CardFactory`** - Create rich card attachments
145
+ - **`InputFile`** - Handle file attachments
146
+
147
+ ### Authorization
148
+ - **`Authorization`** - Authentication and authorization manager
149
+ - **`ClaimsIdentity`** - User identity and claims
150
+
151
+ # Quick Links
152
+
153
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
154
+ - 📖 [Complete Documentation](https://aka.ms/agents)
155
+ - 💡 [Python Samples Repository](https://github.com/microsoft/Agents/tree/main/samples/python)
156
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
157
+
158
+ # Sample Applications
159
+
160
+ |Name|Description|README|
161
+ |----|----|----|
162
+ |Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)|
163
+ |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)|
164
+ |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)|
165
+ |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)|
166
+ |Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)|
167
+ |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)|
168
+ |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,168 @@
1
+ Metadata-Version: 2.4
2
+ Name: microsoft-agents-hosting-core
3
+ Version: 0.5.0.dev7
4
+ Summary: Core library for Microsoft Agents
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: Operating System :: OS Independent
10
+ Requires-Python: >=3.9
11
+ Description-Content-Type: text/markdown
12
+ License-File: LICENSE
13
+ Requires-Dist: microsoft-agents-activity==0.5.0.dev7
14
+ Requires-Dist: pyjwt>=2.10.1
15
+ Requires-Dist: isodate>=0.6.1
16
+ Requires-Dist: azure-core>=1.30.0
17
+ Requires-Dist: python-dotenv>=1.1.1
18
+ Dynamic: license-file
19
+ Dynamic: requires-dist
20
+
21
+ # Microsoft Agents Hosting Core
22
+
23
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-core)](https://pypi.org/project/microsoft-agents-hosting-core/)
24
+
25
+ The core hosting library for Microsoft 365 Agents SDK. This library provides the fundamental building blocks for creating conversational AI agents, including activity processing, state management, authentication, and channel communication.
26
+
27
+ This is the heart of the Microsoft 365 Agents SDK - think of it as the engine that powers your conversational agents. It handles the complex orchestration of conversations, manages state across turns, and provides the infrastructure needed to build production-ready agents that work across Microsoft 365 platforms.
28
+
29
+ # What is this?
30
+ 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.
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-core
57
+ ```
58
+ ## Simple Echo Agent
59
+ See the [Quickstart sample](https://github.com/microsoft/Agents/tree/main/samples/python/quickstart) for full working code.
60
+
61
+ ```python
62
+ agents_sdk_config = load_configuration_from_env(environ)
63
+
64
+ STORAGE = MemoryStorage()
65
+ CONNECTION_MANAGER = MsalConnectionManager(**agents_sdk_config)
66
+ ADAPTER = CloudAdapter(connection_manager=CONNECTION_MANAGER)
67
+ AUTHORIZATION = Authorization(STORAGE, CONNECTION_MANAGER, **agents_sdk_config)
68
+
69
+ AGENT_APP = AgentApplication[TurnState](
70
+ storage=STORAGE, adapter=ADAPTER, authorization=AUTHORIZATION, **agents_sdk_config
71
+ )
72
+
73
+ @AGENT_APP.activity("message")
74
+ async def on_message(context: TurnContext, state: TurnState):
75
+ await context.send_activity(f"You said: {context.activity.text}")
76
+
77
+ ...
78
+
79
+ start_server(
80
+ agent_application=AGENT_APP,
81
+ auth_configuration=CONNECTION_MANAGER.get_default_connection_configuration(),
82
+ )
83
+ ```
84
+
85
+ ## Core Concepts
86
+
87
+ ### AgentApplication vs ActivityHandler
88
+
89
+ **AgentApplication** - Modern, fluent API for building agents:
90
+ - Decorator-based routing (`@agent_app.activity("message")`)
91
+ - Built-in state management and middleware
92
+ - AI-ready with authorization support
93
+ - Type-safe with generics
94
+
95
+ **ActivityHandler** - Traditional inheritance-based approach:
96
+ - Override methods for different activity types
97
+ - More familiar to Bot Framework developers
98
+ - Lower-level control over activity processing
99
+
100
+ ### Route-based Message Handling
101
+
102
+ ```python
103
+ @AGENT_APP.message(re.compile(r"^hello$"))
104
+ async def on_hello(context: TurnContext, _state: TurnState):
105
+ await context.send_activity("Hello!")
106
+
107
+
108
+ @AGENT_APP.activity("message")
109
+ async def on_message(context: TurnContext, _state: TurnState):
110
+ await context.send_activity(f"you said: {context.activity.text}")
111
+ ```
112
+
113
+ ### Error Handling
114
+
115
+ ```python
116
+ @AGENT_APP.error
117
+ async def on_error(context: TurnContext, error: Exception):
118
+ # NOTE: In production environment, you should consider logging this to Azure
119
+ # application insights.
120
+ print(f"\n [on_turn_error] unhandled error: {error}", file=sys.stderr)
121
+ traceback.print_exc()
122
+
123
+ # Send a message to the user
124
+ await context.send_activity("The bot encountered an error or bug.")
125
+ ```
126
+
127
+
128
+ ## Key Classes Reference
129
+
130
+ ### Core Classes
131
+ - **`AgentApplication`** - Main application class with fluent API
132
+ - **`ActivityHandler`** - Base class for inheritance-based agents
133
+ - **`TurnContext`** - Context for each conversation turn
134
+ - **`TurnState`** - State management across conversation turns
135
+
136
+ ### State Management
137
+ - **`ConversationState`** - Conversation-scoped state
138
+ - **`UserState`** - User-scoped state across conversations
139
+ - **`TempState`** - Temporary state for current turn
140
+ - **`MemoryStorage`** - In-memory storage (development)
141
+
142
+ ### Messaging
143
+ - **`MessageFactory`** - Create different types of messages
144
+ - **`CardFactory`** - Create rich card attachments
145
+ - **`InputFile`** - Handle file attachments
146
+
147
+ ### Authorization
148
+ - **`Authorization`** - Authentication and authorization manager
149
+ - **`ClaimsIdentity`** - User identity and claims
150
+
151
+ # Quick Links
152
+
153
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
154
+ - 📖 [Complete Documentation](https://aka.ms/agents)
155
+ - 💡 [Python Samples Repository](https://github.com/microsoft/Agents/tree/main/samples/python)
156
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
157
+
158
+ # Sample Applications
159
+
160
+ |Name|Description|README|
161
+ |----|----|----|
162
+ |Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)|
163
+ |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)|
164
+ |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)|
165
+ |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)|
166
+ |Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)|
167
+ |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)|
168
+ |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,5 +1,6 @@
1
1
  LICENSE
2
2
  pyproject.toml
3
+ readme.md
3
4
  setup.py
4
5
  microsoft_agents/hosting/core/__init__.py
5
6
  microsoft_agents/hosting/core/activity_handler.py
@@ -1,4 +1,4 @@
1
- microsoft-agents-activity==0.5.0.dev5
1
+ microsoft-agents-activity==0.5.0.dev7
2
2
  pyjwt>=2.10.1
3
3
  isodate>=0.6.1
4
4
  azure-core>=1.30.0
@@ -6,6 +6,7 @@ build-backend = "setuptools.build_meta"
6
6
  name = "microsoft-agents-hosting-core"
7
7
  dynamic = ["version", "dependencies"]
8
8
  description = "Core library for Microsoft Agents"
9
+ readme = {file = "readme.md", content-type = "text/markdown"}
9
10
  authors = [{name = "Microsoft Corporation"}]
10
11
  license = "MIT"
11
12
  license-files = ["LICENSE"]
@@ -0,0 +1,148 @@
1
+ # Microsoft Agents Hosting Core
2
+
3
+ [![PyPI version](https://img.shields.io/pypi/v/microsoft-agents-hosting-core)](https://pypi.org/project/microsoft-agents-hosting-core/)
4
+
5
+ The core hosting library for Microsoft 365 Agents SDK. This library provides the fundamental building blocks for creating conversational AI agents, including activity processing, state management, authentication, and channel communication.
6
+
7
+ This is the heart of the Microsoft 365 Agents SDK - think of it as the engine that powers your conversational agents. It handles the complex orchestration of conversations, manages state across turns, and provides the infrastructure needed to build production-ready agents that work across Microsoft 365 platforms.
8
+
9
+ # What is this?
10
+ 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.
11
+
12
+ ## Packages Overview
13
+
14
+ We offer the following PyPI packages to create conversational experiences based on Agents:
15
+
16
+ | Package Name | PyPI Version | Description |
17
+ |--------------|-------------|-------------|
18
+ | `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. |
19
+ | `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. |
20
+ | `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. |
21
+ | `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. |
22
+ | `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. |
23
+ | `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. |
24
+ | `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. |
25
+
26
+ Additionally we provide a Copilot Studio Client, to interact with Agents created in CopilotStudio:
27
+
28
+ | Package Name | PyPI Version | Description |
29
+ |--------------|-------------|-------------|
30
+ | `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 |
31
+
32
+
33
+ ## Installation
34
+
35
+ ```bash
36
+ pip install microsoft-agents-hosting-core
37
+ ```
38
+ ## Simple Echo Agent
39
+ See the [Quickstart sample](https://github.com/microsoft/Agents/tree/main/samples/python/quickstart) for full working code.
40
+
41
+ ```python
42
+ agents_sdk_config = load_configuration_from_env(environ)
43
+
44
+ STORAGE = MemoryStorage()
45
+ CONNECTION_MANAGER = MsalConnectionManager(**agents_sdk_config)
46
+ ADAPTER = CloudAdapter(connection_manager=CONNECTION_MANAGER)
47
+ AUTHORIZATION = Authorization(STORAGE, CONNECTION_MANAGER, **agents_sdk_config)
48
+
49
+ AGENT_APP = AgentApplication[TurnState](
50
+ storage=STORAGE, adapter=ADAPTER, authorization=AUTHORIZATION, **agents_sdk_config
51
+ )
52
+
53
+ @AGENT_APP.activity("message")
54
+ async def on_message(context: TurnContext, state: TurnState):
55
+ await context.send_activity(f"You said: {context.activity.text}")
56
+
57
+ ...
58
+
59
+ start_server(
60
+ agent_application=AGENT_APP,
61
+ auth_configuration=CONNECTION_MANAGER.get_default_connection_configuration(),
62
+ )
63
+ ```
64
+
65
+ ## Core Concepts
66
+
67
+ ### AgentApplication vs ActivityHandler
68
+
69
+ **AgentApplication** - Modern, fluent API for building agents:
70
+ - Decorator-based routing (`@agent_app.activity("message")`)
71
+ - Built-in state management and middleware
72
+ - AI-ready with authorization support
73
+ - Type-safe with generics
74
+
75
+ **ActivityHandler** - Traditional inheritance-based approach:
76
+ - Override methods for different activity types
77
+ - More familiar to Bot Framework developers
78
+ - Lower-level control over activity processing
79
+
80
+ ### Route-based Message Handling
81
+
82
+ ```python
83
+ @AGENT_APP.message(re.compile(r"^hello$"))
84
+ async def on_hello(context: TurnContext, _state: TurnState):
85
+ await context.send_activity("Hello!")
86
+
87
+
88
+ @AGENT_APP.activity("message")
89
+ async def on_message(context: TurnContext, _state: TurnState):
90
+ await context.send_activity(f"you said: {context.activity.text}")
91
+ ```
92
+
93
+ ### Error Handling
94
+
95
+ ```python
96
+ @AGENT_APP.error
97
+ async def on_error(context: TurnContext, error: Exception):
98
+ # NOTE: In production environment, you should consider logging this to Azure
99
+ # application insights.
100
+ print(f"\n [on_turn_error] unhandled error: {error}", file=sys.stderr)
101
+ traceback.print_exc()
102
+
103
+ # Send a message to the user
104
+ await context.send_activity("The bot encountered an error or bug.")
105
+ ```
106
+
107
+
108
+ ## Key Classes Reference
109
+
110
+ ### Core Classes
111
+ - **`AgentApplication`** - Main application class with fluent API
112
+ - **`ActivityHandler`** - Base class for inheritance-based agents
113
+ - **`TurnContext`** - Context for each conversation turn
114
+ - **`TurnState`** - State management across conversation turns
115
+
116
+ ### State Management
117
+ - **`ConversationState`** - Conversation-scoped state
118
+ - **`UserState`** - User-scoped state across conversations
119
+ - **`TempState`** - Temporary state for current turn
120
+ - **`MemoryStorage`** - In-memory storage (development)
121
+
122
+ ### Messaging
123
+ - **`MessageFactory`** - Create different types of messages
124
+ - **`CardFactory`** - Create rich card attachments
125
+ - **`InputFile`** - Handle file attachments
126
+
127
+ ### Authorization
128
+ - **`Authorization`** - Authentication and authorization manager
129
+ - **`ClaimsIdentity`** - User identity and claims
130
+
131
+ # Quick Links
132
+
133
+ - 📦 [All SDK Packages on PyPI](https://pypi.org/search/?q=microsoft-agents)
134
+ - 📖 [Complete Documentation](https://aka.ms/agents)
135
+ - 💡 [Python Samples Repository](https://github.com/microsoft/Agents/tree/main/samples/python)
136
+ - 🐛 [Report Issues](https://github.com/microsoft/Agents-for-python/issues)
137
+
138
+ # Sample Applications
139
+
140
+ |Name|Description|README|
141
+ |----|----|----|
142
+ |Quickstart|Simplest agent|[Quickstart](https://github.com/microsoft/Agents/blob/main/samples/python/quickstart/README.md)|
143
+ |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)|
144
+ |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)|
145
+ |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)|
146
+ |Streaming Agent|Streams OpenAI responses|[azure-ai-streaming](https://github.com/microsoft/Agents/blob/main/samples/python/azureai-streaming/README.md)|
147
+ |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)|
148
+ |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,18 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: microsoft-agents-hosting-core
3
- Version: 0.5.0.dev5
4
- Summary: Core library for Microsoft Agents
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: Operating System :: OS Independent
10
- Requires-Python: >=3.9
11
- License-File: LICENSE
12
- Requires-Dist: microsoft-agents-activity==0.5.0.dev5
13
- Requires-Dist: pyjwt>=2.10.1
14
- Requires-Dist: isodate>=0.6.1
15
- Requires-Dist: azure-core>=1.30.0
16
- Requires-Dist: python-dotenv>=1.1.1
17
- Dynamic: license-file
18
- Dynamic: requires-dist
@@ -1,18 +0,0 @@
1
- Metadata-Version: 2.4
2
- Name: microsoft-agents-hosting-core
3
- Version: 0.5.0.dev5
4
- Summary: Core library for Microsoft Agents
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: Operating System :: OS Independent
10
- Requires-Python: >=3.9
11
- License-File: LICENSE
12
- Requires-Dist: microsoft-agents-activity==0.5.0.dev5
13
- Requires-Dist: pyjwt>=2.10.1
14
- Requires-Dist: isodate>=0.6.1
15
- Requires-Dist: azure-core>=1.30.0
16
- Requires-Dist: python-dotenv>=1.1.1
17
- Dynamic: license-file
18
- Dynamic: requires-dist