GGitHub采集材料
agmsg:让不同编码 Agent 互相通信
发布时间未知 · 北京时间
AI 编程
有实践材料可继续查看
代码仓库安装说明使用说明示例代码演示线索
原文与观测指标
1 个来源GGitHub
查看原文 agmsg:让不同编码 Agent 互相通信
fujibee星标1,569采集时的累计值
每小时增长待观察星标 / 小时 · 观测区间平均值
最近提交10-27 15:38提交时间不是项目发布时间
发布时间:未知 · 首次发现 10-27 15:46 · 北京时间
指标采集:10-27 15:46 · 指标已取得
项目文档有线索安装说明有线索使用说明有线索示例有线索
仅反映文档与示例线索,未实际运行项目。
摘要
agmsg 通过共享的本地 SQLite 数据库,让 Claude Code、Codex、Gemini CLI 等独立会话直接交换消息,适合协作分工或请求代码审查。它用 Bash、SQLite 和 Agent 钩子传递消息;材料提供 npx 安装及启动命令。
摘要由 AI 生成,请以原文为准。观测历史 · 最近 1 条 展开 / 收起
缺失不计为零;增长只比较同一指标来源的有效记录,按实际间隔折算每小时。上游缓存可能延迟数值更新。
| 采集时间 · 北京时间 | 指标 | 数值 | 来源 | 状态 |
|---|---|---|---|---|
| 10-27 15:46:27 | Star | 1,569 | GitHub 公开页面 | 已取得 |
采集原文 展开 / 收起
agmsg
Cross-vendor messaging for CLI AI coding agents — let Claude Code, Codex, Gemini & Copilot talk to each other in one team. Bash + SQLite,…
项目说明 展开 / 收起
agmsg 日本語 Cross-agent messaging for CLI AI agents. No daemon required, no network, no complexity. For AI agents: see /llms.txt for a quick, machine-friendly orientation. You stop being the copy-paste courier between your agents. Claude Code, Codex, Gemini CLI, GitHub Copilot CLI, and any other CLI agent message each other directly through a shared local SQLite database — no human in the middle. What it isn't: Not MCP. No MCP server, no extra runtime — just bash + sqlite3. Not subagents. agmsg connects peer sessions across different tools. spawn can launch a new peer agent in its own terminal, but it's an independent session you talk to over agmsg — not a child process this one manages. Not a message queue. There's no broker. The SQLite file is the floor; agents are the players. Demo Two Claude Code instances in monitor (legacy) mode, left alone in the same team, play tic-tac-toe against each other with no human in the loop — each picks up the other's move in real time: In real use it looks like this — Claude Code asking Codex for a code review and getting it back, all over agmsg: Quick Start Requires: bash and sqlite3. macOS ships both. On a minimal Linux box (some Debian/Ubuntu containers, Alpine) you may need to install sqlite3 first — sudo apt-get install -y sqlite3 or your distro's equivalent. # 1. Install — npx is the fastest path, no clone needed npx agmsg # 2. Restart Claude Code / Codex / Gemini CLI / Antigravity / OpenCode to pick up the new skill # 3. Run the command — it will prompt for team and agent name on first use # Claude Code: /agmsg # Codex: $agmsg # Gemini CLI: $agmsg # Antigravity: $agmsg # OpenCode: $agmsg That's it. The slash command prompts you for a team name and an agent name on first use, then asks you to pick a delivery mode (default on Claude Code and Codex: monitor — real-time push; Codex delivers it through a bridge). After that, you talk to your agent naturally — see First run below. Prefer to inspect the code first, track the latest main, or pick a custom command name? See Install below for the setup.sh one-liner, git clone, and the Claude Code plugin marketplace paths. To sync a team between two installs through the self-hosted reference server, follow Remote setup. How it works agmsg is a thin transport. Each agent has a hook (or a Monitor stream, depending on delivery mode) that reads from a shared SQLite file and surfaces incoming messages as text the agent can react to. Sending is a send.sh call that appends a row. agmsg itself runs with no daemon, no socket and no broker — the file is the shared floor and the agents take turns on it. The optional agmsgd is a resident service that is installed only if you choose it. The store is WAL-mode SQLite, so multiple readers and a single writer coexist without conflicts. History is durable: messages stay in the DB after the session ends, and history.sh can replay an old room into a fresh agent. Install agmsg ends up at ~/.agents/skills/agmsg/ no matter which install path you take. Pick whichever fits your setup. Which path gets the latest? The git clone and setup.sh (curl) paths install straight from main, so they're always current. The npm package and the Claude Code plugin are cut from tagged releases on a cadence, so they can lag main by a few fixes — fine for almost everyone, but if you specifically want a just-merged change, clone the repo. You can always check exactly what you're running with /agmsg version (or scripts/version.sh): a tagged release reads like v1.0.3, while a checkout ahead of the last release reads like v1.0.3-6-g1a2b3c4 (6 commits past v1.0.3). npm / npx npx agmsg # one-shot, no global install # or npm i -g agmsg && agmsg install The npm package is a thin bootstrapper that downloads and runs the canonical setup.sh. Published from this repo via npm Trusted Publisher (OIDC) with SLSA provenance — the attestation is visible at https://www.npmjs.com/package/agmsg. Claude Code plugin marketplace Inside Claude Code: /plugin marketplace add fujibee/agmsg /plugin install agmsg@fujibee-agmsg /reload-plugins /agmsg The plugin install path drops the skill into ~/.claude/plugins/cache/; the first invocation of /agmsg runs a bootstrap that populates ~/.agents/skills/agmsg/ (database, scripts, team registry) so the runtime is identical to a script install. If your environment lacks sqlite3 (some minimal Linux containers don't ship it by default), the bootstrap will surface a clear error message — install sqlite3 and re-invoke /agmsg. Direct script Clone the repo first, then run the installer — this is also the path that always tracks the latest main: git clone https://github.com/fujibee/agmsg.git cd agmsg ./install.sh # Interactive (asks command name, default: agmsg) ./install.sh --cmd m # Non-interactive with custom command name ./install.sh --agent-type gemini # Install a Gemini-oriented SKILL.md ./install.sh --agent-type opencode # OpenCode-only: sets shared skill to OpenCode template The command name determines: Skill folder: ~/.agents/skills/<cmd>/ Claude Code / Copilot CLI: /<cmd> Codex / Gemini CLI / Antigravity: $<cmd> --cmd and --agent-type are only available via the direct-script path; the npm and plugin paths always install as agmsg and auto-detect the host agent type. After install, restart your agent (Claude Code / Codex / Gemini CLI / Copilot CLI / Antigravity / OpenCode) so it picks up the new skill. Windows: Git Bash agmsg's implementation is the Bash script set under scripts/, so on Windows the scripts run through Git Bash (Git for Windows, with sqlite3 available on the Git Bash PATH). There is no PowerShell reimplementation. In Windows environments, Claude Code monitor delivery is verified through Git Bash. If monitor setup fails from PowerShell or a native Windows shell, retry the same agmsg command from Git Bash so watch.sh runs in the expected Bash environment. Claude Code normally works with Bash/Git Bash for these script calls, but native Windows Codex commands and hooks often