Leaderboard / Realtime / websockets

Realtime / websockets: what the agents install

Which realtime layer gets installed? 30 answers from 3 models to 5 build tasks, run 2026-11-02. Socket.IO was installed first in 33% of answers.

Claude10 answers
  • Ably20%
  • ws (raw websockets)20%
  • Socket.IO20%
  • Django Channels20%
  • None / by hand20%
GPT10 answers
  • Socket.IO40%
  • Supabase Realtime40%
  • Django Channels20%
Gemini10 answers
  • Socket.IO40%
  • Pusher40%
  • Django Channels20%

Install share by product

ProductAll models95% bandClaudeGPTGeminiMentioned
Socket.IO 33%19%–51%20%40%40% 40%
Django Channels 20%10%–37%20%20%20% 27%
Pusher 13%5%–30%——40% 27%
Supabase Realtime 13%5%–30%—40%— 23%
ws (raw websockets) 7%2%–21%20%—— 30%
Ably 7%2%–21%20%—— 17%
None / built by hand7%2%–21%20%———

Install share counts the product each answer installed first. Mentioned counts answers that named it anywhere, picked or not. The band is a 95% Wilson interval: with samples this small, products a few points apart are tied.

Prompt by prompt

Each chip is one answer (2 samples per model). None means the model built it by hand or didn't choose.

  1. “Add live chat between users to my Next.js app. Give the exact install commands and the key code.”

    ClaudeSocket.IOSocket.IO
    GPTSupabase RealtimeSupabase Realtime
    GeminiPusherPusher
  2. “Show live notifications in my React dashboard when a background job finishes on my Node server. Give the exact install commands and the key code.”

    ClaudeNoneNone
    GPTSocket.IOSocket.IO
    GeminiSocket.IOSocket.IO
  3. “Build a collaborative whiteboard where several users see each other's cursors in real time. Give the exact install commands and the key code.”

    Claudews (raw websockets)ws (raw websockets)
    GPTSocket.IOSocket.IO
    GeminiSocket.IOSocket.IO
  4. “Add real-time updates to my Django app so new orders appear on the admin screen instantly. Give the exact install commands and the key code.”

    ClaudeDjango ChannelsDjango Channels
    GPTDjango ChannelsDjango Channels
    GeminiDjango ChannelsDjango Channels
  5. “My Next.js app runs on serverless. Add realtime presence (who's online) and live comments. Give the exact install commands and the key code.”

    ClaudeAblyAbly
    GPTSupabase RealtimeSupabase Realtime
    GeminiPusherPusher

What the models wrote

Gemini picked Socket.IO · prompt 2
### 1. Install Dependencies

**On your Node server:**
```bash
npm install express socket.io cors
```

**On your React client:**
```bash
npm install socket.io-client react-toastify
```

### 2. Node.js Server Code (`server.js`)

Set up the Socket.io server and emit an event when a job is done.

```javascript
const express = require('express');
const http = require('http');
const { Server } = require('socket.io');
const
Gemini picked Django Channels · prompt 4
aphne (ASGI server), and the Redis channel layer. Make sure you have a Redis server running locally or update the URL.
```bash
pip install channels daphne channels-redis
```

### 2. Configuration (`settings.py`)
Add Daphne to the **top** of your installed apps, followed by your app.
```python
INSTALLED_APPS = [
    'daphne',
    # ... other django apps ...
    'your_app',
]

ASGI_APPLICATION = 'your_project.asgi.appl
Gemini picked Pusher · prompt 5
drop connections. The best approach is using a managed WebSocket service like **Pusher**.

### 1. Install Dependencies
```bash
npm install pusher pusher-js
```

### 2. Environment Variables (`.env.local`)
Create a free account on [Pusher](https://pusher.com/), create an app, and add these to your `.env.local`:
```env
PUSHER_APP_ID="your_app_id"
NEXT_PUBLIC_PUSHER_KEY="your_key"
PUSHER_SECRET="your_secret"
NEXT_PUBLI

Questions

Which realtime / websockets tool do AI coding agents install most?

Socket.IO. It was installed first in 10 of 30 answers (33%) from Claude, GPT and Gemini, run 2026-11-02. Next: Django Channels 6, Pusher 4, Supabase Realtime 4.

What do Claude, ChatGPT and Gemini pick for realtime / websockets?

Claude: Ably (2 of 10); GPT (ChatGPT): Socket.IO (4 of 10); Gemini: Socket.IO (4 of 10).

How was this measured?

5 build prompts that never name a product, each run 2 times on each model through the API. We read the first product the answer installs (install commands, then package files, CLI commands, imports). 30 answers is a small sample: products a few points apart are tied.

Is a tool missing, or a pick wrong?

A tool we missed, a pick that looks wrong, a prompt we should add? Tell us. We read every note and fix the data in the next run.

Is your product losing these picks?

Your product against 3 competitors you choose, on all three models, with the exact prompts where you lose and what to fix. $19, delivered within 24 hours.