Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/openai/openai-agents-python
/ mongodb_session_example.py
File
mongodb_session_example.py
examples/memory/mongodb_session_example.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
""
"
2
Example demonstrating MongoDB session memory
with
a shared AsyncMongoClient.
3
4
In production you should create one AsyncMongoClient and
pass
it to all sessions
Callers
nothing calls this directly
Calls
2
main
Function · 0.70
run
Method · 0.45
Tested by
no test coverage detected