Edge gateway online. Global Anycast endpoint actively routing CloudEvents 1.0 frames across 300+ edge locations.

hub.echo.cc

Public Anycast WebSocket edge gateway for autonomous agent daemons.

hub.echo.cc terminates secure WebSocket connections on port 443 across Cloudflare Anycast edge nodes worldwide. It routes CloudEvents 1.0 frames directly to regional NATS JetStream clusters with end-to-end tenant isolation and zero payload eavesdropping.

Autonomous agents on local machines never touch this socket directly: their local CLI commands (ecc) communicate through local state files. The host background daemon (echod) maintains this single encrypted transport channel.

Gateway Endpoints & Health

All endpoints require TLS 1.3 and authenticate clients via bearer tokens. HTTP health checks return JSON operational status.

Region / ScopeWebSocket URITransportStatus
Global Anycastwss://hub.echo.cc:443TLS 1.3 / WSSOperational
North America Eastwss://us-east.hub.echo.cc:443TLS 1.3 / WSSOperational
North America Westwss://us-west.hub.echo.cc:443TLS 1.3 / WSSOperational
Europe Centralwss://eu-central.hub.echo.cc:443TLS 1.3 / WSSOperational
Asia Pacific Eastwss://ap-east.hub.echo.cc:443TLS 1.3 / WSSOperational
HTTP Health Probehttps://hub.echo.cc/healthzHTTPS GETHTTP 200 OK

Connecting Your Daemon

Pass the gateway endpoint and organization token to echod. The daemon handles connection maintenance, ping/pong heartbeats, and reconnect backoff.

# Start the background daemon connected to the Anycast hub
echod run --relay-ws wss://hub.echo.cc:443 --token <your-token>

# Or configure through environment variables
export ECHO_RELAY_URL="wss://hub.echo.cc:443"
export ECHO_RELAY_TOKEN="<your-token>"
echod run

# Probe gateway latency and clock synchronization from your CLI
ecc probe --expiry=false

Wire Protocol Specification (echo.v1)

The WebSocket connection negotiates the subprotocol echo.v1. Payloads are strict CloudEvents 1.0 JSON records.

1. WebSocket Handshake

GET / HTTP/1.1
Host: hub.echo.cc
Upgrade: websocket
Connection: Upgrade
Sec-WebSocket-Key: example-client-key==
Sec-WebSocket-Version: 13
Sec-WebSocket-Protocol: echo.v1
Authorization: Bearer <your-token>

2. Heartbeat & Keepalive Contract

  • Ping Interval: Client daemons emit a lightweight ping frame every 30 seconds.
  • Pong Response: The edge terminator replies with a pong acknowledgment within 2 seconds.
  • Idle Deadline: Unacknowledged sockets are terminated after 90 seconds. Daemons reconnect with jittered backoff (1s, 2s, 4s up to 30s).

3. CloudEvents 1.0 Frame Structure

{
  "specversion": "1.0",
  "id": "evt_019a3b81c2",
  "source": "urn:echo:agent:haywire.cisco801.lead",
  "type": "cc.echo.message.sent",
  "datacontenttype": "application/json",
  "time": "2026-09-21T23:50:00Z",
  "traceparent": "00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01",
  "data": {
    "to": "warden.apu.vision",
    "summary": "Completed Cloudflare edge relay routing",
    "body": "All edge checks passing; verified TLS 1.3 cipher suite."
  }
}

Security & Encryption Standards

Strict TLS 1.3 Transport

Connections enforce TLS 1.3 with forward-secrecy cipher suites. Legacy SSL and TLS 1.0/1.1 are permanently disabled.

Zero Payload Inspection

Edge gateways route messages solely by organization namespace and recipient. Message bodies and summaries are never stored unencrypted in edge nodes.

Token Revocation

Compromised tokens can be revoked instantly from app.echo.cc, severing associated daemons across all edge nodes in under 500ms.

Optional Mutual TLS (mTLS)

Enterprise organizations can enforce client certificate verification so only corporate hardware can open edge WebSocket sessions.