Skip to content

feat(examples): add OpenAI API + Memtrace cookbook#35

Merged
xe-nvdk merged 3 commits into
mainfrom
feat/openai-cookbook
Feb 9, 2026
Merged

feat(examples): add OpenAI API + Memtrace cookbook#35
xe-nvdk merged 3 commits into
mainfrom
feat/openai-cookbook

Conversation

@xe-nvdk

@xe-nvdk xe-nvdk commented Feb 9, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds examples/openai/ directory with single-agent and multi-agent cookbook examples using the OpenAI Python SDK
  • Mirrors the existing Claude cookbook patterns (examples/claude/) with OpenAI function calling format
  • Includes single_agent.py (3-prompt memory loop), multi_agent.py (researcher + summarizer shared session), README, and requirements.txt

Closes #12

Test plan

  • Verify python examples/openai/single_agent.py runs with env vars set (OPENAI_API_KEY, MEMTRACE_URL, MEMTRACE_API_KEY)
  • Verify python examples/openai/multi_agent.py runs — researcher stores findings, summarizer reads them
  • Confirm tool definitions use valid OpenAI function calling format
  • Confirm no Claude-specific code in the openai examples

Ignacio Van Droogenbroeck added 3 commits February 8, 2026 21:27
Mirror of the Claude cookbook examples using OpenAI's Python SDK and
function calling format. Includes single-agent memory loop and
multi-agent shared session patterns.

Closes #12
Add OpenAI API + Memtrace section to docs/README.md, update project
tree in architecture.md, and add bidirectional cross-references
between Claude and OpenAI cookbooks.
Place the conceptual overview and docs links right after the intro
so readers understand the architecture before diving into use cases
and setup.
@xe-nvdk xe-nvdk merged commit 9c0f945 into main Feb 9, 2026
2 checks passed
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.

feat(examples): OpenAI API + Memtrace cookbook

1 participant