A multi-agent research application built with OpenAI's Agents SDK and Streamlit. This application enables users to conduct comprehensive research on any topic by leveraging multiple specialized AI agents.
-
Multi-Agent Architecture:
- Triage Agent: Plans the research approach and coordinates the workflow
- Research Agent: Searches the web and gathers relevant information
- Editor Agent: Compiles collected facts into a comprehensive report
-
Automatic Fact Collection: Captures important facts from research with source attribution
-
Structured Report Generation: Creates well-organized reports with titles, outlines, and source citations
-
Interactive UI: Built with Streamlit for easy research topic input and results viewing
-
Tracing and Monitoring: Integrated tracing for the entire research workflow
- Clone the GitHub repository
git clone https://github.com/Shubhamsaboo/awesome-llm-apps.git
cd awesome-llm-apps/ai_agent_tutorials/openai_researcher_agent
- Install the required dependencies:
cd awesome-llm-apps/ai_agent_tutorials/openai_researcher_agent
pip install -r requirements.txt
- Get your OpenAI API Key
-
- Sign up for an OpenAI account and obtain your API key.
- Set your OPENAI_API_KEY environment variable.
export OPENAI_API_KEY='your-api-key-here'
- Run the team of AI Agents
streamlit run openai_researcher_agent.py
Then open your browser and navigate to the URL shown in the terminal (typically http://localhost:8501).
- Enter a research topic in the sidebar or select one of the provided examples
- Click "Start Research" to begin the process
- View the research process in real-time on the "Research Process" tab
- Once complete, switch to the "Report" tab to view and download the generated report