Researcher Agent is an intelligent Streamlit-based AI assistant that performs real-time research on any given topic using web search and content scraping tools. It uses the Groq LLM (LLaMA3) to:
- Search the web for the topic using a custom search tool.
- Scrape content from found URLs using a scraper tool.
- Generate a short, coherent report based only on the scraped content.
watch the demo here
-
Python 3.8+
-
API key for Groq
-
Installed dependencies:
streamlitgroqfirecrawlseper API
-
Clone this repository or copy the files into a folder:
git clone https://HamnaCh456/Researcher_Agent.git
-
Install required packages:
pip install -r requirements.txt
-
Add your Groq API key in the script or use environment variables.
streamlit run your_script_name.py-
Enter a topic like:
latest AI tools, orquantum computing applications. -
The agent will:
- Search the web for this topic.
- Scrape relevant pages.
- Generate a short, factual report.
├── researcher_app.py # Main Streamlit app (your current script)
├── tools.py # Contains `searcher` and `scraper` functions
├── README.md # This file
└── requirements.txt # Python dependencies
- Uses Groq’s LLaMA3 model for generation
- Utilizes structured tool calling with search & scrape functions
- Produces factual, real-world responses from scraped content
- Easy web interface with Streamlit