skillfed

botframework-connector

Microsoft Bot Framework Bot Builder SDK for Python.

botframework-connector v4.17.1 1.3M downloads/30d#4,031 on PyPI772
Permissive license MIT Abandoned released

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-connector

uv

uv add botframework-connector

poetry

poetry add botframework-connector

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.7Topic :: Scientific/Engineering :: Artificial Intelligence

Tags

bot framework connector pythonmicrosoft bot messagingbot channel communicationbot framework authenticationconversational bot clientbot activity send receivemicrosoft bot builder connector
bot-frameworkarchived-unmaintained

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

botbuilder-integration-aiohttp

Integrates a Microsoft Bot Framework bot into…

permissive · top 15,000 on PyPI

botbuilder-schema

Provides serialized data schemas and message…

permissive · top 5,000 on PyPI

botframework-streaming

Provides streaming protocol support for…

permissive · top 5,000 on PyPI

botbuilder-core

Provides the core SDK for building bots that…

permissive · top 5,000 on PyPI

qq-botpy

A Python framework for building QQ chat bots…

permissive · top 15,000 on PyPI

microsoft-teams-api

HTTP client library for Microsoft Teams Bot…

permissive · top 5,000 on PyPI

fastapi-poe

Implements the Poe protocol using FastAPI,…

permissive · top 15,000 on PyPI

wecom-aibot-python-sdk

A Python SDK for WeChat Work (企业微信) AI bot that…

permissive · top 15,000 on PyPI

mattermostwrapper

A Python wrapper for the Mattermost v4 API that…

permissive · top 15,000 on PyPI

slackclient

Provides Python interfaces to Slack's Web API…

permissive · top 5,000 on PyPI