Repository navigation
feat(openai-agents): add an explicit project memory workflow (rehost #5958) - #6024
Merged
Merged
Conversation
This was referenced Nov 11, 2026
Contributor
[Medium impact] The PR appears safe to merge; no actionable issue was established. SummaryAdds an explicit project-memory example for the OpenAI Agents SDK.
DiagramsequenceDiagram
participant CLI as Python example
participant MCP as Local MCP child
participant Worker as Claude-Mem worker
CLI->>MCP: Discover memory tools
CLI->>MCP: Save project note with fingerprint
MCP->>Worker: Save or find existing note
Worker-->>CLI: Confirm observation ID
CLI->>MCP: Read project index
CLI->>MCP: Read selected note's timeline
CLI->>MCP: Retrieve selected details
MCP->>Worker: Read within project scope
Worker-->>CLI: Return saved note
CLI->>MCP: Close connection
Reviews (1) · Last reviewed commit: "docs(openai-agents): start disposable wo..." · Reviewed by Greptile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rehost of #5958 by @Afloat16, who did all of this work. Their commits are cherry-picked unchanged with
git cherry-pick -x, so they stay the commit author on main; the original PR has maintainer edits off, so this branch carries the one-linedocs/public/docs.jsonmerge with the framework guides that landed first.Closes #5925
🤖 Generated with Claude Code
https://claude.ai/code/session_019FbY8c2BSHbdhJhnWYMGaY
Note
Low Risk
Adds documentation and an isolated example under
examples/openai-agents/; no changes to core worker or authentication paths.Overview
Adds OpenAI Agents SDK integration docs and a runnable
examples/openai-agents/workflow that connects viaMCPServerStdioto Claude-Mem’s local MCP server—without OpenAI API keys or automatic capture.The workflow explicitly saves project notes (with
sourceFingerprintdedup), then recalls them through a filtered tool set (save_memory,search,timeline,get_observations) with JSON-scopedprojectson reads to keep commas/worktrees from widening scope. A new Mintlify nav entry points at the guide; live tests cover replay, project isolation, timeouts, and worker failures against a disposable worker.Reviewed by Cursor Bugbot for commit 0997ee1. Bugbot is set up for automated code reviews on this repo. Configure here.