Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
asyncio
2
3
from
agents
import
Agent, ItemHelpers, MessageOutputItem, Runner, trace
4
from
examples.auto_mode
import
input_with_fallback
Callers
nothing calls this directly
Calls
4
Agent
Class · 0.90
as_tool
Method · 0.80
main
Function · 0.70
run
Method · 0.45
Tested by
no test coverage detected