Loading image...Kiro

Product

  • About Kiro
  • IDE
  • CLI
  • Web
  • Mobile
  • Crew
  • Pricing
  • Downloads

For

  • Enterprise
  • Startups
  • Students

Community

  • Overview
  • Ambassadors
  • Discord
  • Events
  • Powers
  • Shop
  • Showcase

Resources

  • Docs
  • Blog
  • Changelog
  • FAQs
  • Report a bug
  • Suggest an idea
  • Billing support

Social

Site TermsLicenseResponsible AI PolicyLegalPrivacy PolicyCookie Preferences
Loading image...Kiro
  • Enterprise
  • Pricing
  • Docs
SIGN INDOWNLOADS
Loading image...Kiro

Get Started

InstallationAuthenticationYour first project

Models

OverviewAvailable modelsReasoning effort

Features

How Kiro works
Specs
Steering
Hooks
MCP
Permissions
Custom agents
Agent Skills
Powers
CompactionKiroignoreCheckpoints and rewind
Built-in tools
Configuration scopes

IDE 1.x

What's new in 1.0
Setup & First Run
Editor
Chat
Experimental
Troubleshooting0.x reference

CLI

What's new in 3.0
Setup & First Run
Terminal UI
Chat
Headless modeACPAuto complete
Experimental
2.x reference

Crew

Quick startInstallationRunning 24/7
Chat
Agent Capabilities
Features
Interfaces
Slack
Discord
Telegram
Teams
Webex
WeCom
WeChat (Weixin)
CLI reference
Apps
ConfigurationSecurityTroubleshooting

Web - Preview

Setup & First RunIdentity Center
Connect your repositories
Working with the agent
Autonomous modeAutomations
Sandbox

Mobile - Preview

Overview

Commands and Reference

CLI commandsSlash commandsBuilt-in toolsExit codesSettingsIDE keyboard shortcuts

Billing

OverviewManaging your subscriptionUpgrading your planDowngrading your planCancelling your planPurchasing add-on creditsManaging your paymentsManaging usage notificationsManaging your taxesContacting billing supportDeleting your accountRelated questions

Enterprise

ConceptsOnboarding quickstart
Connecting your identity provider
Subscribe your teamManage subscriptions
Governance
Monitor and track
SettingsManaged updatesBillingIAMSupported regions

Privacy and Security

OverviewData protectionCode referencesCompliance validationInfrastructure securityIAM permissionsFirewalls, proxies, and data perimetersVPC endpoints (AWS PrivateLink)

Guides

Overview
Language support
Learn by playing

Migration

Migrating from Q DeveloperMigrating from VSCodeUpgrading from Q CLI
  1. Docs
  2. Crew
  3. Interfaces
  4. WeChat (Weixin)

WeChat (Weixin)


Connect Crew to personal WeChat (微信) through Tencent's iLink bot API. Sign-in is a QR scan from the dashboard; messages arrive over HTTP long-poll, so no public endpoint, webhook, or tunnel is required.

Warning

This is not WeCom. For enterprise WeChat (企业微信), use the WeCom channel instead — it uses an official WebSocket bot gateway. This page covers personal WeChat via iLink.

Risks — read before enabling

  • Unofficial surface. The iLink bot API is not a published Tencent developer product. Behavior can change without notice, and using a personal account as a bot may violate WeChat's terms of service. Accounts can be limited or banned.
  • DM only. The iLink bot identity generally does not receive group events. Group chat is unsupported.
  • One poller per credential. Only a single gateway may long-poll a given bot credential at a time.

Prefer WeCom for anything business-critical.

Setup

From the dashboard (recommended)

  1. Open Settings → Channels → WeChat in the dashboard
  2. Click Connect via QR
  3. Scan the code with the WeChat mobile app and confirm on your phone
  4. Restart the gateway — the status pill turns Connected

The bot credential is written server-side (into the credential store, never returned to the browser). Only the non-secret account ID and connection status are exposed to the dashboard.

From the CLI

The QR flow requires the dashboard UI — there's no CLI-only path for the initial sign-in. After connecting via the dashboard, manage settings in config.json:

json
{ "weixin": { "enabled": true, "dm_policy": "allowlist", "allowed_user_ids": ["user-id-from-log"] } }

Then: kirocrew restart

Access policy

Who can message the bot maps to weixin.dm_policy:

ValueBehavior
allowlist (default)Only user IDs in weixin.allowed_user_ids
openAnyone who messages the bot
disabledAll messages ignored

The default is allowlist with an empty list, which authorizes nobody — a freshly connected bot ignores every DM until you add an ID. To collect a user ID, have the person DM the bot once and read the ID from the gateway log.

Commands

CommandEffect
/new (or 新对话, 清空)Start a fresh session
/compactCompact session context in place

Context is managed automatically: at soft_threshold_pct (80%) the bot suggests /compact or /new; at hard_threshold_pct (95%) it compacts on its own.

Behavior notes

  • One reply per turn — iLink cannot edit a sent message, so the answer is buffered and delivered when the turn completes (not streamed). The native "typing…" indicator runs for the duration.
  • Markdown is preserved — iLink clients render it. Replies longer than 4000 characters split at paragraph/code-fence boundaries.
  • Tool calls and reasoning are not echoed to the chat (they would each become a separate bubble).
  • No approval buttons — iLink has no interactive controls. In interactive mode, tools needing approval are denied by default. Use auto or trust mode, or approve from the dashboard.
  • Text only — media (images, voice, files) is not supported yet.

Configuration

Set under weixin in config.json (or via the Settings panel):

KeyDefaultPurpose
weixin.enabledfalseEnable the channel
weixin.account_id—iLink bot account ID (from QR login)
weixin.base_urlhttps://ilinkai.weixin.qq.comiLink API base URL
weixin.dm_policyallowlistallowlist / open / disabled
weixin.allowed_user_ids[]Permitted user IDs when allowlist
weixin.soft_threshold_pct80Suggest compaction past this usage
weixin.hard_threshold_pct95Force compaction past this

The credential is read from the WEIXIN_TOKEN credential (env / .env / credential store).

Troubleshooting

ProblemFix
Status stuck on "Signed in — restart to connect"Restart the gateway; credentials are read once at boot
errcode -14 in the logSession expired — re-run the QR sign-in
errcode -2iLink rate limit; the poller backs off automatically
Bot ignores DMsCheck dm_policy — under allowlist the sender must be listed
Group messages ignoredExpected: iLink bot identities do not receive group events
Images / voice / files ignoredExpected: text only for now
Startup error about aiohttpInstall the messaging extra
Page updated: August 4, 2026
WeCom
CLI reference