openai-agents-python — two memories: Session history and sandbox Memory

openai-agents-python — two memories: Session history and sandbox Memory A data-flow diagram generated by Archify. 01 / Run 02 / Persist 03 / Phase 1 04 / Phase 2 05 / Next run Runner.run · turn items · 01 / Run Runner.run turn items SandboxAgent run · Memory capability · 01 / Run SandboxAgent run Memory capability Session · items + reasoning · 02 / Persist Session items + reasoning rollout JSONL · sessions/*.jsonl · 02 / Persist rollout JSONL sessions/*.jsonl responses.compact · opt-in wrapper · 03 / Phase 1 responses.compact opt-in wrapper extract agent · structured output · 03 / Phase 1 extract agent structured output consolidate agent · SandboxAgent · 04 / Phase 2 consolidate agent SandboxAgent memory folder · MEMORY.md, skills/ · 04 / Phase 2 memory folder MEMORY.md, skills/ next input · history prepended · 05 / Next run next input history prepended next prompt · memory_summary.md · 05 / Next run next prompt memory_summary.md add_items append segment if wrapped get_items on close raw memories edit files summary Legend primary data async batch data store data flow