From Model to Agent: Equipping the Responses API with a Computer Environment
OpenAI describes how they built an agent runtime by equipping the Responses API with a shell tool and hosted container workspace, enabling models to execute shell commands, manage files, query databases, and access external systems in isolated environments. The architecture uses an orchestration loop where the model proposes actions, the platform executes them in sandboxed containers, and results feed back into the model’s context. Key components include concurrent command execution, bounded output to manage context budgets, native context compaction for long-running tasks, network egress proxies with domain-scoped secret injection for security, and reusable “agent skills” packaged as versioned bundles. The system effectively turns a language model into a full agent capable of end-to-end workflows by combining orchestration, execution, persistent state, composable skills, and compaction.
Source: From model to agent: Equipping the Responses API with a computer environment