---
type: email
from: Kazuhiro Sera <notifications@github.com>
subject: Re: [openai/openai-agents-python] How to integrate RAG solutions

 (Issue #1904)
received: 2026-03-06 08:06:36
date_header: Thu, 16 Oct 2025 22:08:00 -0700
priority: normal
status: awaiting_approval
uid: 32794
---

## Email Content

**From:** Kazuhiro Sera <notifications@github.com>
**Subject:** Re: [openai/openai-agents-python] How to integrate RAG solutions

 (Issue #1904)
**Date:** Thu, 16 Oct 2025 22:08:00 -0700

### Body (preview)

seratch left a comment (openai/openai-agents-python#1904)



@wk1019591719 If you want to go with your own (local or hosted somewhere) retrieval logic, you can run a query to fetch data from your own datastore, and embed the data either in your `instructions` (aka system prompt) or `input` (aka user message). There is no single code example for this. Refer to the documents of the solution you're going to use.



If you're fine to try OpenAI's hosted file search tool, refer to the resources @ihower already shared (thanks as always!).



Hope this clarifies things. If you don't have further questions on OpenAI platform and/or this SDK, would you mind closing this question issue?



-- 

Reply to this email directly or view it on GitHub:

https://github.com/openai/openai-agents-python/issues/1904#issuecomment-3413909052

You are receiving this because you are subscribed to this thread.



Message ID: <openai/openai-agents-python/issues/1904/3413909052@github.com>

---

## Suggested Actions
- [ ] Reply
- [ ] Archive
- [ ] Escalate
