OpenAI Agents SDK Integration
Z3rno provides memory as OpenAI-compatible function tools. Your agent can store, recall, and forget memories through standard tool-calling — no custom wiring required.Installation
Setup
Tool Definitions
get_memory_tools() returns three function tool definitions:
These are standard OpenAI function-calling tool definitions that you pass directly to the API.
Basic Usage with Chat Completions
Automatic Conversation Memory
For agents that should automatically store every message without explicit tool calls, useZ3rnoConversationMemory:
Agent Loop Pattern
A complete agent loop that uses memory tools:Next Steps
- Python SDK Reference for all available parameters
- Multi-Agent Memory Guide for sharing memory across agents
- Memory Lifecycle to understand decay and transitions