📣 Technical lessons from building computer access for agents
— OpenAI Developers (@OpenAIDevs) March 11, 2026
Making long-running workflows practical required tightening the execution loop, providing rich context via file systems, and enabling network access with security guardrails.
Here's how we equipped the Responses API…
AI 中文摘要Claude 生成
OpenAI近期在Responses API中引入了電腦環境功能,使AI Agent能夠執行長期工作流程。核心創新包括Shell工具、容器運行時和多項實用優化。
Shell工具讓模型透過命令列與電腦互動,支援執行Python、Go、Java等多種程式,遠超既有程式解釋器的功能。Responses API透過編排Agent迴圈協調模型與工具,支援並行執行多個命令並即時串流輸出結果。為避免輸出充爆context window,系統提供可配置的輸出上限功能。
針對長期任務,OpenAI實現了原生Compaction機制,將prior conversation state壓縮為token高效的加密表示,讓工作流程能跨越context視窗邊界持續執行。容器環境提供檔案系統、SQLite資料庫和受限網路存取,模型可讀取檔案、查詢資料而無需將大量內容填入prompt。網路存取透過egress proxy實施存取控制政策,credentials採用domain-scoped注入方式,降低洩露風險。
Agent Skills則將重複的多步驟模式打包為可復用的元件,包含SKILL.md說明文件與支援資源,讓模型能發現、解釋並執行。整體設計使單一prompt能擴展為完整工作流程,包含技能發現、資料獲取、本地狀態轉換和持久化輸出生成。
