I was building a production app with OpenAI's new Agents SDK and hit a wall with session management. The built-in SQLite support works great for prototyping, but doesn't cut it when you need to scale across multiple instances.
So I built openai-agents-redis – a drop-in replacement that uses Redis instead. Same API, but now your agent sessions can be shared across processes and survive container restarts.
It's lightweight (just a thin adapter) and handles connection pooling, serialization, and cleanup automatically.
j0selit0•5h ago
So I built openai-agents-redis – a drop-in replacement that uses Redis instead. Same API, but now your agent sessions can be shared across processes and survive container restarts.
It's lightweight (just a thin adapter) and handles connection pooling, serialization, and cleanup automatically.
GitHub: https://github.com/rafaelpierre/openai-agents-redis PyPi: https://pypi.org/project/openai-agents-redis/
Maybe others running into the same SQLite limitations will find it useful. Curious for your thoughts!