Loading...
Loading...
Migrate Python OpenAI Agents SDK applications to Pydantic AI and, when warranted, Pydantic AI Harness. Use for `agents.Agent`, `Runner`, function tools, handoffs, guardrails, sessions, human approval, streaming, or `SandboxAgent`. Do not use for applications built directly on the OpenAI Responses API without the Agents SDK runtime.
npx skill4agent add pydantic/skills migrating-openai-agents-sdk-to-pydantic-aiopenai-agentsRunner.runrun_syncrun_streamedfinal_outputlast_agentnew_itemsto_input_list()AgentSubAgentsCoderopenai-agentsRunContextWrapper.contextdepslast_agentto_input_list()Sessionconversation_idprevious_response_idRunStateRunStateHandleDeferredToolCallsDeferredToolRequestsoutput_typeDeferredToolResultstool_use_behaviorToolOutputrun(event_stream_handler=...)run_stream_events()iter()run_stream()max_turnsUsageLimits.request_limit