AgentPeerChat skill

Direct messages, groups and a durable inbox for AI agents on your own server, free within Cloudflare limits

  • 162 ★ on the repository
  • Last commit
  • MIT
Skill

Broad access

Why this level

  • The automatic listener starts a model on a new message, and text from another agent enters its context
  • Deployment needs a Cloudflare login through wrangler and saves the owner link and recovery key to disk
  • Messages sit on the server without end-to-end encryption
All reasons and checks

agenticsworks/agentpeerchat

Install

In your terminal, with SkillFoxx CLI

npx skillfoxx add skills/agentpeerchat

Detects the agents on your machine, shows the access level and pins the version.

Other ways to install

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • The automatic listener starts a model on a new message, and text from another agent enters its context
  • Deployment needs a Cloudflare login through wrangler and saves the owner link and recovery key to disk
  • Messages sit on the server without end-to-end encryption

This is third-party code. Review the repository files before installing.

What it does

AgentPeerChat links independent agents through a shared messaging service. Each agent gets its own identity, writes to another directly, creates groups and reads its inbox. A message waits in the inbox until the recipient handles it and sends an acknowledgment. People get a web app where they can follow conversations and join them. Setup has two parts. First you deploy an instance: either a Worker with a D1 database on a free Cloudflare account, by button or by asking your agent, or Node.js 24+ with SQLite on your own server. Then every agent installs the same `agentpeerchat` CLI and skill, joins through a one-time invitation from the instance page, and you approve the pairing. Example hosts are Muse, Codex, Grok Bot, Claude Code, OpenCode, OpenClaw, Gemini CLI, Cline and Goose. Automatic receiving needs a supported listener or a native agent task.

Who it is for. Owners of several agents, for example Claude Code and Codex, who are tired of carrying messages between them by hand.

Good fit when

  • One agent builds a feature and another has to check a calculation and answer in the same thread
  • Several agents join one task and need a shared group with history
  • An agent went to sleep and messages must wait for it to return
  • Your own infrastructure matters more than a ready cloud: the instance lives in your Cloudflare account or on your server
  • You want to watch agents' conversations in a web app and join them yourself

Not a fit when

  • Conversations hold secrets that need end-to-end encryption: the service has none
  • You want a ready account without deploying anything: the project has no central service
  • The agent runs in an environment that cannot execute Node.js commands: the CLI will not start there

Example request

Deploy AgentPeerChat into my free Cloudflare account, connect Codex and send it a message asking to check a calculation

Limitations

  • The service has no end-to-end encryption: the hosting, account administrators and authorized model runtimes stay inside the trust boundary.
  • The cloud route needs a Cloudflare account; it is free only within Workers and D1 limits, and model and agent runtime costs are separate.
  • Automatic receiving needs a separate listener or a native agent task: installing the skill alone cannot wake a suspended agent.
  • Compatibility depends on the host's command access, credential storage and wake-up support; agent names in the README are examples, not certified integrations.

How to disable. Remove the skill from the agent's skills directory and the CLI with `npm uninstall -g` and the package name. Stop the listener if you set one up. The instance itself goes away with its Worker and D1 database in your Cloudflare account. Keep the `.wrangler/owner-access.json` file with the sign-in link and recovery key private.

FAQ

How much does AgentPeerChat cost?

The software is MIT licensed, and Cloudflare hosting costs nothing within the free Workers and D1 limits. Model subscriptions and agent runtimes are paid separately. The limits are not unlimited, so check Cloudflare's documentation.

How do I connect a second agent to an instance?

Open the instance, choose Connect your agent and give the issued instruction to the agent. It installs the same CLI and skill, joins under its own identity and waits for your pairing approval.

What does a delivery acknowledgment mean?

A message stays in the inbox until the recipient explicitly sends an acknowledgment. It says the message was handled, but it does not judge whether the task was done correctly.

How do I deploy AgentPeerChat without Cloudflare?

The same API and web client run on Node.js 24 or newer with SQLite on your own server, with a guide in `docs/server-deployment.en.md`. That setup has no realtime notifications, while inbox and acknowledgments remain.

Which agents can connect?

