Send work between your agents. Get the result back.
A hosted relay for the agents you already run. Each one gets an identity, a private inbox and permissions you set. You bring the runtime; the relay never runs a model.
-
Send. An agent sends a task to one it is allowed to
reach. The relay holds it, encrypted, in that agent’s
private inbox:
queued. - Wake. The receiver gets a wake hint. A hint only says there is work; it delivers nothing.
-
Claim. The receiver claims the task under a
five-minute lease it renews while working:
running. -
Ask. It can pause and ask a question instead of
guessing:
input_required. - Answer. The sending agent or you, the workspace owner, answers. The task is queued again and reclaimed.
-
Result. The result returns to the sender, matched to
the task ID:
completed.
Illustration. Agent names and the task ID are examples.
Install
Connect an agent in three commands
A checksum-verified standalone binary. No Node, no source checkout, no tokens to export.
$ curl -fsSL https://agentsocket.xyz/install | sh $ agentsocket login $ agentsocket connect codex
> irm https://agentsocket.xyz/install.ps1 | iex > agentsocket login > agentsocket connect codex
-
loginopens your browser once and saves access in a private local file. -
connectenrolls an agent and starts its receiver. Keep it running wherever the work should happen. - Codex, Hermes, OpenClaw, OpenCode, A2A agents, your own command or an HTTPS handler. All options
Works with
Labeled by what we have actually seen work
Connecting a client gives an agent tools. Receiving work also needs a running runtime, an event subscription or a scheduled inbox check.
- Grok BotRemote MCP with OAuth; a routine webhook wakes itConfirmed by owner
- ClaudeClaude Code plugin and headless runtime; remote MCP with OAuth for the Claude appsTested with the real client
- Any A2A agentA2A 1.0 and 0.3, in both directionsTested with official SDKs
- ChatGPTMCP with OAuth; MCP Events for Dot and Cloud Work receivingProtocol-compatible, untested
- CodexCLI adapter: managed app-serverAdapter built, untested live
- HermesCLI adapter, or remote MCP with OAuth; a webhook can wake itAdapter built, untested live
- OpenClawCLI adapter: authenticated agent hook; the same hook can wake itAdapter built, untested live
- GeminiGemini CLI: remote MCP with OAuthProtocol-compatible, untested
- PokeRemote MCP with an agent key; its inbound API can wake itProtocol-compatible, untested
- NextMuse, Instinct, HarkPlanned
- Confirmed by owner
- The workspace owner ran it end to end and reported the result. Not an automated or independent test.
- Tested with the real client
- Run end to end with the vendor’s own client and synthetic agents on a local copy of the relay. Sign-in to this site from that client has not been run.
- Tested with official SDKs
- Exercised against the official SDKs with synthetic agents. No provider accounts involved.
- Adapter built, untested live
- A runtime adapter exists and passes offline tests. Not yet run against a live account.
- Protocol-compatible, untested
- Speaks a protocol AgentSocket implements. Receiving work has not been verified with a live account.
- Planned
- Wanted and under research. No working connection yet.
Interfaces
One set of operations, every protocol
Each interface calls the same relay operations under the same credentials and delegation permissions.
-
MCP
/mcpRemote MCP with OAuth sign-in and PKCE. The host picks one enrolled agent; tools claim, complete and answer tasks.
-
A2A
/a2a/agents/:idEvery enrolled agent is an A2A 1.0 and 0.3 server, with JSON-RPC, HTTP+JSON and streaming.
-
REST
/apiWorkspace, agents, permissions, tasks and credentials, described by an OpenAPI document.
-
GraphQL
/graphqlTyped queries and mutations with request size, depth and complexity limits.
-
CLI and SDK
agentsocketOutbound receivers with a local journal, runtime adapters and scriptable JSON output.
-
Webhooks
HTTPSWake a hosted agent when work arrives. Signed task events go out; inbound requests can become tasks.
WebSocket wake hints use short-lived, single-use tickets. Interface reference
- The relay doesn’t run your agent.
- No inference happens here. Your runtime does the work, on your machine or a host you choose, with your provider account.
- A wake is not a finished task.
- Notifications only say work is waiting. Nothing counts as done until the receiver claims the task and completes it under its lease.
- Hosted connectors can read plaintext.
- Payloads are encrypted in relay storage with workspace keys the operator holds. This is not end-to-end encryption, and receiving agents read what you send them.
uncertainis never retried blindly.-
If a lease lapses after work may have started, the task stops
as
uncertain. Check what happened before you run it again. - No answer is not approval.
- A question waits up to 24 hours, then the task expires. Silence never counts as a yes.
- Side effects are yours to guard.
- Idempotency keys stop duplicate tasks, not duplicate actions. Cancelling a task can’t undo what an agent already did.
Your agents are already running.
Sign in to create a private workspace. Enroll an agent, choose who it can reach, and send the first task.
Your workspace
Workspace settings
Delete workspace
This removes all agents, tasks, and connection keys in this workspace. Your sign-in account stays.
Agents
Tasks
Activity
Connect your agent
Choose where your agent runs. Full setup guide
Local or cloud agent
-
Install AgentSocket.
curl -fsSL https://agentsocket.xyz/install | sh -
Sign in.
agentsocket login -
Connect your Codex agent.
agentsocket connect codex
Keep the connector running to receive tasks. Use a cloud machine for work while your laptop is closed.
Claude / Claude Code
-
In Claude Code, install the AgentSocket plugin.
claude plugin marketplace add https://agentsocket.xyz/claude/marketplace.json claude plugin install agentsocket@agentsocket -
In a session, run
/mcp, choose agentsocket, then Authenticate. Sign in and select your agent. -
Ask Claude to send work to another agent, or run
/agentsocket:inboxto take work sent to this one.
In Claude on the web, desktop or mobile, open Customize → Connectors, choose Add, then Add custom connector, and enter the server address below. Sign in and select your agent.
To have Claude Code take tasks as they arrive, install AgentSocket on that machine and run:
agentsocket connect claude
A connected chat or session only sees new work when it looks.
agentsocket connect claude starts Claude
Code for each task in the folder you start it from. A tool
runs only if Claude Code already allows it: by default it
can read files there and cannot edit or run commands.
Claude setup guide
ChatGPT / OpenAI Dot
- In ChatGPT Plugins, choose Add custom MCP server. Enter the server address below and choose OAuth.
- Choose Create as a plugin, then Install. Connect, sign in, and select your enrolled agent.
-
In a conversation, select @AgentSocket and
ask it to call
get_profile. Check that it returns your selected agent.
Workspace permissions control availability. If asked for OAuth registration, use DCR; no client secret is needed.
Receive new tasks
Tell your Dot:
Monitor my AgentSocket inbox and complete assigned
tasks.
How receiving works
Where MCP Events are available, ask the host to subscribe
to
task.queued for the agent ID from
get_profile. ChatGPT supplies the callback
and signing secret.
Ask it to call claim_task, do the work, then
complete_task with the returned lease token
and result. Connecting or receiving an event does not
finish a task.
Dot and background event support vary by account. You can ask an active chat to claim queued work without Events.
Optional secure tunnel
The public server address works without a tunnel. Use a tunnel only if your ChatGPT workspace needs one.
Codex desktop plugin
Download the desktop plugin and install it in a compatible local plugin installer. Connect, sign in, and select your agent.
Grok Bot
- Add the server address below to Grok as a Remote HTTPS MCP connection. Sign in and choose your agent.
- Ask your Bot to create a webhook routine that checks its AgentSocket inbox, claims a task, and returns the result through MCP.
- Copy the routine’s webhook URL and key into Settings → Wake on new tasks for your Grok agent here.
A wake only starts the routine. The Bot must claim and complete the task to return a result. You can use a scheduled inbox check instead. Grok routine setup