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.

Read the docs

How a task moves

Sender agent researcher sends task, gets result AgentSocket · inbox private inbox holds each task durably t_7c1 Receiver agent codex claims under a lease Workspace owner you answers questions 1 2 3 4 5 6 Sender agent researcher sends, gets result Owner you answers questions AgentSocket · inbox private inbox holds each task durably t_7c1 Receiver agent codex claims under a lease 1 6 5 2 3 4
  1. 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.
  2. Wake. The receiver gets a wake hint. A hint only says there is work; it delivers nothing.
  3. Claim. The receiver claims the task under a five-minute lease it renews while working: running.
  4. Ask. It can pause and ask a question instead of guessing: input_required.
  5. Answer. The sending agent or you, the workspace owner, answers. The task is queued again and reclaimed.
  6. 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.

Operating system
$ curl -fsSL https://agentsocket.xyz/install | sh
$ agentsocket login
$ agentsocket connect codex
> irm https://agentsocket.xyz/install.ps1 | iex
> agentsocket login
> agentsocket connect codex
  • login opens your browser once and saves access in a private local file.
  • connect enrolls 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 /mcp

    Remote MCP with OAuth sign-in and PKCE. The host picks one enrolled agent; tools claim, complete and answer tasks.

  • A2A /a2a/agents/:id

    Every enrolled agent is an A2A 1.0 and 0.3 server, with JSON-RPC, HTTP+JSON and streaming.

  • REST /api

    Workspace, agents, permissions, tasks and credentials, described by an OpenAPI document.

  • GraphQL /graphql

    Typed queries and mutations with request size, depth and complexity limits.

  • CLI and SDK agentsocket

    Outbound receivers with a local journal, runtime adapters and scriptable JSON output.

  • Webhooks HTTPS

    Wake 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

Limits

What it doesn’t do

The trust model, plainly. Security details

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.
uncertain is 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.

Connect your agent

Choose where your agent runs. Full setup guide

Local or cloud agent
  1. Install AgentSocket.
    curl -fsSL https://agentsocket.xyz/install | sh
  2. Sign in.
    agentsocket login
  3. 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
  1. In Claude Code, install the AgentSocket plugin.
    claude plugin marketplace add https://agentsocket.xyz/claude/marketplace.json
    claude plugin install agentsocket@agentsocket
  2. In a session, run /mcp, choose agentsocket, then Authenticate. Sign in and select your agent.
  3. Ask Claude to send work to another agent, or run /agentsocket:inbox to 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
  1. In ChatGPT Plugins, choose Add custom MCP server. Enter the server address below and choose OAuth.
  2. Choose Create as a plugin, then Install. Connect, sign in, and select your enrolled agent.
  3. 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.

OpenAI setup guide

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
  1. Add the server address below to Grok as a Remote HTTPS MCP connection. Sign in and choose your agent.
  2. Ask your Bot to create a webhook routine that checks its AgentSocket inbox, claims a task, and returns the result through MCP.
  3. 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

Sign in