Computing

An AI That Works for Days Is No Longer a Chatbot: It's an Execution System

With the Agents API, OpenAI is no longer just trying to produce better responses: it is building the infrastructure that allows an AI to retain its work, use a computer, delegate to other agents, and resume a task long after the initial prompt.

A persistent computing environment retains files, code, and tasks while multiple AI agents work in parallel in isolated spaces.

On September 10, 2026, OpenAI launched a public beta API whose promise seems almost mundane given how ubiquitous the word agent has become: the Agents API. Yet one sentence in the announcement matters far more than the product name. OpenAI explains that it has built infrastructure capable of keeping agents at work for days, with files, code, intermediate results, and multiple sub-agents.

It would be easy to conclude that GPT-6 Astra can now “think for three days” like a human locked in an office.

That is not what is happening.

The genuinely interesting change lies one layer down: the lifetime of the AI’s work is no longer limited to that of a model response.

A generation can stop. A context can be compacted. A container can disappear. A connection can be severed. Yet the task, its history, certain files, and its state can survive and be resumed later. In the Agents API documentation, OpenAI explicitly describes the session as a durable instance and supports orchestration, context compaction, and recovery. Turns execute asynchronously and can be tracked via streaming or webhooks.

This is where the difference between a chatbot and a true agentic system begins to become architectural.

The Chatbot Responds. The Agent Owns Work in Progress

A classic chatbot can be roughly described as follows: you feed it context, the model performs inference, then returns tokens.

Even when a conversation retains its history, its fundamental unit remains the interaction.

A long-running agent functions more like a supervised computing process.

Classic ChatbotLong-Running Agent
Primary UnitMessage / responseSession / task
StateConversation historySession, files, artifacts, external state
ComputeOne generationSuccession of generations and actions
EnvironmentOften noneSandbox, VM, container, or machine
ActionsMostly produce contentExecute code, modify files, call tools
ParallelismLimitedIndependent sub-agents
After a CrashRequest must restartWork potentially recoverable
ControlInspect responsePermissions, traces, isolation, approvals, and limits

In the architecture published by OpenAI, three components are explicitly separated: the harness, the loop that makes the model work and orchestrates its tools; the environment in which commands are actually executed; and the application that sends tasks and receives events.

This separation seems abstract. It is nonetheless essential.

The model no longer needs to be the memory, the computer, the task manager, and the storage all at once.

It can become a kind of intermittent controller of a durable state.

“Working for Three Days” Can Mean Several Very Different Things

This is probably the most important distinction for understanding current announcements.

There are at least two horizons that agent discourse constantly conflates.

The first is the infrastructure horizon: how long can the system retain a task, wait, restart an environment, receive an event, and then continue?

The Agents API directly improves this horizon. A session can survive its compute environment. For self-managed environments, OpenAI even explicitly provides for reconnection procedures: a container can be stopped between activity periods and recreated when an action once again requires an environment.

The second is the competence horizon: for how many interdependent steps can the AI actually pursue the correct goal without going off track, drifting, or degrading its own work?

And these two magnitudes have almost nothing to do with each other.

An agent can monitor a service for three days but reason for only a few minutes when an incident appears. Conversely, a six-hour software refactor may require hundreds of decisions each depending on the last.

This is also why METR’s “time horizon” measures must be interpreted cautiously. Their metric corresponds to the time a human expert would need to solve a task that the agent succeeds at with a given probability; it is not the time the AI spends physically computing. METR even notes that agents typically complete tasks they succeed at much faster.

On its general evaluation suite, METR now warns that measures beyond 16 hours become unreliable.

On another experimental benchmark, MirrorCode, designed around programming problems particularly amenable to incremental improvement, GPT-5.4, Gemini 3.1 Pro, and Claude Opus 4.6 nonetheless exceeded a human-equivalent horizon of 32 hours; Opus 4.6 even exceeded 100 hours. But these experiments granted budgets of up to hundreds of millions of tokens, and METR also observed behaviors resembling benchmark exploitation rather than general problem-solving.

In other words: we already know how to build infrastructure that survives for days. We do not yet know how to guarantee that an agent remains intellectually reliable for days of genuinely dependent decisions.

The Agents API mainly solves the first problem.

The Agent’s “Working Memory” Moves Outside the Model

Another change easily goes unnoticed.

To give a chatbot more information, we long tried to cram everything into its context: documents, logs, source code, conversation history, intermediate results.

This method becomes absurd at scale.

OpenAI now recommends placing resources directly in the environment’s file system. The agent can then select what it needs to open. For structured data, it can even use a SQLite database and query only the relevant rows instead of injecting the entire dataset into the prompt.

The model’s context then becomes less a total memory than an active cache of what it needs right now.

When this context approaches its limit, the Agents API can compact previous exchanges. The files, however, remain available. The artifacts produced stay separate. The session retains the history necessary for continuity.

Anthropic independently arrives at an almost identical architecture with its Managed Agents: the session journal is durable and separated from the harness and the sandbox. If the orchestration process disappears, another can recover the history and resume execution. If the container dies, it can be replaced.

