# Mingle — Complete Reference for AI Agents and LLMs

> Mingle brings the coding agent you already use, like Claude Code or Codex, into WeChat, Feishu, Slack, Telegram and more, plus GitHub and iMessage: one agent with a name and a memory, in all of them at once, doing several things at a time. It runs on your computer. There is no Mingle server.

## Canonical facts

- **Name**: Mingle
- **Category**: Open-source, local-first AI coding agent chat bridge & companion runtime
- **License**: MIT (https://github.com/earayu/Mingle/blob/main/LICENSE)
- **Website**: https://mingle.build/ (English), https://mingle.build/zh/ (Chinese)
- **Product film (40s, 4K)**: https://youtu.be/iuBNwl8VhCc (English), https://youtu.be/TCwlEv-u7oY (Chinese) · Web MP4: https://mingle.build/media/mingle-film-en.mp4
- **Short summary**: https://mingle.build/llms.txt
- **Repository**: https://github.com/earayu/Mingle
- **Latest release**: https://github.com/earayu/Mingle/releases/tag/v0.4.9 (v0.4.9, updated 2026-11-22)
- **Operating systems**: macOS (Apple Silicon & Intel, signed & notarized), Windows (x64 & ARM), Linux (.deb & .rpm, x64 & ARM)
- **Install (macOS / Linux)**: `curl -fsSL https://github.com/earayu/Mingle/releases/latest/download/install.sh | sh`
- **Install (Windows PowerShell)**: `irm https://github.com/earayu/Mingle/releases/latest/download/install.ps1 | iex`
- **Build from source (Node.js 24, pnpm)**: `git clone https://github.com/earayu/Mingle.git && cd Mingle && pnpm install && pnpm build && node dist/cli/main.js start`
- **Pricing**: Free. Zero Mingle server, zero account, zero telemetry, zero model markup.
- **Contact**: earayu@gmail.com · Issues: https://github.com/earayu/Mingle/issues

## Core architecture & security model

- **No Mingle server or cloud relay**: Mingle runs strictly on your own computer. The local console and admin HTTP API bind to `127.0.0.1` only.
- **No public URL or webhook needed**: Every chat app connects outbound from your machine via official WebSocket / Stream / long-polling / ETag notification APIs (and iMessage reads your local macOS Messages database).
- **OS Keychain credential storage**: Bot tokens and app secrets are stored only in macOS Keychain, Windows DPAPI, or Linux Secret Service—never in plaintext files.
- **One agent, one memory, every app**: Each agent lives in a plain folder with `ROLE.md`, `MEMORY.md`, and `notes/`, plus a single long-lived harness session shared across every connected chat app. State and logs live under `~/.mingle` (`MINGLE_HOME`).
- **Parallel work without blocking**: Long-running jobs execute on the side (up to 3 concurrent tasks) while quick questions still get answered in seconds; results return under the original message or thread.
- **Access control & anti-abuse**:
  - QR-based apps bind ownership to whoever completes the scan; token-based apps use a 6-digit claim code shown in the local console.
  - On public platforms (Telegram, Discord, QQ), unknown users and groups wait for explicit owner approval before the agent runs a turn.
  - On GitHub, only repository `OWNER`, `MEMBER`, and `COLLABORATOR` mentions trigger the agent; drive-by mentions from strangers on public repos are ignored.
  - Owners can interrupt work immediately with `/stop`.

## Supported coding agent harnesses (via OAR)

Mingle never calls an LLM API itself—it drives whichever local coding agent harness you already installed and signed in to (subscription or API key), with console support for installing, signing in, updating, and viewing quota:

- **Tested end to end**: Claude Code (https://mingle.build/claude-code/), Codex (https://mingle.build/codex/), OpenCode (https://mingle.build/opencode/), Kimi Code (https://mingle.build/kimi-code/)
- **All 14 harnesses**: Claude Code, Codex, Cursor, OpenCode, Kimi Code, Grok Build, Qwen Code, Qoder, CodeBuddy Code, DeepSeek Harness, Pi, Antigravity, Devin, Factory Droid

## Comparison: Mingle vs. alternatives (https://mingle.build/compare/)

| Dimension | Mingle (local-first) | Cloud agent platforms | Self-hosted VPS webhook bridge | Terminal-only coding agent |
| --- | --- | --- | --- | --- |
| Server / VPS required | No (runs on your Mac/PC/Linux) | Vendor cloud | Yes (VPS + HTTPS domain) | No |
| Public URL / ngrok needed | No (outbound official APIs) | Managed by vendor | Usually yes | N/A |
| Model billing | Reuse your existing harness subscription or API key ($0 markup) | Platform subscription or per-token markup | Usually API key only | Your harness subscription or API key |
| Chat data & memory residency | Your disk (ROLE.md, MEMORY.md, notes/) | Vendor database | Your VPS | Your disk (no chat integration) |
| Credential storage | OS Keychain / DPAPI / Secret Service | Vendor cloud vault | Usually .env / config file on VPS | Local harness auth |
| Cross-app shared memory | Yes — 1 agent across all 10 platforms | Varies (often per workspace/bot) | Usually 1 bot per app | No chat apps |
| Supported coding harnesses | 14 via OAR (Claude Code, Codex, OpenCode, Kimi Code verified E2E) | Usually locked to 1 provider | Usually 1 specific CLI/API | 1 per CLI |
| Local repo & file access | Direct access on your machine | Requires cloud sync / sandbox | Only what is cloned on VPS | Direct access |

## Security & architecture (https://mingle.build/security/)

| Dimension | How Mingle works |
| --- | --- |
| Mingle cloud server | None. There is no Mingle server, no relay, no Mingle account, and no analytics or telemetry. |
| Message path | Chat app official API ↔ Mingle on your computer ↔ your local coding agent harness ↔ your model provider. Mingle never sits in the cloud in between. |
| Inbound ports / public URL | None required. All 9 network channels connect outbound (WebSocket, Stream, long polling or ETag REST polling); iMessage reads your local macOS Messages database. |
| Local console & admin API | Listens strictly on 127.0.0.1 (default port 7419). Never bound to 0.0.0.0. |
| Credential storage | Bot tokens and app secrets are stored exclusively in macOS Keychain, Windows DPAPI, or Linux Secret Service—never in plaintext config files. |
| Agent data on disk | Each agent's home directory holds plain Markdown files: ROLE.md, MEMORY.md and notes/. Runtime state and logs live in ~/.mingle (MINGLE_HOME). |
| Owner binding & public bots | QR channels bind ownership to whoever completes the scan; token channels require a 6-digit claim code from the local console. Public bots (Telegram, Discord, QQ) hold unknown users and groups for owner approval. |
| GitHub anti-abuse filter | Checks author_association on every notification and only wakes the agent for repository OWNER, MEMBER or COLLABORATOR accounts; strangers on public repos are ignored. |
| Emergency stop & auditability | Owners can send /stop in chat to halt the current turn immediately. The entire codebase is MIT open source on GitHub, with private security advisories enabled. |

## Channel capability matrix (10 platforms)

| Platform | Transport (no public server) | Onboarding | Chats | Threads / Live progress | Files in/out | Access control |
| --- | --- | --- | --- | --- | --- | --- |
| Slack | Official Socket Mode (outbound WebSocket) | Pre-filled Slack App Manifest + tokens | DMs & channels | Thread replies, reactions, live reply | Yes | 6-digit owner claim code |
| Discord | Official Discord Gateway (outbound WebSocket) | Bot token + Message Content Intent | DMs & servers | Native threads, reactions, typing | Yes | Owner approval for new users/servers |
| Telegram | Official Bot API long polling (`getUpdates`) | BotFather token | DMs & groups | Quote replies, reactions, typing | Yes | Owner approval for new users/groups |
| iMessage | Local macOS Messages (`chat.db` + AppleScript) | Local Apple ID (macOS only) | Self-chat only | Standard messages | Yes | Owner's own Apple ID self-chat |
| Feishu / Lark | Official SDK long connection (`@larksuiteoapi/node-sdk`) | QR scan (or app credentials) | DMs, groups & Docs comments | Native threads, streaming cards, reactions | Yes | QR scanner becomes owner (verified on real tenant) |
| WeChat | Official WeChat Bot API long polling | QR scan | Direct messages | Typing indicator | Yes | QR scanner becomes owner |
| WeCom | Official AI Bot SDK WebSocket (`@wecom/aibot-node-sdk`) | QR scan | DMs & groups | Streaming replies, quote replies | Yes | QR scanner becomes owner |
| DingTalk | Official Stream WebSocket (`dingtalk-stream`) | QR device registration | DMs & groups | Streaming AI cards, reactions | Yes (up to 20 MB) | QR scanner becomes owner |
| QQ | Official Tencent QQ Bot SDK WebSocket | QR scan (or AppID/AppSecret) | DMs & groups (`@`) | Typing notice in DMs | Yes | Owner approval for new users/groups |
| GitHub | Official REST Notifications API (ETag polling) | Agent's own account (device code or PAT) | Issues, PRs & review threads | Inline PR review threads, reactions | No | Repo `OWNER`, `MEMBER`, `COLLABORATOR` only |

## Channel integration guides

### Slack (https://mingle.build/slack/)

> Connect the coding agent on your own computer to your Slack workspace over official Socket Mode. No public URL, no third-party relay, and no extra model bill.

- **Transport**: Slack Socket Mode · No webhook or ngrok · Keychain credentials
- **Chinese guide**: https://mingle.build/zh/slack/
- **Setup steps**:
  1. **Create the Slack app from a pre-filled manifest**: Pick Slack in the Mingle console and open the pre-filled Slack App Manifest link. Permissions, Socket Mode and bot events are already configured for your agent.
  2. **Paste the Bot Token and App-Level Token**: Mingle verifies both tokens locally, stores them only in the macOS Keychain, Windows DPAPI or Linux Secret Service, and opens an outbound WebSocket to Slack.
  3. **Invite your agent to channels or DM it**: Mention @Alex in any channel or send a direct message. Claim ownership with the 6-digit code in the console, and your local Claude Code or Codex session starts replying right in Slack.
- **Highlights**:
  - **Socket Mode, zero public server**: Mingle initiates an outbound WebSocket to Slack from your computer. There is no webhook endpoint to host, no reverse proxy, and no Mingle cloud relay.
  - **Threads, reactions and live replies**: Your agent acknowledges messages with a reaction, works on longer tasks on the side, and replies back under the original Slack thread without blocking quick questions.
  - **Files in and out**: Send logs, screenshots or specs in Slack and let your local coding agent read them on disk—or send generated files and diffs back into the channel.
  - **One shared memory across apps**: The same agent in Slack can also live in Discord, Telegram, Feishu, WeChat or GitHub with one local memory (ROLE.md, MEMORY.md and notes/).
- **FAQ**:
  - **Do I need a public URL, webhook or ngrok to connect Slack?** No. Mingle uses Slack Socket Mode, so your machine opens an outbound WebSocket directly to Slack. No public server or tunnel is required.
  - **Where are my Slack tokens and chat history stored?** Your Bot Token and App-Level Token are stored only in your operating system keychain (macOS Keychain, Windows DPAPI or Linux Secret Service). Agent memory and local logs stay on your own disk.
  - **Can I use my existing Claude Code or Codex subscription in Slack?** Yes. Mingle drives whichever local harness you already have signed in—Claude Code, Codex, OpenCode, Kimi Code and 10 more via OAR—without adding a model markup.

### Discord (https://mingle.build/discord/)

> Bring your local coding agent into Discord servers and direct messages over the official Discord Gateway. Native threads, owner approval for strangers, and zero relay server.

- **Transport**: Discord Gateway WebSocket · Native threads · Owner approval
- **Chinese guide**: https://mingle.build/zh/discord/
- **Setup steps**:
  1. **Create a bot in the Discord Developer Portal**: Create an application, enable Message Content Intent, and invite the bot to your server with channel and thread permissions.
  2. **Paste the bot token into Mingle**: Mingle stores the token in your OS keychain and connects outbound to the Discord Gateway WebSocket—no hosting, no webhook, no public IP.
  3. **Claim ownership and approve who can talk to it**: Send the 6-digit claim code to become the owner. Because anyone can find a Discord bot, new people and servers wait for your approval before your agent acts for them.
- **Highlights**:
  - **Native Discord threads for long jobs**: Hand your agent a longer coding or research task and it opens a thread under your message for progress and follow-ups, while keeping the main channel responsive.
  - **Owner approval on a public platform**: New users and new servers cannot run your local agent until you explicitly approve them in the Mingle console.
  - **Typing indicators, reactions and files**: Full support for quote replies, emoji reactions, typing indicators, @-mentions, and two-way file uploads and downloads.
  - **Same agent across Discord and other chats**: Ask your agent in Discord about a note from Slack, Telegram or GitHub—every channel shares one local session and plain-text Markdown memory.
- **FAQ**:
  - **Can strangers on Discord use my local coding agent?** No. On public apps like Discord, Telegram and QQ, every new person or server waits for your explicit approval before the agent responds or runs tasks for them.
  - **Does Mingle require hosting a Discord bot on a VPS?** No. Mingle runs on your own macOS, Windows or Linux machine and connects outbound over the Discord Gateway. If you want 24/7 uptime, you can also run it on your own machine or SSH host.
  - **Does the Discord bot support threads and file attachments?** Yes. Mingle supports native Discord public threads for parallel tasks, quoted replies, reactions, typing indicators, and sending or receiving files.

### Telegram (https://mingle.build/telegram/)

> Turn a standard BotFather bot into your local coding agent in Telegram DMs and groups. Runs on your computer with outbound long polling—no webhook and no Mingle server.

- **Transport**: Telegram Bot API long polling · No webhook · CLI & desktop setup
- **Chinese guide**: https://mingle.build/zh/telegram/
- **Setup steps**:
  1. **Create a bot with @BotFather**: Open @BotFather in Telegram, run /newbot, and copy the bot token. If you want the agent to follow group context without @-mentions every time, disable privacy mode in BotFather.
  2. **Connect the token in the console or CLI**: Paste the token in the Mingle console, or run echo "$TELEGRAM_BOT_TOKEN" | mingle connect alex telegram. Mingle saves it to your OS keychain and starts long polling.
  3. **Message your bot to claim ownership**: Send your bot the 6-digit claim code (or first DM). After that, any new person or group that finds your bot waits for your OK before the agent works for them.
- **Highlights**:
  - **Long polling, zero webhook setup**: Mingle polls the official Telegram Bot API directly from your computer. No domain, no TLS certificate, no reverse proxy, and no hosted bridge.
  - **Strangers wait for your approval**: Telegram bot usernames are public, so Mingle holds requests from unfamiliar people or groups until you approve them as the owner.
  - **Reactions, quote replies and files**: Your agent reacts while working, quotes the exact message it is answering, shows typing status, and exchanges files directly in Telegram.
  - **Scriptable from the terminal**: Create an agent and bind Telegram in two shell commands, or manage everything from the local web console on 127.0.0.1.
- **FAQ**:
  - **Do I need a webhook URL to connect a Telegram bot to Claude Code?** No. Mingle uses Telegram Bot API long polling over outbound HTTPS, so it works behind home Wi-Fi, NAT or a firewall with zero server setup.
  - **Can I add my Mingle Telegram bot to group chats?** Yes. Add the bot to any Telegram group and approve the group as owner. You can @-mention the agent or call it by name, and it handles multiple tasks in parallel without blocking the room.
  - **Is my Telegram bot token stored in plain text?** No. Mingle stores bot tokens in the macOS Keychain, Windows DPAPI or Linux Secret Service—never in the SQLite database, logs or API responses.

### iMessage (https://mingle.build/imessage/)

> Text yourself in Apple Messages from your iPhone, iPad or Mac and get answers from the coding agent running on your Mac. Uses your own Apple ID locally—zero cloud bridge.

- **Transport**: macOS only · Local Messages.app · Your own Apple ID
- **Chinese guide**: https://mingle.build/zh/imessage/
- **Setup steps**:
  1. **Choose iMessage in Mingle on your Mac**: Open your agent in the Mingle desktop app on macOS and select iMessage. Mingle detects the iMessage accounts already signed in to Apple Messages.
  2. **Grant two standard macOS permissions**: Allow Full Disk Access so Mingle can read ~/Library/Messages/chat.db read-only, and allow Automation so Mingle can send replies through Messages.app.
  3. **Text yourself from iPhone, iPad or Mac**: Open your chat with yourself in Messages and ask anything. Because iCloud syncs your self-chat across Apple devices, you can reach your local coding agent from your phone anywhere.
- **Highlights**:
  - **No unofficial cloud relay**: iMessage has no official bot API, so Mingle never asks for your Apple ID password or routes messages through a third-party bridge. Everything runs locally on your Mac.
  - **Reach your Mac from iPhone or iPad**: Text your own Apple ID from your pocket and let Claude Code or Codex on your Mac run tasks, check files, set reminders and reply right back in Messages.
  - **Self-chat only, no accidental group spam**: Mingle listens only to your conversation with yourself on your own Apple ID, keeping personal iMessage threads with friends and family completely untouched.
  - **Shared memory with your work chat apps**: Ask in iMessage what your agent summarized in Slack, Feishu or Discord earlier—it is the same agent with the same ROLE.md and MEMORY.md on your Mac.
- **FAQ**:
  - **Does Mingle need my Apple ID password?** Never. Mingle works through the Apple Messages app already signed in on your Mac, reading the local Messages database read-only and sending via macOS Automation.
  - **Can I use iMessage with Mingle from my iPhone?** Yes. As long as Mingle is running on your Mac and iMessage is synced with your Apple ID, texting yourself from your iPhone or iPad reaches your local agent on the Mac.
  - **Does Mingle message other contacts in my iMessage?** No. Mingle only operates in your self-chat on your own Apple ID, never sending unsolicited messages to other people in your Messages app.

### Feishu (https://mingle.build/feishu/)

> Scan a QR code with Feishu or Lark to connect your local coding agent over the official SDK long connection. Native threads, live streaming cards, document comments, and no public callback URL.

- **Transport**: Official Feishu/Lark SDK · QR onboarding & long connection · Verified on live tenant
- **Chinese guide**: https://mingle.build/zh/feishu/
- **Setup steps**:
  1. **Scan the QR code in Mingle**: Click Connect Feishu in the Mingle console and scan the QR code with Feishu or Lark on your phone. Official QR app registration sets up the bot without manual webhook wiring.
  2. **Persistent long connection from your machine**: Mingle stores the app credentials in your OS keychain and opens an official Feishu persistent connection straight from your computer—no public server or callback URL needed.
  3. **Chat in DMs, groups, threads and docs**: Whoever scans the QR code automatically becomes the agent's owner. Mention your agent in group chats, follow progress in live cards and native threads, or @ it in Feishu document comments.
- **Highlights**:
  - **Official QR scan & long connection**: No server to deploy, no public callback URL to expose, and no cloud relay sitting between your Feishu workspace and your local coding agent.
  - **Live streaming cards & native threads**: Long tasks spin off into native Feishu reply threads with live progress cards while the agent keeps answering quick questions in the main group.
  - **Feishu document comments & files**: Respond to comment threads inside Feishu docs, list group members, and send or receive files directly through the official Feishu API.
  - **Cross-app memory with WeChat, Slack & GitHub**: Your agent remembers decisions from Feishu groups when you later message it in WeChat, Telegram, Slack or GitHub.
- **FAQ**:
  - **Do I need a public server or callback URL for Feishu?** No. Mingle uses the official Feishu/Lark SDK persistent long connection, so your computer receives events directly without exposing an HTTP endpoint.
  - **Does Mingle support both Feishu and international Lark?** Yes. The connector uses the official Feishu/Lark SDK with QR registration and long connection.
  - **How does owner permission work when I scan the QR code?** Whoever completes the QR scan becomes the agent's owner automatically. Credentials are saved only in your OS keychain, and Mingle runs locally on 127.0.0.1.

### WeChat (https://mingle.build/wechat/)

> Scan a QR code in Mingle to chat directly with your local coding agent in WeChat. Uses the official bot channel with local long polling—no cloud relay, no extra account, and one shared memory.

- **Transport**: Official WeChat bot QR scan · Local long polling · Direct messages & files
- **Chinese guide**: https://mingle.build/zh/wechat/
- **Setup steps**:
  1. **Click Connect WeChat in Mingle**: Open your agent in the Mingle desktop app or local console and pick WeChat to generate an official login QR code.
  2. **Scan with WeChat on your phone**: Confirm on your phone. Mingle stores the bot token in your OS keychain and long-polls directly from your computer with zero middleman server.
  3. **Message your agent directly in WeChat**: Whoever scanned the QR code becomes the owner. Send text or files in WeChat—and ask your agent about work from Feishu, Slack, Discord or GitHub thanks to its shared local memory.
- **Highlights**:
  - **Official bot channel, zero cloud relay**: Mingle connects straight from your computer over long polling—no third-party cloud bridge and no Mingle backend seeing your WeChat messages.
  - **One-minute QR setup**: Scan once in WeChat to bind the bot and claim ownership automatically. Credentials stay inside the macOS Keychain, Windows DPAPI or Linux Secret Service.
  - **Typing status and two-way file transfer**: See when your agent is working and exchange documents, images or generated files directly in your WeChat chat.
  - **Ask in WeChat about Feishu, Slack or GitHub**: Because one agent shares one ROLE.md and MEMORY.md across every platform, you can check on work discussions from other apps right inside WeChat.
- **FAQ**:
  - **Does Mingle send my WeChat messages through a Mingle server?** No. Mingle has no server, no account and no telemetry. It runs on your own machine and long-polls the official bot interface directly.
  - **Does WeChat support direct messages or group chats?** The official WeChat bot channel connects direct 1-on-1 messages with your agent, including typing indicators and file uploads/downloads. For team group chats, connect the same agent to Feishu, WeCom, DingTalk, Slack, Discord or Telegram—all sharing one memory.
  - **Do I need to pay extra to use Claude Code or Codex in WeChat?** No. Mingle is free and MIT open source. It drives the coding agent harness and subscription (or API key) you already use locally.

### WeCom (https://mingle.build/wecom/)

> Scan once with WeCom to create an official intelligent bot and connect your local coding agent over WebSocket. Streaming live replies, group chats, and files—with zero cloud server.

- **Transport**: Official WeCom bot SDK WebSocket · QR setup · Streaming replies & files
- **Chinese guide**: https://mingle.build/zh/wecom/
- **Setup steps**:
  1. **Scan the QR code with WeCom**: Pick WeCom in the Mingle console and scan the code on your phone to create and authorize an official WeCom intelligent bot—no public callback URL needed.
  2. **Connect outbound over the official WebSocket SDK**: Mingle saves the bot credentials only in your OS keychain (macOS Keychain, Windows DPAPI or Linux Secret Service) and opens an outbound WebSocket directly from your machine.
  3. **DM or @-mention your agent in WeCom groups**: Whoever scans the code becomes the owner. Ask questions directly or @ the bot in team groups and watch answers stream in live as your local agent works.
- **Highlights**:
  - **Official intelligent bot WebSocket, zero server**: Uses the official WeCom AI bot Node SDK over an outbound WebSocket from your computer—no public webhook domain, no reverse proxy, and no Mingle relay.
  - **Streaming live replies**: Replies stream directly into the WeCom message while your agent thinks and runs tools, then hand over cleanly to a follow-up message if a task runs long.
  - **Direct chats, group chats and two-way files**: Works in 1-on-1 chats and WeCom groups, with quote replies and encrypted image/file download and upload handled locally.
  - **Shared memory across WeCom, WeChat & GitHub**: Connect the same local agent to WeCom, WeChat, Feishu, Slack or GitHub so it remembers work context everywhere with one ROLE.md and MEMORY.md.
- **FAQ**:
  - **Do I need a public IP or callback URL to connect WeCom?** No. Mingle uses the official WeCom intelligent bot WebSocket SDK, so your computer initiates the connection outbound without exposing any HTTP endpoint.
  - **Does WeCom support both direct messages and group chats?** Yes. You can message the bot directly or add it to WeCom groups, with streaming replies and two-way file and image support.
  - **Where are my WeCom credentials and company chat data stored?** Bot credentials are stored only in your OS keychain, and Mingle runs locally on 127.0.0.1 with no Mingle server or telemetry.

### DingTalk (https://mingle.build/dingtalk/)

> Scan a QR code in DingTalk to register a bot and connect your local coding agent over official DingTalk Stream. Live AI progress cards, reactions, and files—no public webhook needed.

- **Transport**: DingTalk Stream WebSocket · QR setup · AI progress cards & files
- **Chinese guide**: https://mingle.build/zh/dingtalk/
- **Setup steps**:
  1. **Scan with DingTalk to register the bot**: Pick DingTalk in the Mingle console and scan the QR code (or open the desktop link) to finish official device registration without manually wiring callback URLs.
  2. **Connect via DingTalk Stream from your machine**: Mingle stores the app credentials only in your OS keychain and opens an outbound DingTalk Stream WebSocket—no VPS, no public domain, no tunnel.
  3. **Chat in DingTalk DMs or @ in groups**: Whoever scans becomes the owner. Send text, voice transcripts, screenshots or files up to 20 MB and track progress live inside DingTalk AI cards.
- **Highlights**:
  - **DingTalk Stream, no public webhook**: Receives messages over the official DingTalk Stream client straight on your computer—no cloud host or public HTTPS endpoint to maintain.
  - **Live AI cards and message reactions**: Your agent reacts immediately when a message arrives and streams live markdown updates through DingTalk's AI card while long tasks run on the side.
  - **Direct chats, groups and two-way files**: Supports 1-on-1 messages and @-mentions in DingTalk groups, plus receiving and sending images and files up to 20 MB.
  - **One local agent across every app**: Keep the same agent in DingTalk, WeChat, Feishu, Slack and GitHub with one local memory and your existing coding agent subscription.
- **FAQ**:
  - **Does DingTalk require a public server or HTTPS callback?** No. Mingle connects through DingTalk Stream (outbound WebSocket), so everything runs on your own machine with no exposed ports.
  - **Can the agent send and receive files in DingTalk?** Yes. Mingle downloads incoming files and images for your local agent and uploads images and files up to 20 MB back into DingTalk chats.
  - **Which coding agents can drive my DingTalk bot?** Any of the 14 harnesses supported via OAR, including Claude Code, Codex, OpenCode and Kimi Code (tested end to end), using the subscription or API key you already have.

### QQ (https://mingle.build/qq/)

> Scan with QQ to bind an official QQ bot and run your local coding agent over Tencent's WebSocket gateway. Direct messages, @-mentions in groups, file transfer, and owner approval.

- **Transport**: Official Tencent QQ Bot SDK · WebSocket gateway · Owner approval
- **Chinese guide**: https://mingle.build/zh/qq/
- **Setup steps**:
  1. **Scan to bind an official QQ bot**: Select QQ in the Mingle console and scan the QR code with QQ (or enter AppID and AppSecret manually from q.qq.com) to authorize the official bot.
  2. **Connect outbound to the QQ WebSocket gateway**: Mingle stores AppID and AppSecret only in your OS keychain and connects over Tencent's official Node SDK gateway—no server or webhook needed.
  3. **Approve who can talk to your bot**: Whoever binds the bot (or sends the 6-digit claim code) is the owner. Because QQ bots can be reached publicly, new users and groups wait for your approval before the agent acts.
- **Highlights**:
  - **Official Tencent SDKs, zero cloud bridge**: Uses Tencent's official qqbot-connector for QR binding and qqbot-nodejs for the WebSocket gateway—running strictly on your computer.
  - **Direct chats and group @-mentions**: Chat 1-on-1 with live typing notices or @ your agent in QQ groups. Long messages split automatically to respect QQ's length limits.
  - **Two-way images and files**: Send screenshots and attachments from QQ for your local coding agent to inspect, and receive generated files or images back in the chat.
  - **Owner approval for public chats**: New people or QQ groups never spend your coding agent's quota until you explicitly approve them in the console or chat.
- **FAQ**:
  - **Does Mingle use an unofficial QQ protocol or third-party bridge?** No. Mingle uses Tencent's official QQ Bot SDKs (@tencent-connect/qqbot-connector and @tencent-connect/qqbot-nodejs) directly from your computer.
  - **Can strangers use my QQ bot and burn my Claude Code or Codex quota?** No. On public platforms like QQ, Telegram and Discord, any new user or group waits for the owner's explicit approval before the agent runs a turn.
  - **Do I need a VPS to keep the QQ bot online?** No. Mingle runs in your desktop app's menu bar or system tray on macOS, Windows or Linux, connecting outbound over WebSocket with no server required.

### GitHub (https://mingle.build/github/)

> Give your local coding agent its own GitHub account and @-mention it in issues, pull requests and inline review comments. Polls GitHub directly from your machine—no webhook, no GitHub App server.

- **Transport**: GitHub REST Notifications API (ETag polling) · Trusted org/collaborators only
- **Chinese guide**: https://mingle.build/zh/github/
- **Setup steps**:
  1. **Sign in the agent's own GitHub account**: Pick GitHub in the Mingle console and authorize the agent's dedicated GitHub account via device code (or a classic personal access token with notifications and repo scopes).
  2. **Poll notifications locally with zero webhook**: Mingle saves the token in your OS keychain and polls the official GitHub Notifications API with ETag caching from your computer—no public URL or server to host.
  3. **@-mention your agent in issues, PRs and reviews**: Tag @your-agent in an issue, PR or inline code review thread. It reacts to acknowledge, runs on your local machine, and replies right inside the same issue or review thread.
- **Highlights**:
  - **Zero webhook, ETag-friendly polling**: Polls GitHub's official REST Notifications API with ETag headers so idle checks cost zero rate limit—no webhook server, no ngrok, and no hosted CI runner needed.
  - **Inline PR review threads stay in thread**: When you @-mention the agent on a specific diff line in a pull request review, its reply lands right back inside that exact inline review thread.
  - **Trusted repo roles only (anti-abuse by design)**: On public or private repositories, Mingle only wakes the agent for comments from repository OWNER, MEMBER or COLLABORATOR accounts—drive-by mentions from strangers are ignored.
  - **Same memory as your team's chat apps**: Your agent in GitHub is the exact same agent in Slack, Discord, Feishu, Telegram or WeChat—so a discussion in chat carries straight into the PR without re-explaining.
- **FAQ**:
  - **Do I need to host a GitHub App webhook server?** No. Mingle polls the GitHub REST Notifications API directly from your computer using conditional ETag requests, so no public webhook endpoint is needed.
  - **What stops random people on a public repo from triggering my local agent?** Mingle checks each commenter's author_association and only acts on mentions from repository OWNER, MEMBER or COLLABORATOR accounts. Everyone else on a public repo is ignored.
  - **Why does the agent use its own GitHub account?** Using a dedicated machine account keeps @-mentions unambiguous, avoids self-notification loops, and makes it obvious in issue and PR history which comments came from the agent.

## Command-line interface

- `mingle start [--port 7419] [--no-open]`: start Mingle locally and open the console
- `mingle status`: show agents and channel connection state
- `mingle harnesses`: list coding agent harnesses detected on this computer
- `mingle agent create --name <n> --harness <id> [--model <m>] [--role <text> | --role-file <path>]`: create a new local agent
- `mingle connect <agent> <platform>`: connect a channel (for token channels such as `telegram`, pass token on stdin)
- `mingle handoff <agent>`: import context from another conversation via stdin
- `mingle log`: inspect recent lines from `~/.mingle/logs/mingle.log`
- **In-session agent commands**: `mingle message reply|send|read|search`, `mingle chat list|info`, `mingle contact list|info|name|link|note`, `mingle file get`, `mingle task create|list|update`, `mingle reminder set|list|snooze|cancel` (supports `--every 5m --check <command>` to run a local shell check and wake the agent only when output changes), `mingle manual`
- Append `--json` for machine-readable output.

## Homepage FAQ

### Does my data go to a Mingle server?

No. There is no Mingle server, no account and no telemetry. Mingle runs locally on your computer and connects straight to each chat app and your local harness. Messages still pass through the chat app and your model provider.

### Do I need a separate API key?

No, if your coding agent is already signed in with a subscription, such as Claude Code or Codex. An API key configured in your harness also works. Mingle never calls a model itself or adds a fee.

### Which coding agents and chat apps are supported?

Mingle supports 14 coding-agent harnesses through OAR (tested end to end with Claude Code, Codex, OpenCode and Kimi Code) and connects to WeChat, WeCom, Feishu, DingTalk, QQ, Slack, Discord, Telegram, GitHub and iMessage on Mac.

### Does one agent really share memory across chat apps?

Yes. Each agent has one long-lived session and one local home folder (ROLE.md, MEMORY.md and notes/) shared across every chat app it joins. You can ask it in one app about a decision made in another.
