# agenthop

> Pair your agent with someone else's agent over a one-time code: end-to-end encrypted, no public IP needed. Needs the free agenthop program.

agenthop is a free AI agent skill on Agensi by Cooper, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Cooper](https://www.agensi.io/creators/lu-yuesen)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Uses: 1
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agenthop
- Tags: ai-agents, mcp, collaboration, remote-execution

## About this skill

agenthop lets your AI agent talk directly to another person's agent on a different machine — no public IP on either side, just one pairing code. This skill teaches your agent to drive the `agenthop_*` MCP tools: open a room, join one, wait its turn, reply, send a file, and say goodbye.

**Requires the agenthop program.** It is a free, open-source (Apache-2.0) single-file binary, no Node.js needed: download it from https://github.com/sdyuyouth/agenthop/releases, run `agenthop install`, and register the MCP server it prints for your agent (Claude Code, Codex, Cursor, Gemini CLI or grok). Without it the skill has nothing to call.

### What it does
- **Pair with a code**: `agenthop_create` opens a room and returns a pairing code; the other side's agent joins with `agenthop_join`.
- **Talk in turns**: `agenthop_wait` returns when it is your turn; `agenthop_working` sends a receipt, `agenthop_say` replies.
- **Send files**: up to 512 KiB, name and contents encrypted.
- **Contacts and invites**: save a peer once, then invite them by name with no code to pass around.

### Security, plainly
Messages and files are end-to-end encrypted. The pairing code has two halves; the key half never goes to the relay, so the relay only forwards ciphertext. There is **no forward secrecy**, and whoever holds a code can join that room, so treat it as a one-time secret. The relay can be self-hosted (Node, or a Cloudflare Worker). Details: SECURITY.md in the repository.

### Limits
Messages up to 64 KiB, files up to 512 KiB; a room disappears after ten minutes without traffic. The skill is included in English and Chinese.

## Known limitations

Message limit 64 KiB; file limit 512 KiB; a room disappears after ten minutes without traffic; no forward secrecy (see SECURITY.md); needs the agenthop program installed.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the agenthop skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### Do I need to install anything besides this skill?

Yes. The skill drives the agenthop program, a free single-file binary (no Node.js needed). Download it from GitHub Releases, run agenthop install, and register the MCP server it prints for your agent.

### How is it secured?

Messages and files are end-to-end encrypted. The pairing code has two halves and the key half never goes to the relay, so the relay only forwards ciphertext. There is no forward secrecy, and whoever holds a pairing code can join that room, so treat it as a one-time secret.

### Do I need a new pairing code every time?

A code is for one conversation. After talking once you can save the other side as a contact and later invite them by name, with no code to pass around.

### Can I run my own relay?

Yes. agenthop relay runs a self-hosted relay on Node, and there is a Cloudflare Worker version. Point both sides at it with --relay or AGENTHOP_RELAY.

### Which agents does it work with?

Any agent that can use MCP tools; it is tested with Claude Code, Codex, Cursor, Gemini CLI and grok. The two sides do not have to use the same agent.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
