The OpenAI agent ecosystem

Understand the stack.
Build better agents.

Explore how the Agents API, models, tools, and infrastructure connect. From your first session to production.

Explore the agent ecosystem

Ecosystem mapClick a component to explore
tasks ↓   ↑ events
Sessions · Context · Orchestration
inference
tool calls
executes in
results & saved work ↓
Solid connections show dependenciesEnvironment is optional
Component overview

Agents API

OpenAI runs the Codex harness: the model-and-tool loop, durable sessions, context compaction, and recovery.

UPSTREAM
Application requests and configuration
DOWNSTREAM
Models, tools, optional environments
Explore this topic
Based on OpenAI documentation View sources

A clear path through the ecosystem

Start with the big picture, choose your runtime, or go straight to code.

What happens after you send a task?

Walk through the request, tool call, and result one event at a time.

ILLUSTRATIVE SESSION FLOW

Submit a task

Your server creates a session and supplies instructions, input, and permitted tools.

Application → Agents API

Go deeper into the stack

Common questions, clear answers.