MCPcopy Index your code
hub / github.com/openai/openai-agents-python / agents_as_tools.py

File agents_as_tools.py

examples/agent_patterns/agents_as_tools.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import asyncio
2
3from agents import Agent, ItemHelpers, MessageOutputItem, Runner, trace
4from examples.auto_mode import input_with_fallback

Callers

nothing calls this directly

Calls 4

AgentClass · 0.90
as_toolMethod · 0.80
mainFunction · 0.70
runMethod · 0.45

Tested by

no test coverage detected