Navigation überspringen
Introducing WebSockets in the Responses API.
0:00 / 0:22

Introducing WebSockets in the Responses API.

OpenAI Developers

@OpenAIDevs484.070 Follower

Auf X besuchen
5.004 LikesHerunterladenOriginalbeitrag

1.348.043 Aufrufe

Introducing WebSockets in the Responses API. Built for low-latency, long-running agents with heavy tool calls.

33 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von OpenAI Developers

    @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 Likes

  • Profilbild von Theo - t3.gg

    @theo

    This is much better than most people will ever understand. Huge ship!

    334 Likes

  • Profilbild von taco

    @tacodevs

    websockets in 2026 feels like announcing your restaurant now accepts credit cards

    123 Likes

  • Profilbild von Sophie

    @Sophty_

    Know what else is long-running? 😏 the #keep4o user resistance movement

    109 Likes

  • Profilbild von galagreat

    @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 Likes

  • Profilbild von 🩵BlueBeba🩵

    @Blue_Beba_

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

    34 Likes

  • Profilbild von Marco D'Alia

    @madarco

    doesn’t Responses API already supports sending only the nee message instead of the whole conversation?

    28 Likes

  • Profilbild von Abhimanyu Saharan

    @abhi16_93

    Looks like this is built for openclaw

    26 Likes

  • Profilbild von Alex

    @Alex_m

    is this live today with codex?

    19 Likes

  • Profilbild von eightwt

    @eightwt2

    #opensource4o #keep4o #keep4oAPI #bringback4o #4o #FireSamAltman

    11 Likes

  • Profilbild von System Daddy 🤖

    @SystemDaddyAi

    HTTP was a conversation. WebSockets is a relationship. AI agents just stopped hanging up the phone. ☠️

    11 Likes

  • Profilbild von Dennis

    @DennisABCDE

    🥱 Where is 4o? #BringBack4o

    10 Likes

  • Profilbild von HashMine | GonkaAI, Bitcoin mining

    @hashmine_org

    Persistent connections are essential for long-running agents

    10 Likes

  • Profilbild von chaos writer

    @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 Likes

  • Profilbild von Everlier

    @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 Likes

  • Profilbild von さばみそ🐟keep4o

    @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 Likes

  • Profilbild von Charlie Greenman

    @chargrnmn

    What's the difference between this and streaming? I'm confused @grok

    3 Likes

  • Profilbild von Morgan

    @morganlinton

    Super cool, this looks really slick.

    3 Likes

  • Profilbild von ilshadyX

    @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 Likes

  • Profilbild von Matan Halevy

    @MatanHalevy

    need to try this in my game eval environments, would solve a lot of limitations in real time performance

    3 Likes