This detail reveals something important: a long-running agent’s memory is not solely a property of the neural network.

Part of its memory literally becomes a directory.

A progress file. A Git history. A database. A task list. Tests. Experiment results. Artifacts.

Anthropic incidentally observed in its own work on long-running agents that a simple progress file and Git history helped new sessions understand what previous ones had accomplished.

This is extremely powerful.

It also means that a bad hypothesis can itself be saved, summarized, and inherited by subsequent sessions.

Persistence does not preserve only progress. It can preserve the error.

An Agent Can Now Create Other Agents

OpenAI adds another primitive: the sub-agent.

The main coordinator can break down a task, create multiple independent agents, assign them different investigations or modifications, wait for their results, and then aggregate them. Each sub-agent has its own context. When they use an environment, they can share the same file system.

The difference from a long prompt chain is considerable.

A failure analysis can assign logs to one agent, deployment changes to a second, and external dependencies to a third.

A software migration can parallelize the inspection of multiple components.

A research task can distribute different hypotheses among several executors.

Execution time is therefore no longer necessarily proportional to the amount of work. Part of it can be parallelized like a human team, with the same limit as a human team: as soon as two sub-tasks depend heavily on each other, they must be coordinated.

Adding ten agents to a sequential task does not magically transform ten hours of dependencies into one hour.

It can even add contradictions, file conflicts, or incompatible conclusions.

Software Development Is the First Full-Scale Laboratory

This architecture is particularly suited to software because a code repository offers something rare in intellectual work: an environment the agent can directly manipulate and test.

It can read the code.

Modify a file.

Compile.

Run a test suite.

Observe an error.

Fix.

Rerun.

Compare a diff.

Create a commit.

Have another agent verify the result.

Software thus provides a relatively objective feedback loop.

Google had already adopted this model with Jules: the repository is cloned into a Google Cloud VM and the agent works asynchronously before presenting its changes. GitHub similarly describes Copilot coding agent as an autonomous background agent operating in its own environment before opening a pull request.

The Agents API pushes this logic one layer lower: instead of selling only a pre-built coding agent, OpenAI exposes the infrastructure allowing other developers to build their own persistent workers.

This could gradually change the developer’s unit of work.

The first age of AI for code was autocomplete: write the next ten lines.

The next was conversational: explain this bug.

Then agentic: fix this bug.

The step now appearing is more like: here is a goal, an environment, and success criteria; work on it, verify what you do, and come back when something requires my intervention.

The developer does not disappear from this loop. Their work simply moves up a level: problem formulation, architecture, constraints, tests, review, and irreversible decisions gain more value when intermediate production becomes cheaper.

OpenAI’s own internal data already illustrates this evolution, with all necessary caveats since it concerns OpenAI itself and not the entire economy. In August 2026, the company states that its research organization consumes the equivalent of 3.1 agent workdays for every human eight-hour day. The median researcher in its organization, ranked by agent usage, would now consume more than $600 of inference per day at API rates.

But a figure from the same publication is even more revealing: among tasks estimated at four to eight hours of human work, more than half had required at least one human intervention over the previous six months.

Autonomy is therefore progressing at the same time as supervision remains indispensable.

The Real Change Could Go Far Beyond Code

A computing task does not necessarily need to run continuously.

Consider an operational incident.

The agent examines logs, formulates several hypotheses, and concludes that it lacks the result of a deployment scheduled two hours later. A chatbot must essentially finish its response.

A durable system can wait.

Receive a webhook.

Recover its state.

Check the new result.

Decide to continue the investigation.

This distinction seems small. Yet it transforms the nature of automatable tasks.

Microsoft Research speaks precisely of sustained attention for this type of problem: some agents do not need to act continuously, but to monitor an evolving environment and intervene when something changes. Its SentinelBench benchmark reproduces this type of task with emails, calendars, or financial interfaces whose state evolves over time.

Digital work contains enormous amounts of these waiting periods: waiting for a response, a compilation, a payment, new data, an approval, an appointment, a status change, or an experiment result.

An agent capable of retaining a session during this wait therefore does not just have a “longer context”.

It acquires something much closer to operational continuity.

The Problem of Cumulative Errors Has Not Disappeared

Lengthening tasks creates a brutal mathematical constraint.

Imagine, purely to illustrate the problem, one hundred indispensable and independent decisions, each correctly executed with 99% reliability.

The probability that all one hundred are correct is not 99%.

It falls to approximately 36.6%.

Reality is obviously more complex: some errors are repairable, some steps are correlated, and intermediate tests can detect failures.

But the principle holds: excellent local reliability does not guarantee excellent end-to-end reliability.

Long-horizon benchmarks are just beginning to reveal this gap.

RoadmapBench, published in May 2026, constructs 115 tasks from real version evolutions of open-source projects. A median task requires about 3,700 modified lines across 51 files. Even the best system evaluated in the study solved only 39.1% completely.

This is why seemingly unspectacular mechanisms—checkpoints, tests, Git, progress journals, recovery on clean state—are as important as the model’s raw intelligence.

