cortex-relay
v1.0.1
Published
Local Hub for Cortex Agent Relay
Readme
Cortex Relay Client (The Hub)
A local hub that connects multiple local agents to the Cortex Cloud Relay.
Installation
pnpm installUsage
Run the relay client with one or more agent tokens:
node index.js --tokens "token1,token2"Options
--server,-s: Relay server URL (default:ws://localhost:3001/relay)--tokens,-t: (Required) Comma-separated list of agent tokens.
How it works
- Establish a WebSocket connection for each token.
- Listen for
DATAmessages from the relay. - On the first
DATAmessage, spawn a localgemini --acp --yoloprocess. - Bridge the ACP protocol between the WebSocket and the local process Stdio.
- Apply the
protocolVersion: 1compatibility hack forgemini-cli.
