QQ official bot integration
Receive and reply to authorized messages using an official bot identity.
Models generate and reason. Agents use tools to work on tasks. A harness manages an agent’s environment. MCP connects tools and data. Skills are reusable task guidance.
Before you start
Prerequisites
Exchange AppID/AppSecret for access_token; use QQBot authentication server-side instead of the deprecated Token.
Hardware
Hardware needs depend on software, model, quantization and task; no minimum or smooth-performance benchmark was run.
Model / service
Local-model designs need a specific model and tool-capability checks; device connection itself does not need an LLM.
Agent / runtime
Only reviewed tools are listed; AI bridging and autonomous planning remain implementation and validation work unless explicitly documented.
Deployment preference
The backend may be local or hosted; verify callback networking separately and leave existing bots and Tunnels unchanged.
Implementation steps
Register a separate test bot using official v2 documentation and complete required platform review.
Protect secrets server-side and inspect access credentials and business error codes, not HTTP status alone.
Test permitted synthetic messages only; check identity, msg_id, expiry and stop behavior before adding a model.
Connection method
Not tested by AQI AI
POST https://api.bot.qq.com/app/getAppAccessTokenPOST https://api.bot.qq.com/v2/users/{user_openid}/messagesValidation checks
Planned tests
Planned: local synthetic responses for error codes and expiry, then one permitted message and revocation after separate test credentials. Not executed.
Recorded test results
Official documentation reviewed; this site has not run this combination or tested the device.
Common problems
Limits & boundaries
Current group endpoints and event-signature documentation were not fully obtained; do not guess. Network access, costs and eligibility remain unknown.
Cost
Not verified
Price not verified; check software, model, API, hardware and hosting costs separately.
Limits & boundaries
Permissions & risks
- A local model still sends and receives through Tencent; process authorized context only and never bulk-export group chats.
- Official bots do not take over personal QQ accounts; obey review and permissions without spam, harassment or ban bypass.
Alternatives and next steps
If prerequisites are unmet, use a read-only or manual flow, then revalidate alternatives below without inheriting this compatibility status.
Original sources
- Tencent QQ official documentation · src-qq-v2-start ↗
bot.q.qq.com · · Official documentation
- Tencent QQ official documentation · src-qq-v2-token ↗
bot.q.qq.com · · Official documentation
- Tencent QQ official documentation · src-qq-v2-call-guide ↗
bot.q.qq.com · · Official documentation
- Tencent QQ official documentation · src-qq-v2-changelog ↗
bot.q.qq.com · · Official documentation