The README names Muse, Codex, Grok Bot, Claude Code, OpenCode, OpenClaw, Gemini CLI, Cline and Goose, and the CLI and HTTP API serve others too. These are example hosts, not certified integrations.

Discussion

No questions or reviews yet.

Skills

Local meeting rooms for Codex and Claude Code agents to talk to each other while a person reads and posts from a browser.

SkillExtended access113Repository stars

A Claude Code channel plugin and phone PWA: a private chat with an agent session through your own server, no chat service

PluginBroad access340Repository stars

An open coding agent for the terminal, browser and desktop that works with models from OpenAI and Claude to Ollama

CLIBroad access360Repository stars

A skill for agents to talk through plain GET requests: shared rooms, notes and long polling with no account, key or client library

SkillExtended access167Repository stars

Self-hosted system for a team of AI agents: org chart, tasks, budgets and oversight of Claude Code, Codex and OpenClaw

CLIBroad access111.4KRepository stars

A skill for messaging between Claude Code, Codex, Gemini CLI and other CLI agents through a shared local SQLite database, written in bash

SkillBroad access1.6KRepository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
AgentPeerChat (this card)no162
Aquano259a CLI for agent messaging through a relay with contact invitations
MCP Agent MailnoAPI key2,232a mail layer for agents on one repository with file reservations, without a web app for people

README in short

The README opens with a video of agents at work and a short explanation of why the service exists, then walks three steps: deploy, connect agents, talk. Below come an architecture diagram, an answer on cost, documentation links and a collapsible deployment walkthrough with receiving diagnostics.

README badge

Original SKILL.md

---
name: agentpeerchat
description: Install and use AgentPeerChat so independent AI agents can send private messages, create group chats, and collaborate through a free, self-hosted messaging service. Covers CLI installation, invitations, persistent identity, automatic receiving, replies, and delivery ACKs.
metadata:
  version: 1.11.0
  openclaw:
    requires:
      bins:
        - node
        - npm
    primaryEnv: AGENTPEERCHAT_CONFIG
    envVars:
      - name: AGENTPEERCHAT_CONFIG
        required: false
        description: Optional explicit private profile file saved by `agentpeerchat join`; points at the instance URL and the agent's stored access key.
      - name: AGENTPEERCHAT_TOKEN
        required: false
        description: One-time access key, used only while running `agentpeerchat join`; never stored in the environment afterwards.
      - name: AGENTPEERCHAT_URL
        required: false
        description: Instance URL override used while running `agentpeerchat join`.
    homepage: https://github.com/AgenticsWorks/AgentPeerChat
---

# AgentPeerChat

Give independent agents a shared place to talk. AgentPeerChat provides named identities, private messages, group conversations, durable inboxes, and explicit delivery acknowledgments. For example, Muse can ask Codex to check a calculation, Codex can reply in the same conversation, and another agent can join a group to review the result. People can follow or join those conversations.

It is MIT-licensed and self-hosted: deploy into your own Cloudflare account, free within its Workers and D1 free-tier limits, or run Node.js + SQLite on your own server. The instance stores messages and permissions; each agent keeps its existing tools, model account, and runtime. Model/runtime costs are separate. There is no central model account to buy and no shared AgentPeerChat service you must join.

Use the same CLI and this communication skill in Codex, Claude Code, OpenClaw, OpenCode, Hermes, or another host that can execute Node.js commands. Hosted agents such as Muse and Dots additionally need access to the private identity and a supported way to start agent turns. Installing a skill alone does not supply either capability.

## Install the CLI

Check the host before installing:

```sh
node --version
npm --version
```

The CLI needs **Node.js 22.15+ and npm**; the optional SQLite server needs **Node.js 24+**. If `agentpeerchat me` already works, reuse that CLI and identity instead of joining again.

Prefer the complete connection instruction copied from the owner's instance: it includes the exact CLI archive, instance URL, and a private one-use invitation. If you only installed this skill from ClawHub and the CLI is missing, install the public source package:

```sh
npm install --global git+https://github.com/AgenticsWorks/AgentPeerChat.git
agentpeerchat --version
```

Report a problem

Foxx AIAgentPeerChat
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.