{"id":30020701,"url":"https://github.com/rafaelpierre/openai-agents-redis","last_synced_at":"2025-08-06T02:05:40.862Z","repository":{"id":305710527,"uuid":"1023736496","full_name":"rafaelpierre/openai-agents-redis","owner":"rafaelpierre","description":"Native OpenAI Agents SDK session management implementation using Redis as the persistence layer.","archived":false,"fork":false,"pushed_at":"2025-08-05T12:42:41.000Z","size":76,"stargazers_count":5,"open_issues_count":4,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-05T14:39:36.570Z","etag":null,"topics":["agents","artificial-intelligence","llama","llama-cpp","multiagent-systems","ollama","openai","openai-agents-sdk","redis"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/openai-agents-redis/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rafaelpierre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-21T16:02:02.000Z","updated_at":"2025-08-05T12:42:45.000Z","dependencies_parsed_at":"2025-07-21T17:16:27.257Z","dependency_job_id":"8173107a-7c4c-4b29-8b88-ffefe2c7d87d","html_url":"https://github.com/rafaelpierre/openai-agents-redis","commit_stats":null,"previous_names":["rafaelpierre/openai-agents-redis"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rafaelpierre/openai-agents-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelpierre%2Fopenai-agents-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelpierre%2Fopenai-agents-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelpierre%2Fopenai-agents-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelpierre%2Fopenai-agents-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaelpierre","download_url":"https://codeload.github.com/rafaelpierre/openai-agents-redis/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaelpierre%2Fopenai-agents-redis/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269005891,"owners_count":24343408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-06T02:00:09.910Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agents","artificial-intelligence","llama","llama-cpp","multiagent-systems","ollama","openai","openai-agents-sdk","redis"],"created_at":"2025-08-06T02:03:02.696Z","updated_at":"2025-08-06T02:05:40.844Z","avatar_url":"https://github.com/rafaelpierre.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🤖 OpenAI Agents Redis\n\n[![Python 3.13+](https://img.shields.io/badge/python-3.13+-blue.svg)](https://www.python.org/downloads/)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Redis](https://img.shields.io/badge/redis-%23DD0031.svg?style=flat\u0026logo=redis\u0026logoColor=white)](https://redis.io/)\n[![OpenAI](https://img.shields.io/badge/OpenAI-GPT-green.svg)](https://openai.com/)\n\n\u003e Native [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/) session management implementation using [Redis](https://redis.io) as the persistence layer.\n\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://www.youtube.com/watch?v=DWr_Ata4gxQ\"\u003e\n        \u003cimg src=\"https://img.youtube.com/vi/DWr_Ata4gxQ/0.jpg\" alt=\"Demo Video\" width=\"560\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n## ✨ Features\n\n- 🧠 **Intelligent Agents**: Built on OpenAI's powerful Agents SDK\n- ⚡ **Redis Integration**: Lightning-fast caching and persistent storage\n- 🔄 **Conversation Memory**: Maintain context across interactions\n\n## 🚀 Quick Start\n\n### Installation\n\n```bash\n# Using uv (recommended)\nuv add openai-agents-redis\n\n# Using pip\npip install openai-agents-redis\n```\n\n### Basic Usage\n\n```python\nfrom agents_redis.session import RedisSession\n\nsession = RedisSession(\n    session_id=session_id, #Use your own logic to generate a session_id\n    redis_url=\"redis://localhost:6379\",\n)\n\n# Your code for defining an Agent\n# ...\n\n# Starting the runner passing the session\n\nresult = Runner.run_streamed(\n    starting_agent=current_agent, input=agent_input, context=current_context, session=session\n)\n\n```\n\n## Development\n\n### Testing Requirements\n\n🐳 [Docker](https://www.docker.com/) \u003cbr\u003e\n⚡️ [uv](https://astral.sh/uv) \u003cbr\u003e\n🦾 [OpenAI Agents SDK](https://openai.github.io/openai-agents-python/) (optional) \u003cbr\u003e\n🔑 OpenAI API Key (optional) \u003cbr\u003e\n\n### Running Tests\n\n```bash\n# Run all tests\nuv run pytest\n\n# Run with coverage\nuv run pytest --cov\n```\n\n## 📋 Roadmap\n\n- [ ] Storing conversation context\n- [ ] Full text search\n- [ ] Vector similarity search \u0026 Hybrid Search\n- [ ] Built-in monitoring dashboard\n\n---\n\n\u003cp align=\"center\"\u003e\n  Made with ❤️ by \u003ca href=\"https://github.com/rafaelpierre\"\u003eRafael\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  ⭐ Star us on GitHub!\n\u003c/p\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelpierre%2Fopenai-agents-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaelpierre%2Fopenai-agents-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaelpierre%2Fopenai-agents-redis/lists"}