Realtime
Ably
standardAbly is an reliable realtime provider offering WebSockets, Pub/Sub Messaging, Presence Detection and 1 more through Aweb's unified API. It features full streaming support with premium-tier latency.
Specifications
Capabilities (4)
Quick start
Use Ably through Alfred's unified API — no provider-specific SDK needed.
cURL
curl -X POST https://api.alfred-ai.app/v1/execute \
-H "Authorization: Bearer $ALFRED_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"provider": "ably",
"capability": "realtime.websockets",
"input": { "prompt": "Hello from Ably!" }
}'TypeScript
import { Alfred } from '@alfred/core';
const alfred = new Alfred({ apiKey: process.env.ALFRED_API_KEY });
const result = await alfred.execute({
provider: 'ably',
capability: 'realtime.websockets',
input: { prompt: 'Hello from Ably!' },
});
console.log(result.output);