Architecture & Security

Runs on your computer.
No Mingle server to trust.

Mingle is a local runtime on your own machine—there is no Mingle backend, no cloud bridge, no user account, and no telemetry. Here is the exact data flow, credential model, and access control architecture.

v0.4.9 · 127.0.0.1 only · OS Keychain / DPAPI / Secret Service · Zero telemetry · MIT

Your agent

  • Claude Code
  • Codex
  • Cursor
  • OpenCode
  • Kimi Code

your own subscription

Mingle 127.0.0.1 · on your computer
  • Memory and filesyour disk
  • Bot tokenssystem keychain
  • Account, telemetrynone

Your chat apps

  • WeChat
  • Feishu
  • Slack
  • Telegram
  • Discord

official bot APIs

Verifiable facts

Security model at a glance.

DimensionHow Mingle works
Mingle cloud serverNone. There is no Mingle server, no relay, no Mingle account, and no analytics or telemetry.
Message pathChat 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 URLNone 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 APIListens strictly on 127.0.0.1 (default port 7419). Never bound to 0.0.0.0.
Credential storageBot tokens and app secrets are stored exclusively in macOS Keychain, Windows DPAPI, or Linux Secret Service—never in plaintext config files.
Agent data on diskEach 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 botsQR 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 filterChecks 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 & auditabilityOwners 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.

Design boundaries

Four layers that keep your machine and quota safe.

  • Zero cloud relay, zero exposed ports

    Because Mingle connects outbound via official SDK WebSockets, long polling and ETag polling, you never have to run ngrok, rent a VPS, open firewall ports or trust a third-party cloud bridge with company chats.

  • OS-native secret storage

    Every Slack, Discord, Telegram, Feishu, WeChat, WeCom, DingTalk, QQ and GitHub credential is stored in the macOS Keychain, Windows DPAPI or Linux Secret Service—never serialized into JSON or YAML on disk.

  • Strict trust gates on public platforms

    Nobody can silently drain your Claude Code or Codex subscription. Public bots (Telegram, Discord, QQ) quarantine new people and groups until you approve them; GitHub ignores non-collaborators; iMessage only reads your self-chat.

  • Plain-text memory you own and can inspect

    Your agent's instructions and long-term memory are ordinary Markdown files (ROLE.md, MEMORY.md, notes/) in a folder you choose. Edit, back up, version-control or delete them anytime.

Questions

Common questions.

Does any chat message, file, or code snippet pass through a Mingle server?
No. There is no Mingle server at all. Messages travel directly between your chat platform (e.g., Slack or Feishu), your computer running Mingle, and whichever model provider your local coding agent harness uses.
Where are bot tokens stored on macOS, Windows, and Linux?
Tokens are stored only in the operating system secret store: macOS Keychain on Mac, Windows DPAPI on Windows, and Secret Service on Linux.
How does Mingle prevent strangers from spending my Claude Code or Codex quota?
Ownership is claimed via QR scan or a 6-digit code shown only in your local 127.0.0.1 console. On public apps (Telegram, Discord, QQ), unknown users and groups wait for explicit owner approval before the agent runs; on GitHub, only repo OWNER, MEMBER and COLLABORATOR mentions are accepted.
Is the desktop app signed, and how do I report a vulnerability?
The macOS app is signed and notarized by Apple; check each version's GitHub release notes for current Windows/Linux signing status. Report security issues privately via GitHub Security Advisories on earayu/Mingle rather than a public issue.

Chat apps

Use it in every chat app you already have.

Connect one or more platforms to the same local agent—one long-lived session and one shared memory across all of them.

Compare → · See full overview →

One agent. Every chat app.

Free and open source, on your own computer. For macOS, Windows and Linux.

See this release's notes for signing details and installation instructions. Release notes →