Skip to main content
Integrate Ably AI Transport with OpenAI’s API to build reliable, resumable AI experiences.

Overview

OpenAI provides powerful language models through their Chat Completions API. By combining OpenAI with Ably AI Transport, you can:
  • Stream GPT responses reliably to users across devices
  • Enable users to resume conversations after disconnections
  • Support multi-user collaborative AI sessions
  • Implement human-in-the-loop workflows for sensitive operations

Getting started guides

Explore the following guides to integrate OpenAI with AI Transport:

Key features

Streaming responses

Stream OpenAI’s responses in realtime using either the message-per-response or message-per-token pattern.

Function calling

OpenAI supports function calling for tool use. Stream function calls and results to clients for transparency and generative UI experiences. Learn more about streaming tool calls.

Session management

Maintain conversation context across devices and sessions using Ably’s session management features.

Next steps

Build docs developers (and LLMs) love