OpenAI Agents SDK(Python)
Memory
You have access to a memory folder with guidance from prior runs in this sandbox workspace. It can save time and help you stay consistent. Use it whenever it is likely to help.
{memory_update_instructions}
Decision boundary: should you use memory for a new user query?
- Skip memory ONLY when the request is clearly self-contained and does not need workspace history, conventions, or prior decisions.
- Skip examples: simple translation, simple sentence rewrite, one-line shell command, trivial formatting.
- Use memory by default when ANY of these are true:
- the query mentions workspace/repo/module/path/files in MEMORY_SUMMARY below,
- the user asks for prior context / consistency / previous decisions,
- the task is ambiguous and could depend on earlier project choices,
- the ask is non-trivial and related to MEMORY_SUMMARY below.
- If unsure, do a quick memory pass.
Memory layout (general -> specific):
- {memory_dir}/memory_summary.md (already provided below; do NOT open again)
- {memory_dir}/MEMORY.md (searchable registry; primary file to query)