botframework-connector
Microsoft Bot Framework Bot Builder SDK for Python.
What it is and what it does
botframework-connector is the Python client library for Microsoft's Bot Framework Connector service. It handles the HTTP communication layer between your bot and the Bot Framework, managing authentication via App ID and password credentials, and providing methods to create conversations and send activities (messages) to users across configured channels.
The package wraps REST API calls to the Bot Connector service, abstracting away the low-level HTTP details. You instantiate a ConnectorClient with MicrosoftAppCredentials, then use it to initialize conversations and send Activity objects to recipients. It depends on msrest for HTTP transport, PyJWT for token handling, botbuilder-schema for message type definitions, and msal for Microsoft authentication.
Use it for:
- Initialize a conversation with a user on a Bot Framework channel and send a welcome message
- Authenticate your bot with the Connector service using registered App ID and password credentials
- Send formatted activities (messages, cards, attachments) to users across multiple channels
- Build a Python bot that integrates with channels via Bot Framework Portal
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Enables Python bots to send and receive messages through Microsoft Bot Framework channels by providing HTTP client authentication and conversation management.
No. The repository is archived and the project is abandoned as of 2026-01-05 with no active maintenance. While the package has low install friction and a permissive MIT license, the lack of ongoing support means security vulnerabilities, breaking changes in dependencies, or incompatibilities with current services will not be addressed. Use only if maintaining legacy code that already depends on it.
Install
botframework-connector on PyPI
pip
pip install botframework-connectoruv
uv add botframework-connectorpoetry
poetry add botframework-connectorInstalling botframework-connector
Before you install
Low friction installation with four runtime dependencies (msrest, PyJWT, botbuilder-schema, msal). However, the repository is archived and marked abandoned as of the latest release on 2026-01-05, with no active maintenance.
License in practice
Licensed under MIT (permissive), so you may use, modify, and distribute this package freely with minimal restrictions, though you must include the license notice.
Quickstart
pip install botframework-connector
from botbuilder.schema import *
from botframework.connector import ConnectorClient
from botframework.connector.auth import MicrosoftAppCredentials
credentials = MicrosoftAppCredentials(APP_ID, APP_PASSWORD)
connector = ConnectorClient(credentials, base_url=SERVICE_URL)
conversation = connector.conversations.create_conversation(ConversationParameters(
bot=ChannelAccount(id=BOT_ID),
members=[ChannelAccount(id=RECIPIENT_ID)]))
Requires Python >= 3.7.0 and valid Microsoft App ID and password obtained during bot registration.
Verify before relying
- Whether the archived repository will receive security patches or bug fixes in the future
- Compatibility with current Microsoft Bot Framework Portal registration and service endpoints
- Whether alternative maintained packages now provide the same Bot Framework connector functionality
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — msrest, PyJWT, botbuilder-schema, msal |
| Maintenance | abandoned — 221 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 1,338,228/month — #4,031 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: botframework_connector-4.17.1-py2.py3-none-any.whl
Keywords: BotFrameworkConnector, bots, ai, botframework, botbuilder
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
botbuilder-integration-aiohttpIntegrates a Microsoft Bot Framework bot into…
permissive · top 15,000 on PyPI
botbuilder-schemaProvides serialized data schemas and message…
permissive · top 5,000 on PyPI
botframework-streamingProvides streaming protocol support for…
permissive · top 5,000 on PyPI
botbuilder-coreProvides the core SDK for building bots that…
permissive · top 5,000 on PyPI
qq-botpyA Python framework for building QQ chat bots…
permissive · top 15,000 on PyPI
microsoft-teams-apiHTTP client library for Microsoft Teams Bot…
permissive · top 5,000 on PyPI
fastapi-poeImplements the Poe protocol using FastAPI,…
permissive · top 15,000 on PyPI
wecom-aibot-python-sdkA Python SDK for WeChat Work (企业微信) AI bot that…
permissive · top 15,000 on PyPI
mattermostwrapperA Python wrapper for the Mattermost v4 API that…
permissive · top 15,000 on PyPI
slackclientProvides Python interfaces to Slack's Web API…
permissive · top 5,000 on PyPI