agent-openai-memory
Installation
SKILL.md
Stateful Memory with OpenAI Agents SDK Sessions
This template uses OpenAI Agents SDK Sessions with AsyncDatabricksSession to persist conversation history to a Databricks Lakebase instance.
How Sessions Work
Sessions automatically manage conversation history for multi-turn interactions:
- Before each run: The session retrieves prior conversation history and prepends it to input
- During the run: New items (user messages, responses, tool calls) are generated
- After each run: All new items are automatically stored in the session
This eliminates the need to manually manage conversation state between runs.