Your coding agent adds real-time pub/sub to any app. One API call. 30 seconds.
Sign up via the agent-signup endpoint. Your key works immediately, capped at 10,000 messages, 25 channels and 25 connections. Add a card within 48 hours to start your 7-day free trial.
curl -X POST https://sdk.tyga.run/api/agent-signup \
-H "Content-Type: application/json" \
-d '{"tenantId":"myproject"}'
Install the SDK and subscribe to a channel in under 5 lines of code.
npm install oddsockets
const client = new OddSockets({ apiKey: process.env.ODDSOCKETS_API_KEY });
client.channel('my-channel').subscribe(msg => console.log(msg));
client.channel('my-channel').publish({ text: 'Hello!' });
Choose your coding agent below for step-by-step setup with the right config file.