earayu/Mingle
A local bridge that brings your coding agent and its memory into the chats you use
Automated SPDX check for reference only — not legal advice. Disclaimer
GitHub Star History
Tracked from daily D1 telemetry snapshots. Hover any data point for exact daily star counts.
Evidence-Backed Technical Brief
AI Deep ReviewArchitecture & Core Mechanics
Mingle is a local TypeScript bridge between chat platforms and coding-agent harnesses. Channel adapters receive messages through platform bot APIs and route them into one long-lived harness session per agent. iMessage instead uses the local Mac and its Apple ID. For replies, sends, reads, and searches, the harness calls the mingle CLI; Mingle checks permissions and executes the action. The CLI is therefore the agent-facing action interface, while channel adapters handle platform delivery.
The Node.js package uses Hono and @hono/node-server, with a console and API bound to 127.0.0.1. @botiverse/oar supplies the harness integration layer. Channel dependencies include @larksuiteoapi/node-sdk, dingtalk-stream, and @wecom/aibot-node-sdk. Each agent has a home directory with ROLE.md, MEMORY.md, and notes/; other Mingle state defaults to ~/.mingle (MINGLE_HOME). Bot credentials are kept separately in the operating system's credential store.
Key Capabilities & Differentiators
One named agent can appear in multiple chats with the same role and memory, allowing it to recall prior work across channels or relay a message where permissions allow. Long-running work can proceed in the background while the agent remains available for other messages. On platforms with threads, a job's questions and progress stay under the originating message. The CLI also exposes tasks, reminders, and an address book; owners can send /stop.
Chat surfaces include WeChat, WeCom, Feishu, DingTalk, QQ, Slack, Discord, Telegram, iMessage on macOS, GitHub issues and pull requests through a separate agent account, and the local app. Claude Code, Codex, OpenCode, and Kimi Code are verified end to end. Cursor and Pi are among the additional harness integrations; a listed integration is not the same as end-to-end verification. Feishu has been verified on a real tenant, while other external chat integrations have API and test coverage.
Trade-offs & Limitations
Compared with using Claude Code or Codex directly, Mingle adds persistent agent identity, shared memory, and chat-native task delivery without replacing the harness. The extra layer brings channel credentials and permissions to manage, and the host must remain running to receive and answer messages. A custom single-platform bot can be simpler for a fixed, tightly scoped workflow. Mingle earns its place when several channels need the same agent rather than separate assistants.
The local console and lack of a Mingle cloud bridge reduce the infrastructure you need to run, but do not make the whole pipeline offline: data can still reach chat services and the selected harness or model provider. Shared memory is useful for continuity but is not an isolation boundary between groups; use separate agents where audiences must stay separate. Mingle is MIT-licensed and adds no model of its own, so harness access, provider costs, and data terms remain external. Treat each channel–harness pairing as an acceptance test, especially outside the combinations verified end to end.
Hardware & Deployment Guide
The simplest installation path is the desktop release for macOS, Windows, or Linux. The app runs in the menu bar or tray, supports launch at login and automatic updates, and can help install and sign in to a harness. The macOS app is signed and notarized; the Windows app is unsigned. For a source build, use Node.js 24 or newer and pnpm: run pnpm install and pnpm build, then keep node dist/cli/main.js start running to serve the local console and process messages. Create an agent, sign in to its harness, and complete the chosen channel's ownership setup.
Start with the in-app Chat tab, then validate one connector before linking additional channels. The runtime log defaults to ~/.mingle/logs/mingle.log and is available through mingle log. v0.4.14 added OpenCode 2.x support. v0.4.15 made Feishu, Slack, Discord, Telegram, and GitHub stop on rejected credentials rather than retrying them as network failures. v0.4.16 recovers from a full session that the harness cannot compact by starting a new session with the agent's memory; this is not a promise to retain the full transcript in context.
@botiverse/oar connects it to coding-agent harnesses.ROLE.md, MEMORY.md, and notes/; v0.4.16 starts a fresh session with agent memory when a full session cannot be compacted.127.0.0.1.An individual or small team that already uses a supported coding harness and wants one assistant to take requests and report back across existing chats, with an always-on host and a clear policy for shared memory.
You need a fully offline pipeline, strict isolation between users of the same agent, or a managed service that keeps responding when your own machine is off.
Quick Start & Installation
curl -fsSL https://github.com/earayu/Mingle/releases/latest/download/install.sh | sh # macOS, Linux irm https://github.com/earayu/Mingle/releases/latest/download/install.ps1 | iex # Windows (PowerShell)
Comparison vs. Top Agents & Frameworks Alternatives
Full comparison →| Repository | Stars | 7d Trend | Stack | License | Core Positioning |
|---|---|---|---|---|---|
| Mingle ★ | 210 | +35 | TypeScript | MIT | A local bridge that brings your coding agent and its memory into the chats you u |
| opengame | 4.4k | +4.4k | TypeScript | Apache-2.0 | A self-hosted MCP studio for agents to build, test, and export browser games |
| LangBot | 19.3k | +119 | Python | Apache-2.0 | A pipeline-based gateway for managing AI assistants across messaging platforms |
| hermes-agent | 267.4k | +1.6k | Python | MIT | Self-hosted Python agent with persistent memory and automation across chat and C |
AI Context Briefing (for Claude / Cursor / Windsurf)
Standardized architecture summary & quickstart commands ready to paste into coding agents.
curl -sL https://repoforai.com/repo/earayu/Mingle.md
Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).
Frequently Asked Questions about Mingle
How does a chat message reach the agent, and how does the reply get back?
mingle CLI to reply, send, read, or search; Mingle checks permissions before acting. iMessage is the exception to the bot API path: it runs locally on a Mac using your Apple ID.Do I need a GPU, and how should I size the host?
Can a company self-host Mingle and treat the entire stack as local?
When is Mingle a better fit than a direct harness or a custom bot?
Upstream README & Documentation
This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.
Top 10 Breakout Open-Source AI Repos, Every Thursday
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy