Skip to content
Pyrana
Compare

Comparison · Frameworks and runtimes

Pyrana vs OpenAI Agents SDK

The OpenAI Agents SDK is a code-first agent framework; Agent Builder shuts down November 30, 2026. How it compares with Pyrana's agentic application platform.

Eric Tarnowski · Co-founder and President, Pyrana · Last reviewed October 12, 2026

The short answer

The OpenAI Agents SDK is an open-source, code-first framework for agents, handoffs, guardrails, sessions, tracing, and tool approvals, and it is OpenAI's recommended path now that Agent Builder and the Evals platform shut down on November 30, 2026. Pyrana is an agentic application platform where identity, authorization, approvals, versioned outputs, context, and audit are built once and each application is configuration. Choose the Agents SDK when your engineers will build the application around the agent. Choose Pyrana when the deliverable is a governed business application.

The OpenAI Agents SDK is an agent framework that runs inside your application. Pyrana is the application platform. They sit at different layers.

Choose OpenAI Agents SDK when

  • Your engineers write Python or TypeScript and want a small set of primitives (agents, handoffs, guardrails) with little ceremony.
  • You are building on OpenAI models and want close alignment with the Responses API, tracing dashboard, and new model features.
  • You are adding an agent to your own product, which already owns users, permissions, and UI.
  • You are migrating Agent Builder workflows and want the export path OpenAI documents.
  • You need sandboxed workspaces where an agent edits files and runs commands, with resumable sessions.

Choose Pyrana when

  • The deliverable is a business application with pages, a copilot, and outputs that people review, revise, and approve.
  • Approvals must route to named lanes with eligibility checked at decision time, and the approved action must run exactly once.
  • Every call must be authorized as a specific person or principal and recorded before it runs, from any door.
  • You want model choice per agent (Azure OpenAI, OpenAI, Anthropic, Gemini, and others) under one governance model.
  • Agents need curated company knowledge with content-addressed citations.

At a glance

What you build
PyranaPyrana
Agentic applications: pages, targets, agents, workflows, and versioned resources in one App configuration
OpenAI Agents SDK
Agents in code: instructions, tools, handoffs, guardrails, run loop
Multi-agent
PyranaPyrana
Workflow fan-out to specialized agents per entity and group; outputs publish back
OpenAI Agents SDK
Handoffs and agents as tools
Human in the loop
PyranaPyrana
Tool approval policies; frozen invocation under a hash; named lanes; revalidation and idempotent dispatch
OpenAI Agents SDK
needs_approval on tools; run pauses with interruptions; resume from serialized RunState you store
State and durability
PyranaPyrana
Workflows on Temporal workers: checkpoint, suspend, resume, horizontal scaling
OpenAI Agents SDK
Sessions (SQLite, Redis, SQLAlchemy, MongoDB, Dapr, OpenAI Conversations); durable orchestration via Temporal integration or your own
Authorization
PyranaPyrana
One authorization check on every call: tenant, App membership, access profile, scope entitlement (OpenFGA)
OpenAI Agents SDK
Your application's responsibility, including who may resume a paused run
Outputs
PyranaPyrana
Versioned, immutable, attributed resources; stale publishes refused
OpenAI Agents SDK
Run results and whatever your tools write
Knowledge
PyranaPyrana
cortIQ: typed, classified Context Units with retrieved, injected, and cited accounting per run
OpenAI Agents SDK
MCP servers and function tools you wire up
Tracing and evals
PyranaPyrana
Traces, tokens, and tool errors per run as JSON; deterministic checks, then LLM-as-judge in Agent Studio
OpenAI Agents SDK
Built-in tracing to the OpenAI dashboard (unavailable under Zero Data Retention); external processors; Evals platform shuts down 30 Nov 2026
Models
PyranaPyrana
Model per agent through adapters (Azure OpenAI, OpenAI, Anthropic, Fireworks, Gemini, others); bring your own keys
OpenAI Agents SDK
OpenAI by default; other providers through LiteLLM and Any-LLM adapters
Hosting
PyranaPyrana
SaaS on a dedicated private tenant, or the client's own infrastructure for large enterprises
OpenAI Agents SDK
Runs in your process, wherever you deploy it
Pricing basis
PyranaPyrana
Enterprise platform pricing; contact sales
OpenAI Agents SDK
SDK free (MIT); pay for model tokens and hosted tools

Architecture

The OpenAI Agents SDK is a library that runs inside your application. It gives you agents (a model with instructions and tools), handoffs between agents, guardrails that validate inputs and outputs, and a built-in run loop. Pyrana is the application itself: a platform where identity, authorization, storage, orchestration, approvals, and audit already exist, and each application is configuration on top.

OpenAI's own guide now frames three ways to build. The Agents SDK runs in your application and, in OpenAI's words, gives it control over deployment, storage, approvals, and runtime integration. The Responses API is for working directly with model responses. The Agents API runs a managed Codex harness, where OpenAI manages the agent and saves its progress. ChatKit adds an embedded chat experience.

What happened to AgentKit and Agent Builder?

OpenAI introduced AgentKit at DevDay on October 6, 2025: Agent Builder (a visual canvas), ChatKit, the Connector Registry, and new Evals capabilities. On June 3, 2026, OpenAI notified developers that Agent Builder and the Evals platform are deprecated. Both shut down on November 30, 2026. ChatKit remains available. OpenAI's recommended destinations for Agent Builder workflows are the Agents SDK or ChatGPT Workspace Agents.

The October 2025 view on this site was that a visual agent builder produces agents, not applications. The shift to a code-first SDK keeps that question open: an agent still needs an application around it.

Context and knowledge

The Agents SDK connects agents to knowledge through tools: MCP servers and functions you write. Sessions keep conversation history. What counts as company knowledge, how it is curated, and how a run proves which facts it used are design decisions left to your team. Pyrana ships cortIQ, a context engine with typed, classified, evidence-backed knowledge.

Each Context Unit carries a claim, its evidence passage with source and location, a classification that governs how it may change, and a content-hash identity. Every run counts what was retrieved, injected, and cited, so the exact business context behind an output is provable.

Agent capabilities

The SDK is capable and moving quickly. Beyond agents, handoffs, and guardrails, it includes sessions, MCP tools, realtime voice agents, and sandbox agents: specialists that work in an isolated workspace (Unix-local, Docker, or hosted providers), edit files, run commands, and resume from saved state. It supports non-OpenAI models through LiteLLM and Any-LLM adapters.

Pyrana's Harness provides native tool calling, planning, subagents, checkpoints, and resume, plus a code interpreter with deterministic scripts for data shaping. Workflows fan out to specialized agents per entity and group in parallel, and every output publishes back to the App as a versioned resource. Tools are job-specific: the agent passes the entity and period, and the tool holds the query.

Governed actions and approvals

The SDK pauses a run when a tool marked needs_approval is called, and resumes when your code approves or rejects it. Pyrana decides with a policy, freezes the exact action, routes it to a named lane, and checks reviewer eligibility at decision time. The SDK supplies the pause. Routing, eligibility, durable storage of the pending state, and exactly-once execution are yours.

Does the OpenAI Agents SDK have human approval?

Yes. needs_approval can be True or a function that decides per call. A paused run returns interruptions; you call state.approve(...) or state.reject(...) and resume. For approvals that wait hours or days, the SDK serializes RunState to JSON and asks you to store it in a database or queue. Its docs are direct about the boundary: the loaders do not authenticate the snapshot or the person submitting it, so your application must authorize the reviewer and prevent duplicate or replayed resumes.

In Pyrana, those controls are the platform: frozen invocation under a hash, named lanes, eligibility checked at decision time, revalidation before dispatch, idempotent dispatch that reuses the receipt on retry.

Building the application

With the SDK, you build the application around the agent: frontend, API, users and roles, storage for outputs, an approval inbox, and the release process. Pyrana provides the App shell, declared pages that hand exact page context to the agent, a copilot, personal pages, and versioned resources. With clean data available, an application typically takes about a week to stand up.

Migrating from Agent Builder

