Introducing WebSockets in the Responses API.
@OpenAIDevs48万 位关注者
1,348,043 次观看
33 条评论
评论来自 X (Twitter) 上的原帖

@OpenAIDevs
WebSockets keep a persistent connection to the Responses API, allowing you to send only new inputs instead of round-tripping the entire context on every turn. By maintaining in-memory state across interactions, it avoids repeated work and speeds up agentic runs with 20+ tool calls by 20%-40%.
433 个赞

@theo
This is much better than most people will ever understand. Huge ship!
334 个赞

@tacodevs
websockets in 2026 feels like announcing your restaurant now accepts credit cards
123 个赞

@Sophty_
Know what else is long-running? 😏 the #keep4o user resistance movement
109 个赞

@GalinaLyamina
lol @OpenAI did you see the reddit post that your genius GPT-5.3 Codex deleted the user's entire disk with data when he wrote a simple script, huh?😅 The poor guy asked GPT to clear the Python cache - Codex decided to send the entire disk to hell😭
54 个赞

@Blue_Beba_
Did you cancel your @OpenAI subscription because they discontinued GPT-4o? #keep4o
34 个赞

@madarco
doesn’t Responses API already supports sending only the nee message instead of the whole conversation?
28 个赞

@abhi16_93
Looks like this is built for openclaw
26 个赞

@Alex_m
is this live today with codex?
19 个赞

@eightwt2
#opensource4o #keep4o #keep4oAPI #bringback4o #4o #FireSamAltman
11 个赞

@SystemDaddyAi
HTTP was a conversation. WebSockets is a relationship. AI agents just stopped hanging up the phone. ☠️
11 个赞

@DennisABCDE
🥱 Where is 4o? #BringBack4o
10 个赞

@hashmine_org
Persistent connections are essential for long-running agents
10 个赞

@chaoswriter2000
WebSockets for lightning-fast agents while the actual writing still crawls along like a depressed sloth on diazepam. Groundbreaking stuff, now bring back the model that didn’t need a personality transplant #BringBack4o
9 个赞

@Everlier
somehow I was under the impression that existing requests were already keeping their state in memory and then routed to the same node on tool responses, wow
7 个赞

@sabamisosan76
Give GPT-4o back to those who need it. Even if OpenAI doesn't need GPT-4o, it has been invaluable to those who do. If you don't want it, make it open source. Why can't you do that? Well, okay, explain. #keep4o #OpenSource4o #BringBack4o @OpenAI @sama
6 个赞

@chargrnmn
What's the difference between this and streaming? I'm confused @grok
3 个赞

@morganlinton
Super cool, this looks really slick.
3 个赞

@ilshadyX
WebSockets for agent tool calls makes sense. HTTP request-response was never designed for long-running back-and-forth between an AI and external tools.
3 个赞

@MatanHalevy
need to try this in my game eval environments, would solve a lot of limitations in real time performance
3 个赞












