AgentBee.Worth reading. Worth building.
← All fieldnotes
Design & architecture · Engineering references

OpenAI unrolls the Codex agent loop

The engineering article explains user input, prompt assembly, inference, tool results and turn completion.

Michael Bolin · OpenAI··Curated by AgentBee

What the source says

One request can involve many model-tool exchanges; changes in the environment are outputs too.

The harness manages history and context windows, while append-only prompts support prefix caching.

Original source

This is AgentBee’s editorial digest and analysis of the source, not a reproduction of the full article.

Michael Bolin · OpenAI ↗
Context orchestrationTools & environmentsExecution & recovery