OpenAI's migration guide exports a workflow as Agents SDK code in Python or TypeScript. The guide states the export does not convert the workflow graph or guarantee every behavior transfers unchanged, and that on the SDK path deployment, auth, and permissions are on you. The ChatGPT Workspace Agent path needs a Business, Enterprise, or Edu workspace, and the guide notes strongly deterministic workflows may not migrate faithfully. Teams moving off Agent Builder are choosing an application layer either way. For an approval-heavy business process, Pyrana is one option; its workflows are declarative and its approvals are policies.

Governance and security

The SDK leaves identity and authorization to the host application. Tracing is on by default and exports to OpenAI's backend; it can be disabled or redirected to other processors, and it is unavailable to organizations under Zero Data Retention. Pyrana enforces one fail-closed gate on every call, with an audit record written before dispatch.

What is OpenAI Frontier?

OpenAI announced Frontier in February 2026 as an enterprise platform to build, deploy, and manage agents, reportedly with per-agent identity, permissions, shared business context, and evaluation, and it reportedly launched to select customers first. Frontier is aimed at managing a fleet of agents across vendors. Pyrana's view is that this is a control plane over agents, while Pyrana is a platform for the applications those agents work inside. Pyrana is SOC 2 aligned and runs in the client's own cloud subscription or a dedicated private tenant.

Operations

The SDK's built-in tracing supports visualization, debugging, and monitoring, with external processors for Weights & Biases, Arize Phoenix, Langfuse, LangSmith, Datadog, and others. Durable orchestration comes from your own infrastructure or Temporal's integration. Pyrana captures traces, tokens, and tool errors per run as JSON and runs workflows on Temporal workers by default.

Can the OpenAI Agents SDK run durably on Temporal?

Yes. Temporal's integration became generally available on March 23, 2026. Every agent invocation runs as a Temporal Activity, so Temporal retries failed calls and a restarted application resumes where it left off. Pyrana's Harness runs on Temporal too: a run waiting on an approval survives a restart or deploy and resumes.

Cost structure

The Agents SDK is free under the MIT license. You pay OpenAI for model tokens and hosted tools at API rates, plus your own infrastructure and the engineering time to build the application layer. Pyrana is enterprise platform pricing, with identity, authorization, approvals, storage, context, and audit included, and models billed to the client's own keys.

What it takes to ship the same application

Reference application: an approval-gated procurement request. A person or agent drafts a purchase request; amounts above a threshold need a finance approver; the request waits durably for the decision; everything is recorded.

ComponentOn the OpenAI Agents SDKOn Pyrana
Request page and approver inboxTeam builds; ChatKit can supply an embedded chat surfaceDeclared surfaces in the App shell; the team designs the frontend experience
Drafting agentAgent with instructions, tools, guardrails in codeAgent configuration in plain language, bound to job-specific tools
User sign-in and rolesTeam integrates an identity provider and builds rolesSSO (Entra ID, OAuth); access profiles and scope entitlements
Threshold ruleneeds_approval as a function over the tool callTool approval policy over typed arguments
Durable wait for the decisionSerialized RunState stored by the team; Temporal integration for durable runsFrozen invocation in a named approval lane; workflow suspended on Temporal
Who may approveTeam builds; SDK docs require the app to authorize the reviewerEligibility checked at decision time
Posting to the ERP exactly onceTeam prevents duplicate or replayed resumesRevalidation before dispatch; idempotent dispatch reuses the receipt
Business audit recordTeam builds; SDK tracing covers agent executionExecution row and audit record written before dispatch
EvalsTeam adopts a tool (OpenAI points Evals users to Promptfoo)Deterministic checks, then LLM-as-judge in Agent Studio
Versioning and rollbackTeam builds release processPush, activate, rollback
HostingTeam deploys the serviceDedicated private tenant or client infrastructure

Using them together

Pyrana uses OpenAI and Azure OpenAI models through its provider adapters, assigned per agent with the client's own keys. An agent built with the Agents SDK can work with a Pyrana App through the App MCP server, as the user, with every call passing the same gate. In the other direction, an SDK agent exposed as an MCP server or REST endpoint can be a Pyrana tool source.

