---
id: 20260423-T0-09
title: "OpenAI通过WebSocket优化API响应，提升代理工作流效率"
title_en: "OpenAI Speeds Up Agent Workflows with WebSocket API"
url: https://ai.daily.yangsir.net/daily/20260423-T0-09
issue_date: 2026-04-23
publish_date: 2026-04-22T10:00:00.000Z
category: tools
source_name: "OpenAI News"
source_url: https://openai.com/index/speeding-up-agentic-workflows-with-websockets
---

# OpenAI通过WebSocket优化API响应，提升代理工作流效率

OpenAI深入解析Codex代理循环，通过引入WebSocket和连接范围缓存技术，显著降低了API开销并改善了模型延迟。该优化使代理在执行复杂任务时响应速度提升30%以上，特别是在需要多次API调用的场景中效果明显。开发者可直接在Responses API中利用这些优化，构建更高效的AI应用。

## English Version

**OpenAI Speeds Up Agent Workflows with WebSocket API**

OpenAI has optimized its Responses API using WebSockets and connection-scoped caching to reduce API overhead and improve model latency. This optimization speeds up the Codex agent loop by over 30%, particularly in scenarios requiring multiple API calls. Developers can now leverage these improvements directly in their applications for more efficient AI workflows.

---

**来源**：[OpenAI News](https://openai.com/index/speeding-up-agentic-workflows-with-websockets)

**详情页**：https://ai.daily.yangsir.net/daily/20260423-T0-09

---

*智语观潮 · Daily — https://ai.daily.yangsir.net/llms.txt*