So you want to build AI Agent group chat like OpenAI?
zknill.io·20h·
Discuss: Hacker News
Flag this post

Overview

On Nov 13th Open AI announced the pilot of group chats in ChatGPT. This post looks at the existing patterns for interacting with models, and how they make it hard to build similar features.

Disclaimer, I work for Ably; so I’m intimately familiar with the tech I mention here. Opinions are my own, etc.

Existing patterns

If you look at the dominant AI and Agentic frameworks you’ll see the same pattern. Across Vercel AI SDK, Google ADK, Langchain, Mastra, Anthropic, and OpenAI SDKs; they all use the same dominant pattern for delivering model responses to clients.

The pattern relies on streaming responses as Server-Sent Events over long-lived HTTP connections. HT…

Similar Posts

Loading similar posts...