# OpenAI Agents SDK

Programs agents with a tool loop, handoffs, guardrails, sessions and tracing.

Canonical profile: https://ki-agentenkompass.de/en/agents/openai-agents-sdk/
Editor: [Michael Meierhoff](https://ki-agentenkompass.de/en/about/)
Sources reviewed: 2026-11-16
Basis: provider documentation. Examples are editorial suggestions, not hands-on product tests.

## Overview

Independent agent framework with its own execution loop.

- Provider: OpenAI
- Product family: OpenAI Agents SDK
- Profile type: Programmable agent framework
- Environment: Custom application using Python, TypeScript.
- Connections: Custom functions, provider adapters and documented MCP/API connections.
- Setup: Install the SDK, configure model access and tools, and set up persistence and operations.
- Pricing model: SDK source code without a stated usage fee; model, hosting, storage and optional cloud costs are separate.

## Key features

### Agent loop and handoffs

The runner executes tool steps and can hand work to other agents.

Source: https://github.com/openai/openai-agents-python

### Guardrails and human approvals

Checks and approval points are defined in the custom workflow.

Source: https://github.com/openai/openai-agents-python

### Sessions and tracing

Storage backends retain conversations; traces expose execution steps.

Source: https://github.com/openai/openai-agents-python

### Tools and MCP

Custom functions and MCP servers provide tools for the executing agent loop.

Source: https://github.com/openai/openai-agents-python

### Voice and realtime agents

Documented voice and realtime components enable custom voice-based agent applications.

Source: https://github.com/openai/openai-agents-python

## Example workflows

### Embed a knowledge agent in a custom app

- Your input: Documents, defined read tools and model access.
- Possible result: A custom application answers questions through a configured agent loop.
- What to check: Test sources, user isolation and tool interfaces.

### Build a business process with approval

- Your input: Process steps, APIs and a mandatory approval policy.
- Possible result: An agent performs preparatory steps; the custom application controls approval.
- What to check: Verify failure paths, resumption and permissions using realistic cases.

## Requirements and limits

### Setup and access

Requirement: Install the SDK, configure model access and tools, and set up persistence and operations.

Source: https://github.com/openai/openai-agents-python

### Requirements and limits

Limitation: Development, permissions and operations are the responsibility of the custom application. Documented components must be combined and verified for the use case.

Source: https://openai.github.io/openai-agents-python/

### Choose persistence deliberately

Limitation: SQLite sessions without a file path live only in memory. Resumption after process termination requires a persistent backend.

Source: https://openai.github.io/openai-agents-python/sessions/

## A good fit if …

- you want to integrate agents into a custom application and operate them yourself
- you can deliberately review results and permissions
- you want to combine custom tool loops, agent handoffs and session management

## Less suitable if …

- you seek a fully managed service without development effort
- you expect persistence across restarts without configuring a suitable storage backend

Editorial assessment based on provider documentation. Not a product test.

## Usable AI models

Open choice

OpenAI and other providers through compatible clients and adapters such as LiteLLM; model access and capabilities depend on the selected backend.

- Model families named: OpenAI (GPT) · Other models can be connected freely
- Model choice: You choose
- Your own API key: Yes
- Router or custom endpoint: Yes
- Local models: Not stated

Partly documented · Sources accessed on: 2026-11-16

- [OpenAI Agents SDK · Product](https://openai.github.io/openai-agents-python/)

- [OpenAI Agents SDK · Repository](https://github.com/openai/openai-agents-python)

## Europe & regional availability

Access and data processing must be assessed separately.

Reviewed scope: OpenAI Agents SDK · Access and processing
Reviewed on: 2026-11-16

### Access and regional conditions

With requirements

The source code or documented download is publicly available. Model providers, external connections and hosting have their own regional and privacy conditions. Uniform EU data residency is unspecified within the checked scope.

Region covered: EU/EEA, United Kingdom and Switzerland

Documented reason: The configured deployment and terms of connected services determine the applicable conditions.

Official source: https://openai.github.io/openai-agents-python/
Official source: https://github.com/openai/openai-agents-python

## Accounts & permissions

Based on provider documentation. Permissions depend on the account, integration and organization policies. Review the permissions actually requested before use.

Configuration covered: OpenAI Agents SDK · Accounts and permissions
Sources reviewed: 2026-11-16

### Account used

Documented with conditions: Model and service access is assigned within the custom application.

Evidence: https://openai.github.io/openai-agents-python/
Evidence: https://github.com/openai/openai-agents-python

### Admin approval

Documented with conditions: Configure tool permissions and human approvals for the task; verify coverage for each tool.

Evidence: https://github.com/openai/openai-agents-python

### Data access & team sharing

Documented with conditions: Custom functions, provider adapters and documented MCP/API connections.

Evidence: https://github.com/openai/openai-agents-python

## Prices and included usage

Pricing checked: 2026-11-16

SDK source code without a stated usage fee; model, hosting, storage and optional cloud costs are separate.

### SDK / Source

SDK source code without a stated usage fee; model, hosting, storage and optional cloud costs are separate.

Documented product scope; verify external services and their billing separately.

Price source: https://github.com/openai/openai-agents-python

Pricing details: https://github.com/openai/openai-agents-python

## Operation & oversight

Based on public provider documentation. Assessments are editorial inferences from the stated properties. Actual time requirements and reliability have not been measured.

Deployment covered: OpenAI Agents SDK · Documented execution scope
Sources reviewed: 2026-11-16

### Files and working state

Documented with conditions: Configurable session backends store history, including SQLite, SQLAlchemy, Redis or MongoDB. The application defines session IDs and retention.

Evidence: https://github.com/openai/openai-agents-python

### Sign-ins

Documented with conditions: Install the SDK, configure model access and tools, and set up persistence and operations.

Evidence: https://github.com/openai/openai-agents-python

### Starting further runs

Documented with conditions: The custom application or an external scheduler starts further runs.

Evidence: https://github.com/openai/openai-agents-python

### Human intervention

Documented with conditions: Integrate approvals, cancellation and questions into the custom interface and tool logic.

Evidence: https://github.com/openai/openai-agents-python

### Detecting errors

Documented with conditions: Evaluate tool errors and execution results; use product-specific logs and traces for review.

Evidence: https://github.com/openai/openai-agents-python

### Resuming after failures

Documented with conditions: Stored context supports further work. Verify automatic retries of failed actions and side effects separately.

Evidence: https://github.com/openai/openai-agents-python

### Editorial assessment

Editorial operational assessment; reliable resumption depends on configuration and executed tools.

## Memory and conversation continuity

Scope: OpenAI Agents SDK · documented product scope
Sources accessed: 2026-11-16

Configurable session backends store history, including SQLite, SQLAlchemy, Redis or MongoDB. The application defines session IDs and retention.

### Storage and scope

Partly documented: Configurable session backends store history, including SQLite, SQLAlchemy, Redis or MongoDB. The application defines session IDs and retention.

- [OpenAI Agents SDK · Memory / Context](https://openai.github.io/openai-agents-python/sessions/)

### Selection and timing

Partly documented: The session backend appends new conversation entries automatically when supplied to the runner.

- [OpenAI Agents SDK · Memory / Context](https://openai.github.io/openai-agents-python/sessions/)

### Inspect, edit and delete

Partly documented: Session interfaces allow reading, adding, removing and clearing items; define your own deletion policy.

- [OpenAI Agents SDK · Memory / Context](https://openai.github.io/openai-agents-python/sessions/)

### Agent and channel boundaries

Partly documented: A session ID addresses history; implement authentication and user mapping yourself.

- [OpenAI Agents SDK · Memory / Context](https://openai.github.io/openai-agents-python/sessions/)

### Retrieval

Partly documented: Previous session items augment the next request; additional long-term knowledge search requires separate configuration.

- [OpenAI Agents SDK · Memory / Context](https://openai.github.io/openai-agents-python/sessions/)

### Session reset and compaction

Partly documented: File-based or external backends persist across restarts; in-memory sessions are temporary.

- [OpenAI Agents SDK · Memory / Context](https://openai.github.io/openai-agents-python/sessions/)

## Context

Development, permissions and operations are the responsibility of the custom application. Documented components must be combined and verified for the use case.

Official sources checked. Features are provider claims; examples and suitability are editorial. Independent product testing is pending.

## Sources

- https://openai.github.io/openai-agents-python/

- https://github.com/openai/openai-agents-python

- https://openai.github.io/openai-agents-python/sessions/

## Provider

OpenAI maintains the Agents SDK as an official framework for custom agent applications. Repository on 2026-11-16: 30,717 stars, 5,066 forks; license identifier MIT; last push 2026-11-16.

- Operator: OpenAI
- Organization: Software project and provider
- Website: https://openai.github.io/openai-agents-python/
- Reviewed: 2026-11-16

- Provider source: https://openai.github.io/openai-agents-python/

- Provider source: https://github.com/openai/openai-agents-python

[Sources and method](https://ki-agentenkompass.de/en/sources/)
