Skip to content
Agim
Open source · v1.0.1

Chat with Claude Code from any messenger.

Agim (阿吉姆) bridges WeChat, Telegram, Feishu, DingTalk, and Discord to Claude Code, OpenCode, Codex, and Copilot — simple to configure, reliable in production, light on resources.

Everything you need to ship a personal AI assistant

Built around the agents and messengers you already use. Free to run — point it at any Agent CLI on your laptop or a server, and your existing Claude Code / Codex / Copilot subscription becomes reachable from any IM you already chat in.

7 messenger channels

WeChat (iLink Bot), Telegram, Feishu/Lark, DingTalk (Stream mode), Discord, Email (SMTP), plus a built-in Web console.

4 native agents

Claude Code, OpenCode, Codex, GitHub Copilot. Plus generic ACP support so any HTTP agent works in 30 lines of config.

In-IM approval flow

Tool calls that touch the filesystem, run shell commands, or hit the network all surface as approval cards. Reply y/n/all from your phone.

Natural-language reminders

/remind 30 分钟后 喝水 — or just say it casually and the LLM detector will offer a confirmation card. Recurring + email delivery built in.

5W1H persistent memory

/memo stores who / what / when / where / how / why with optional GPS capture. Agents read + write it via MCP, so casual mentions ("car parked here", "dad's birthday May 8") get remembered and recalled.

Scheduled agent runs

cron expressions trigger any registered agent with a stored prompt. Daily reports, weekly digests, off-hours batch jobs.

Per-thread audit & metrics

Every invocation lands in SQLite with cost / latency / agent / outcome. Web dashboard renders the timeline; metrics endpoint feeds Prometheus.

One command to get running

The installer asks for an ACP port and a web port; once it installs and starts the service, run `agim config` to finish setup.

Requires bash, curl, and Node.js ≥ 22. Drops a systemd unit if you run as root.

Or install manually: npm install -g agim-cli — Requires Node.js ≥ 22.