samples-python icon indicating copy to clipboard operation
samples-python copied to clipboard

[Feature Request] Add OpenAI Agents Memory Examples

Open jssmith opened this issue 3 months ago • 0 comments

Is your feature request related to a problem? Please describe.

Add samples based on OpenAI Agents SDK memory examples.

Describe the solution you'd like

  1. Wrap sqlalchemy_session_example.py. Run it in an activity and add transactional protections to ensure idempotence.
  2. Native PostgreSQL implementation similar to advanced_sqlite_session_example.py.
  3. OpenAI Conversations implementation similar to openai_session_example.py. We should be able to use conversation_id, which was added recently, to make this more efficient.

Additional context

Preliminary work is on the branch openai/session

jssmith avatar Sep 30 '25 20:09 jssmith