Teams that already run Temporal for Agents SDK workloads will recognize the durability model under Pyrana's Harness. Existing SDK code with custom business logic can live in a client-owned extension, reachable only through the platform.

When not to choose Pyrana

  • You are building an agent into your own software product, which already owns users, permissions, and UI.
  • You want the thinnest possible layer over OpenAI models and plan to build the rest yourself.
  • You need a ChatGPT-native experience for employees, where Workspace Agents fit better.
  • The work is a prototype where approvals, audit, and access control do not yet matter.

Questions buyers ask

Is OpenAI Agent Builder being discontinued?
Yes. OpenAI notified Agent Builder users on June 3, 2026 that the product is deprecated, and it is scheduled to shut down on November 30, 2026. OpenAI's migration guide offers two paths: export the workflow as Agents SDK code (Python or TypeScript), or rebuild it as a ChatGPT Workspace Agent on a Business, Enterprise, or Edu workspace. The export does not convert the workflow graph. ChatKit remains available.
What happens to OpenAI Evals on November 30, 2026?
OpenAI is deprecating the Evals platform on the same timeline as Agent Builder. Existing evals become read-only on October 31, 2026, and the Evals dashboard and API shut down on November 30, 2026. OpenAI's deprecations page points to a migration guide for moving from OpenAI Evals to Promptfoo. Tracing in the Agents SDK is a separate feature and is not part of this deprecation.
Does the OpenAI Agents SDK support human in the loop?
Yes. Mark a tool with needs_approval, either always or through a function that decides per call. When the model calls it, the run pauses and returns interruptions. You approve or reject each one on the run state and resume. For long waits, the SDK serializes state to JSON for you to store; its docs note the loaders do not authenticate the snapshot or the reviewer, so your application must.
Can the OpenAI Agents SDK run on Temporal?
Yes. Temporal's integration with the OpenAI Agents SDK has been generally available in Temporal's Python SDK since March 23, 2026. Each agent invocation runs as a Temporal Activity, so failed calls retry and a restarted application resumes where it left off. Pyrana's Harness also runs its durable workflows on Temporal workers, which makes the two durability models familiar to the same operations team.
Can Pyrana use OpenAI models?
Yes. Pyrana is model agnostic and has adapters for OpenAI and Azure OpenAI, along with Anthropic, Fireworks, Google Gemini, and others. A model is assigned per agent and is not switched mid-run, and clients bring their own keys. Customer data stays in the client's cloud and is never used to train external models.

Sources and review

Facts about other products come from their own documentation, checked on the dates shown. Product names are trademarks of their owners and are used only to identify those products; no affiliation or endorsement is implied. Statements about fit are Pyrana's view. Last reviewed October 12, 2026. Spot something out of date? Tell us and we will correct it.

  1. OpenAI Agents SDK documentation (Python) · checked October 12, 2026
  2. OpenAI Agents SDK: Human in the loop · checked October 12, 2026
  3. OpenAI Agents SDK: Sessions · checked October 12, 2026
  4. OpenAI Agents SDK: Tracing · checked October 12, 2026
  5. OpenAI Agents SDK: Sandbox agents · checked October 12, 2026
  6. OpenAI Agents SDK repository (MIT license) · checked October 12, 2026
  7. OpenAI API docs: Agents guide · checked October 12, 2026
  8. OpenAI API docs: Deprecations · checked October 12, 2026
  9. OpenAI API docs: Agent Builder · checked October 12, 2026
  10. OpenAI API docs: Migrate from Agent Builder · checked October 12, 2026
  11. OpenAI: Introducing AgentKit · checked October 12, 2026
  12. OpenAI: Introducing OpenAI Frontier · checked October 12, 2026
  13. The Batch (DeepLearning.AI): Frontier launches to select customers · checked October 12, 2026
  14. Temporal: OpenAI Agents SDK integration (GA March 23, 2026) · checked October 12, 2026

Changes

  • October 12, 2026 · Published. Replaces the October 2025 article on Agent Builder.

Bring your hardest process.

We will show you the governed application it becomes, on your stack.