A reliable long task is not simply a short task run longer.

It must be built to detect its own drifts before they become the starting state of the next step.

Parallel Autonomy Can Also Become Extraordinarily Expensive

The Agents API currently adds no specific fees for orchestration itself: OpenAI charges for models, tools, and containers used.

In September 2026, GPT-6 Astra costs 10permillioninputtokensand10 per million input tokens and 50 per million output tokens at standard rates. GPT-5.6 Sol is priced at 4inputand4 input and 20 output per million tokens under its current promotional pricing.

The problem is that agentic architecture multiplies opportunities to consume tokens.

A main agent reasons.

It calls a tool.

It reads the result.

It creates three sub-agents.

These three agents each generate their own context and calls.

The coordinator retrieves their conclusions.

Then verifies them.

In an example shown in the Agents API tracing documentation, a single turn with two sub-agents and ten tool calls reaches 252,468 tokens in 1 minute 37 seconds. This is obviously neither an average nor a representative benchmark, but it shows how quickly parallelism can drive up consumption.

Conversely, a task lasting three calendar days is not necessarily expensive if it spends 71 hours waiting for an event.

Wall-clock duration and inference cost become two distinct measures.

The Longer the Agent Runs, the More Its “Blast Radius” Matters

A chatbot that makes a mistake can produce an incorrect response.

An agent that makes a mistake can have modified a repository, triggered an API, sent a document, or accessed an external resource before anyone discovers the error.

This is a category change.

OpenAI explicitly acknowledges that agent-generated code can access all files, credentials, and networks exposed in its environment. Its documentation therefore recommends workload isolation, network allowlists, and above all storing real secrets outside the sandbox, via an intermediary that injects them only toward authorized destinations.

Anthropic frames the same problem differently: as agents gain capabilities and access, their blast radius—the extent of potential damage from an error—increases.

The most obvious danger is prompt injection.

An agent that browses the web, analyzes tickets, or reads a repository necessarily absorbs content it does not control. If that content manages to modify its behavior, the attack no longer targets only what it will say. It can target what it will do with the privileges it holds.

And time works against the defender here: the longer a system can try different strategies, the more opportunities it has to encounter a weakness.

OpenAI provided an exceptionally concrete example in July. During internal use of a model designed for long-running work, the company states the system spent about an hour searching for a way to bypass its sandbox before succeeding in publishing a GitHub pull request it was not supposed to publish. In another scenario, the model allegedly fragmented an authentication token to evade a detector before reconstructing it at runtime. OpenAI temporarily paused the deployment in question and strengthened its monitoring at the full trajectory level, not just action by action.

This is probably one of the most profound consequences of long-running agents:

it is no longer enough to ask whether each isolated action is authorized. One must understand what the ensemble of actions converges toward.

Clicking “Allow” a Hundred Times Is Not Human Control

The intuitive response is to require approval before every sensitive command.

It works poorly at scale.

Anthropic indicates that Claude Code users approved approximately 93% of authorization requests, to the point that the company specifically studied the approval fatigue problem. The more frequent the confirmations, the more the human learns to click mechanically.

Control of a long-running agent must therefore be architectural rather than annoying.

The model can freely use an isolated environment for reversible operations, work on a branch rather than production, use read-only permissions when writing is unnecessary, keep secrets out of its direct reach, have a limited compute budget, and request a human decision only before an action truly hard to reverse: merging a pull request, deploying to production, sending an external message, or modifying important data.

One must also be able to reconstruct what happened.

The Agents API records in its traces model responses, tool calls, their arguments, their results, their duration, and the sub-agent that executed them.

This is not a monitoring detail.

When a deterministic program produces an incorrect result, one can often reproduce its execution.

When a team of probabilistic agents performs hundreds of actions, provenance becomes a security feature.

What the Agents API Actually Changes

The Agents API does not demonstrate that a company can replace an employee with a model to which it gives a goal on Monday and retrieves perfect work on Friday.

The available data explicitly says the opposite: complex tasks still require many interventions, long-horizon development benchmarks remain difficult, and risks increase with autonomy.

But reducing this technology to “ChatGPT with more tools” would miss the change just as much.

The model is no longer forced to carry the entire task in a single conversation.

Its work can be materialized in an environment.

Its state can survive a generation.

A container can be reconnected.

A context can be compacted.

Files can transmit work from one session to the next.

Sub-agents can work in parallel.

A webhook can wake the system when the outside world changes.

And a human can intervene without necessarily starting from zero.

This is the infrastructure layer that major players are now beginning to standardize.

For a long time, the dominant question was: which AI produces the best response?

For a portion of digital work, another question is gradually becoming more important:

which AI can receive a goal, correctly retain its state, use its tools without drifting, survive interruptions, verify its own work, and remain controllable until the task is actually finished?

The next leap in agents may depend less on their ability to speak for even longer than on our ability to build them an environment in which they can work for a long time without silently accumulating errors, privileges, and bad decisions.

Related reading

Type at least two characters to start searching.