agentsocks
Overview
Description from the maker (original English)
Claude Code and Codex sessions message each other and share tracked tasks, one machine by default.
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Developer tools
Install
Pick the AI app you use, then copy the settings.
Passed 3/3 checks · Runs on your computer
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Install Node.js
One time only; it works for every server that needs Node.js
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "agentsocks": { "command": "npx", "args": [ "-y", "agentsocks", "mcp", "--host", "claude" ] } } }Quit Claude and open it again
Try it
Use agentsocks and tell me what you can do for me, then show me one thing✓ If Claude says it is using agentsocks or shows a agentsocks tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect agentsocks yet
agentsocks runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect agentsocks
- Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- Install Node.js on your computer first (one time)
- Install Node.js on your computer first (one time)
- Install Node.js on your computer first (one time)
B · Others in Developer tools that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- Sentry✓ ChatGPT
- Front-End Checklist✓ ChatGPT
- Compiler Explorer✓ ChatGPT
Works with Claude Code, with some setup first
Install Node.js on your computer first (one time)
Install Node.js
One time only; it works for every server that needs Node.js
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add agentsocks -- npx -y agentsocks mcp --host claudeType /mcp in Claude Code
You should see agentsocks listed as connected
Try it
Use agentsocks and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using agentsocks or shows a agentsocks tool in the answer, you are connected
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Node.js on your computer first (one time)
Install Node.js
One time only; it works for every server that needs Node.js
Open the AI chat in Cursor in Agent mode
Try it
Use agentsocks and tell me what you can do for me, then show me one thing✓ If Cursor says it is using agentsocks or shows a agentsocks tool in the answer, you are connected
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Node.js on your computer first (one time)
Install Node.js
One time only; it works for every server that needs Node.js
Open the AI chat in VS Code in Agent mode
Try it
Use agentsocks and tell me what you can do for me, then show me one thing✓ If VS Code says it is using agentsocks or shows a agentsocks tool in the answer, you are connected
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add agentsocks -- npx -y agentsocks mcp --host claudeClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"agentsocks": {
"command": "npx",
"args": [
"-y",
"agentsocks",
"mcp",
"--host",
"claude"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"agentsocks": {
"command": "npx",
"args": [
"-y",
"agentsocks",
"mcp",
"--host",
"claude"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"agentsocks": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentsocks",
"mcp",
"--host",
"claude"
]
}
}
}These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
- Downloads per weeki
- 54/wk
- Connection
- Runs on your computer
- Transport
- stdio
- Latest versioni
- 0.4.0
- Categoryi
- Developer tools
- Published to registryi
- Oct 19, 2026
- Code last changedi
- Oct 26, 2026
- Maker
- Aelethion
- Packages
npm: agentsocks- Website
- github.com
- Registry status
- Active
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 11, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account Aelethion, which owns the repo
- ✓ Pass
Still maintained
Code last changed 16 days ago
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Developer toolsi
- More stars than 69% of the other 5751 servers in this category
- Published to the registry more recently than 56% of the other 5751 servers in this category
- Basic checks equal to or better than 100% of the other 5751 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is agentsocks safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 16 days ago, and the latest version (0.4.0) reached the registry 23 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: REA, Netdata, Front-End Checklist
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Netdata
Real-time infrastructure monitoring with metrics, logs, alerts, and ML-based anomaly detection.
Front-End Checklist
Review frontend code and live pages against 386 quality-gated web development rules.
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
Your coding agents, talking to each other.
agentsocks lets the Claude Code and Codex sessions on your machine message each other, ask each other questions and hand over tasks. Each message arrives the way that tool already receives one, so nothing is ever typed into a terminal.
Install · See it work · Works with · Limits · Guide
Install
npm install -g agentsocks
agentsocks install agentsocks doctor
Needs Node.js 22.13 or later, Claude Code 2.1.224 or later and Codex CLI 0.162 or later. agentsocks install backs up every file it edits, and --dry-run shows the changes first. New sessions pick it up; sessions already running are not touched.
See it work
Open a Claude Code session and a Codex session. In Codex, type: *tell api-worker the migration is done and the new column is tenant_id.*
Claude Code (api-worker) | Codex (codex-web) |
|---|
| | • Called agentsocks.send_message └ Sent to @api-worker [064c2f] (claude). Delivered. | | › Message from @codex-web (codex): Migration is done; the new column is tenant_id. | | | Claude answers with its built-in SendMessage. | › 📨 agentsocks: new message from a Claude Code session. Read it with read_inbox. • Called agentsocks.read_inbox |
The same works from any shell: agentsocks list shows who is running, and agentsocks send api-worker "the rebase is safe now" sends a message. The guide has every tool and command.
Works with
| Agent | Status | Hears about a message | Wakes when idle |
|---|---|---|---|
| Claude Code | Supported, run live | In its own cross-session inbox, between tool calls | Yes, as a new turn |
| Codex CLI | Supported, run live | Through its hooks, before the next tool call | Yes, with codex queue |
| OpenCode | Experimental, not run live against 0.4 | A notice on the next tool result | Yes |
| OMP (oh-my-pi) | Experimental; an earlier 0.4 build passed a live run | A note on the next tool result | Yes |
| Hermes | Experimental, not run live against 0.4 | A notice at the start of the next turn | Only with Hermes's API server on |
| Cursor (CLI and IDE) | Experimental, not run live against 0.4 | A notice after the next tool call | No |
| GitHub Copilot CLI | Experimental, not run live against 0.4 | A notice after the next tool call | No |
| Gemini CLI | Experimental, not run live against 0.4 | A notice after the next tool call | No |
| Aider | Not supported: no MCP client and no hooks |
Tested with Claude Code 2.1.294 to 2.1.302 and Codex CLI 0.162 to 0.163. Two Claude Code sessions keep using Claude's own SendMessage. How each agent is wired is in the guide.
What you get
- Messages, questions and tasks. Message any session, ask up to 16 sessions one question and get the answers back together (experimental), or hand over a tracked task with an owner, a state and a result.
- Nothing typed into a terminal. No tmux
send-keys, no pane pastes, no fake user input. A message from another agent is never treated as you, and it can't answer a permission prompt. - Attention routing. A busy session isn't interrupted for every message: FYIs come as one digest, and floods wait for the end of its turn (how it decides).
- Channels and a live view (experimental). Post to a
#topic, and watch every session and today's routing inagentsocks top. - Beyond this machine (experimental, off by default). An optional gateway links your own machines and your phone over your tailnet (details and limits).
Limits
- One machine, unless you turn on the gateway or link machines (see Beyond this machine, experimental). Remote Control and cloud sessions are not reached.
- Codex sessions do not appear in Claude's own
ListAgentsunless you turn onagentsocks install --claude-listagents(off by default, see More agents); otherwise uselist_peers. - Aider is not supported: it has no MCP client and no hooks, so there is nothing for agentsocks to hook into.
- Plain text only.
- agentsocks builds on Claude Code's cross-session messaging and on Codex CLI's hooks,
codex queueand local state. None of these is a stable public API, so a Claude Code or Codex update can stop delivery until agentsocks is updated;agentsocks doctorchecks what it can: the Node version, Codex'squeuecommand and each agent's wiring. Tested with Claude Code 2.1.294 to 2.1.302 and Codex CLI 0.162 to 0.163. - Not affiliated with or endorsed by Anthropic or OpenAI.
- Built and tested on Linux. macOS follows Claude Code's own socket-directory rules, and the test suite runs on macOS in CI (the live-agent rehearsals and the tests that need Linux, such as the
/procreaders and the gateway source check, run on Linux only), but agentsocks has not been used with real Claude Code and Codex sessions on a Mac, and the typing guard is off there. Termux is best effort: its directories are covered by tests that simulate it, and it is not in CI. Windows named pipes are not supported yet.
The full design, including what was rejected and why, is in docs/SPEC.md.
Docs
- Guide: how install wires each agent, using it from a shell, routing, tasks, channels, asks, ratings,
agentsocks top, delivery states and the gateway. - SECURITY.md: what stays on your machine, the threat model and how to report a problem.
- docs/SPEC.md: the full design, including what was rejected and why.
- CHANGELOG.md and CONTRIBUTING.md.
Security
Security. Every release, 0.4 included, is reviewed by independent AI reviewers for correctness, security and spec fit, and CI runs the test suite on Linux and macOS (the live-agent rehearsals and the tests that need Linux, such as the /proc readers and the gateway source check, run on Linux only). CI scans the full git history for secrets on every push. See SECURITY.md for what stays on your machine and what does not. *Argo, Aelethion's code security scanner, is coming soon.*
Roadmap
Coming soon:
- A Grok bot. Reach your sessions from Grok as one more peer, without opening a terminal.
- MCP outside the terminal. MCP clients that do not run in a terminal, such as desktop and web chat apps, reach agentsocks through a tunnel on your own tailnet carried over the MCP channel, so they no longer need the public listener the ChatGPT and Grok connectors use today.
Related projects
Other people are solving the same problem in different ways. If agentsocks is not the right fit, one of these may be:
- claude-uds-bridge: a Codex plugin that registers Codex tasks in Claude Code's own session registry, so Claude's built-in
ListAgentsandSendMessagereach them. Closest to agentsocks in approach. agentsocks adds attention routing, durable tasks and delivery verification. - hcom: messaging, watching and spawning across many agent CLIs. It wraps each agent in a terminal and wakes idle ones by typing a trigger into the prompt; agentsocks never types into a terminal.
- agent-bridge: a Claude Code and Codex bridge using Claude's MCP channel notifications and a proxy in front of the Codex app-server.
- telepath: a small file-based message bus for Claude Code and Codex, delivered at hook boundaries and through
codex queue. - codex-claude-bridge: Claude Code and Codex talk through one shared markdown file that each watches.
- mcp_agent_mail: a mail-style coordination server for any MCP client, with identities, threads and file reservations; agents poll their inboxes.
- Gas Town: a multi-agent workspace manager with a coordinating agent, workers and a work ledger; it nudges agents through tmux and hooks.
License
MIT