Skip to content

feat(openai-agents): add an explicit project memory workflow (rehost #5958) - #6024

Merged
thedotmack merged 6 commits into
mainfrom
community/rehost-5958
Nov 11, 2026
Merged

thedotmack merged 6 commits into
mainfrom
community/rehost-5958

Conversation

@thedotmack

@thedotmack thedotmack commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

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-line docs/public/docs.json merge 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 via MCPServerStdio to Claude-Mem’s local MCP server—without OpenAI API keys or automatic capture.

The workflow explicitly saves project notes (with sourceFingerprint dedup), then recalls them through a filtered tool set (save_memory, search, timeline, get_observations) with JSON-scoped projects on 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.

@thedotmack
thedotmack merged commit c05ac41 into main Nov 11, 2026
12 of 13 checks passed
@greptile-apps

greptile-apps Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no actionable issue was established.

Summary

Adds an explicit project-memory example for the OpenAI Agents SDK.

  • OpenAI Agents workflows can save and recall project notes.
  • The guide shows how to use OpenAI Agents with local project memory.

Diagram

sequenceDiagram
  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
Loading

Reviews (1) · Last reviewed commit: "docs(openai-agents): start disposable wo..." · Reviewed by Greptile

@thedotmack
thedotmack deleted the community/rehost-5958 branch November 11, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Integration] Add OpenAI Agents SDK support

2 participants