{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Chat","url":"https://skillfed.io/packages/category/communications-chat"}],"enrichment":{"capability":"A Python SDK for WeChat Work (\u4f01\u4e1a\u5fae\u4fe1) AI bot that manages WebSocket connections, handles incoming messages and events, and sends replies including streaming text, template cards, and file downloads with AES decryption.","skillfed_tags":["wecom-wechat-work","websocket-async","ai-bot-sdk"],"use_cases":["Build a WeChat Work chatbot that streams AI-generated responses with Markdown formatting.","Send proactive notifications or alerts to users via template cards without waiting for an incoming message.","Handle file uploads from users, decrypt them server-side, and process or store the contents.","Respond to user interactions (button clicks on template cards) with follow-up messages or state updates.","Implement a multi-turn conversation bot that tracks session state and sends welcome messages when users enter a chat."],"what_it_does":"wecom-aibot-python-sdk is a Python client for WeChat Work's AI bot API, built on asyncio and WebSocket. It manages long-lived connections to WeChat Work's servers, automatically handles authentication, heartbeat, and reconnection with exponential backoff. The SDK parses incoming messages (text, image, voice, file, mixed) and events (enter chat, template card clicks, user feedback), then routes them to your async event handlers.\n\nYou use it to build chatbots and automation agents: listen for incoming messages, send streaming text replies with Markdown support, post template cards, update cards in-place, proactively push messages to users, and download encrypted files. All operations are async/await native, with built-in AES-256-CBC file decryption, pluggable logging, and a serial reply queue that ensures messages for the same request ID are sent in order.","worth_installing":"Yes. The SDK is actively maintained, has no known vulnerabilities, uses permissive MIT licensing, and offers low install friction. Install it if you need to build a WeChat Work bot in Python. The async-native design and built-in features (streaming, cards, file decryption, reconnection) make it the natural choice for this use case."},"id":"wecom-aibot-python-sdk","links":{"html":"https://skillfed.io/packages/wecom-aibot-python-sdk","md":"https://skillfed.io/packages/wecom-aibot-python-sdk.md","pypi":"https://pypi.org/project/wecom-aibot-python-sdk/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-23","license_spdx":"MIT","license_treatment":"permissive","name":"wecom-aibot-python-sdk","python_support":"supports_current","summary":"\u4f01\u4e1a\u5fae\u4fe1\u667a\u80fd\u673a\u5668\u4eba Python SDK \u2014\u2014 \u57fa\u4e8e WebSocket \u957f\u8fde\u63a5\u901a\u9053\uff0c\u63d0\u4f9b\u6d88\u606f\u6536\u53d1\u3001\u6d41\u5f0f\u56de\u590d\u3001\u6a21\u677f\u5361\u7247\u3001\u4e8b\u4ef6\u56de\u8c03\u3001\u6587\u4ef6\u4e0b\u8f7d\u89e3\u5bc6\u7b49\u6838\u5fc3\u80fd\u529b\u3002"},"popularity":{"monthly_downloads":159024,"position":10709,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.2"}
