🤖 OpenAI Agents Redis
Native OpenAI Agents SDK session management implementation using Redis as the persistence layer.
✨ Features
- 🧠 Intelligent Agents: Built on OpenAI's powerful Agents SDK
- ⚡ Redis Integration: Lightning-fast caching and persistent storage
- 🔄 Conversation Memory: Maintain context across interactions
🚀 Quick Start
Installation
# Using uv (recommended)
uv add openai-agents-redis
# Using pip
pip install openai-agents-redis
Basic Usage
from agents_redis.session import RedisSession
session = RedisSession(
session_id=session_id, #Use your own logic to generate a session_id
redis_url="redis://localhost:6379",
)
# Your code for defining an Agent
# ...
# Starting the runner passing the session
result = Runner.run_streamed(
starting_agent=current_agent, input=agent_input, context=current_context, session=session
)
Development
Testing Requirements
🐳 Docker ⚡️ uv 🦾 OpenAI Agents SDK (optional) 🔑 OpenAI API Key (optional)
Running Tests
# Run all tests
uv run pytest
# Run with coverage
uv run pytest --cov
📋 Roadmap
- Storing conversation context
- Full text search
- Vector similarity search & Hybrid Search
- Built-in monitoring dashboard
Made with ❤️ by Rafael
⭐ Star us on GitHub!
Metadata
Release files for openai-agents-redis 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openai_agents_redis-0.1.0.tar.gz | 43.7 kB | Without provenance | Details for openai_agents_redis-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openai_agents_redis-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for openai_agents_redis-0.1.0-py3-none-any.whl |
Total release size: 49.8 kB
Release files / openai_agents_redis-0.1.0.tar.gz
| Download URL | openai_agents_redis-0.1.0.tar.gz |
|---|---|
| Size | 43.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9905fa13d67f1624f89cf6a9c7198cec95160ed31ebbf00bdc54141a80ded80
|
|
BLAKE2b-256 checksum How to use checksums |
a5b81c1931b1caa199a19e1930cce6de9c913603bb06d58b82f4fa48d5a99c18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.0
|
Release files / openai_agents_redis-0.1.0-py3-none-any.whl
| Download URL | openai_agents_redis-0.1.0-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
05a244255f64f56a413d72b3fa9055657d64cd692adcc6c77e4af0ce1af670d6
|
|
BLAKE2b-256 checksum How to use checksums |
8e3e76fd70a620fd920a819e7302bc83b26c5ed9afffcc1b58ff3a8117e574a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.8.0
|
Security for openai-agents-redis 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.