azure-communication-chat
Microsoft Azure Communication Chat Client Library for Python
Decision gist · record as of 2026-08-14
Yes. This is a production-stable, actively maintained official SDK from Microsoft with no known vulnerabilities, low install friction, and permissive licensing. Install it if you are building on Azure Communication Services and need Python chat functionality; it is the standard choice for that use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later and a deployed Azure Communication Services resource with a valid access token.
- Low install friction with a pure-Python wheel.
- Actively maintained with recent commits and production-stable status.
License · maintenance · safety
MIT License (permissive) — MIT License permits free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
last release 2024-04-11 (855 days) · last repo commit 2026-08-14 · 5,588 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 134,063 downloads/mo, #11,488 on PyPI
Alternatives
Verify before relying
pip install azure-communication-chat
from azure.communication.chat import ChatClient, CommunicationTokenCredential
endpoint = "https://<RESOURCE_NAME>.communicationservices.azure.com"
chat_client = ChatClient(endpoint, CommunicationTokenCredential(token))
create_chat_thread_result = chat_client.create_chat_thread(topic)
chat_thread_client = chat_client.get_chat_thread_client(create_chat_thread_result.chat_thread.id)- Performance characteristics and rate limits for concurrent chat operations
- Real-time notification delivery guarantees and latency expectations
- Whether typing notifications and read receipts are delivered in near real-time as described
What it is and what it does
This is the official Python client library for Azure Communication Services Chat, a managed cloud service for building real-time chat applications. It provides abstractions for creating chat threads, sending and receiving messages, managing thread participants, and handling typing notifications and read receipts. The library handles authentication via Azure tokens and manages HTTP communication with Azure's backend services.
You use it by instantiating a ChatClient with an Azure endpoint and credentials, then creating or accessing chat threads through ChatThreadClient instances. The library supports one-to-one and group conversations, with features like message history sharing, participant management, and typing indicators. It depends on azure-core for common Azure SDK patterns and isodate for timestamp handling.
Use it for
- Build a web or mobile application with integrated real-time chat between users
- Create a customer support chat interface backed by Azure infrastructure
- Implement group messaging in a collaborative application with participant management
- Add typing indicators and read receipts to a messaging feature
- Manage chat thread lifecycle for a multi-tenant SaaS platform
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a production-stable, actively maintained official SDK from Microsoft with no known vulnerabilities, low install friction, and permissive licensing. Install it if you are building on Azure Communication Services and need Python chat functionality; it is the standard choice for that use case.
Install
azure-communication-chat on PyPI
Before you install
Low install friction with a pure-Python wheel. Actively maintained with recent commits and production-stable status.
Requires Python 3.8 or later and a deployed Azure Communication Services resource with a valid access token.
License in practice
MIT License permits free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install azure-communication-chat
from azure.communication.chat import ChatClient, CommunicationTokenCredential
endpoint = "https://<RESOURCE_NAME>.communicationservices.azure.com"
chat_client = ChatClient(endpoint, CommunicationTokenCredential(token))
create_chat_thread_result = chat_client.create_chat_thread(topic)
chat_thread_client = chat_client.get_chat_thread_client(create_chat_thread_result.chat_thread.id)
Verify before relying
- Performance characteristics and rate limits for concurrent chat operations
- Real-time notification delivery guarantees and latency expectations
- Whether typing notifications and read receipts are delivered in near real-time as described
Package facts
| License | MIT License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesisodateazure-coretyping-extensions |
| Maintenance | Actively maintained 855 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 134,063 / month, #11,488 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: azure_communication_chat-1.3.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “azure chat sdk python”
- azure-communication-chatPython SDK for Azure Communication Services Chat, enabling creation…
- azure-communication-identityCreates and manages user identities and access tokens for Azure…
- agent-framework-foundryProvides Microsoft Foundry integrations for the Agent Framework,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also azure-communication-identity · azure-communication-rooms · azure-communication-sms · azure-communication-callautomation · azure-servicebus · azure-communication-email · azure-messaging-webpubsubservice · azure-communication-phonenumbers · azure-mgmt-powerbiembedded · stream-chat