WeChat Integration v0
Scope
Defines the v0 integration model for WeChat as adialog target in AIOS.
This page covers channel position, adapter assumptions, configuration shape, route binding, and the hard boundary that WeChat remains an entry channel rather than a separate control plane or primary development surface.
Terminology
- WeChat target:
dialog.target = wechat. - Owner model: owner or allowlist-based access restriction commonly used in bridge-style integrations.
- Credential ref: secret-backed reference to channel credentials rather than inline plaintext.
Normative Spec
Position in AIOS
WeChat MUST be treated as a first-batchdialog target in v0.
WeChat integration MUST:
- normalize through the canonical
dialogcontract - use channel adapters rather than a bespoke control plane
- route through canonical
workspace_id + agent_id - preserve forward-only and metadata-only persistence boundaries
Ecosystem Reference Model
WeChat integration MAY borrow operational experience from bridge-style projects and MAY use OpenClaw-style adapter boundaries, but MUST remain wrapped by AIOS canonical contracts.Recommended Config Shape
WeChat config SHOULD map cleanly into the Channel Integration Page structure:auth.owner_user_idauth.allowlistauth.credential_refconfig.transport_modeconfig.cursor_keyconfig.context_cacheconfig.voice_to_textconfig.message_chunk_limitroute.workspace_idroute.agent_id
Policy Expectations
WeChat policy MAY include:pairing_requireddedup_window_secowner_only
Product Boundary
WeChat MUST NOT be treated as a new primary development interface. Local workspace, CLI, IDE, and canonical agent runtime remain authoritative.Examples
WeChat auth example
WeChat config example
WeChat route example
Error & Recovery
- WeChat transport failures MUST surface through adapter health and recent-error metadata.
- Cursor or dedup-window issues MUST be handled through adapter recovery rules without transcript persistence.
- Voice or attachment handling SHOULD degrade to metadata-first forms when canonical payload support is limited.
Security & Audit
- WeChat credentials SHOULD be secret-backed references.
- Owner and allowlist behavior MUST remain auditable as configuration state.
- Message bodies remain forward-only and MUST NOT become long-term platform transcript storage.
Status
Current status:draft
Source discussions:
docs/maintainers/conversation-records/agent-platform/2026-03-24-dialog-channel-ecosystem-reuse-strategy-v0.mddocs/maintainers/conversation-records/agent-platform/2026-03-24-channel-adapter-contract-v0-draft.mddocs/maintainers/conversation-records/agent-platform/2026-03-24-channel-integration-page-requirement.mddocs/maintainers/conversation-records/agent-platform/2026-03-24-channel-integration-page-ia-and-form-model.mddocs/maintainers/conversation-records/agent-platform/2026-03-24-p1-freeze-result-accepted.md
Changelog
- 2026-03-24: Initial formal WeChat integration specification created from frozen discussion sources.