temporalio / temporalio/samples-python

[Feature Request] Add OpenAI Agents Memory Examples

Open
#253 0 comments 0 reactions 1 assignee View on GitHub

@donald-pinckney is already working on this.

Since Sep 30, 2025.

enhancement
Dominant language
Python
Stars
367
Forks
121
Avg merge
3d 20h
Merged PRs (30d)
11

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.