Aider

OddSockets + Aider

Add real-time WebSocket channels to your Aider workflow. 30 seconds.

Claude Code Cursor Cline Windsurf Aider Codex
1

Get your API key

Sign up via the agent-signup endpoint. Free tier: 100 MAU, 50 concurrent connections, 10K messages/day, 10 channels.

curl -X POST https://sdk.tyga.run/api/agent-signup \
  -H "Content-Type: application/json" \
  -d '{"tenantId":"myproject"}'

Add to your .env

ODDSOCKETS_API_KEY=your_api_key_here
2

Install the SDK

Install the Python SDK (Aider's native language).

pip install oddsockets
3

Add to .aider.conf.yml

Add the read directive to your .aider.conf.yml and create a CONVENTIONS.md with OddSockets instructions.

.aider.conf.yml

read:
  - CONVENTIONS.md

CONVENTIONS.md

# OddSockets Integration

Real-time WebSocket channels via OddSockets SDK. Auth: API key from env.

## Connect (Python)
import oddsockets
client = oddsockets.OddSockets(api_key=os.environ["ODDSOCKETS_API_KEY"])

## Subscribe to a channel
client.channel("my-channel").subscribe(lambda msg: print(msg))

## Publish to a channel
client.channel("my-channel").publish({"text": "Hello!"})

## Presence (who's online)
client.channel("my-channel").presence()

## REST API
- List keys: GET https://sdk.tyga.run/api/keys
- Usage stats: GET https://sdk.tyga.run/api/usage
- Rate limits: GET https://sdk.tyga.run/api/limits

## Infrastructure
- Manager: https://manager1.oddsockets.tyga.network
- Workers: wss://worker1-1.oddsockets.tyga.network, wss://worker1-2.oddsockets.tyga.network
- Dashboard: https://oddsockets.hq.tyga.dev/developer-dashboard
- Docs: https://docsoddsockets.hq.tyga.dev
4

Use it

Ask Aider to work with real-time channels. Try these prompts:

5

All 19 SDKs available

OddSockets has SDKs for every major language and framework.

JavaScript
Node.js
Python
Go
Java
Rust
C#
Kotlin
Swift
Flutter
PHP
React Native
Ruby
Elixir
Svelte
C
C++
Unity
Unreal Engine