How prasun-steve/research_mind---the-multi-agent-research-system works
ResearchMind accepts a topic through either the Streamlit dashboard or CLI, then runs search, source reading, report writing, and critique to return a report plus feedback. The two entry points orchestrate the stages directly; agents.py configures the shared Hugging Face model and writer/critic chains, while tools.py implements Tavily search and URL scraping. The README documents both interfaces and the four-stage workflow. App excerpts are partial, so the graph omits unshown UI details and uses only relationships visible in excerpts or documented by the README.
Main entry points: pipeline.py CLI runner · app.py Streamlit dashboard · agents.py Search agent · tools.py Search and scrape tools
Components 11
User interfaces
- CLI runner
pipeline.py - Streamlit dashboard
app.py
Research workflow
- Search agent
agents.py - Reader agent
agents.py - Writer chain
agents.py - Critic chain
agents.py
AI and web services
- Search and scrape tools
tools.py - Hugging Face inference
- Tavily search
- Source websites
Other components
- Researcher
Connections 18
- Researcher → CLI runner: enters topic
README.md - Researcher → Streamlit dashboard: enters topic
README.md - CLI runner → Search agent: invokes
pipeline.py - CLI runner → Reader agent: invokes
pipeline.py - CLI runner → Writer chain: invokes
pipeline.py - CLI runner → Critic chain: invokes
pipeline.py - Streamlit dashboard → Search agent: invokes
app.py - Streamlit dashboard → Reader agent: invokes
app.py - Streamlit dashboard → Writer chain: invokes
app.py - Streamlit dashboard → Critic chain: invokes
app.py - Search agent → Search and scrape tools: uses search tool
agents.py - Reader agent → Search and scrape tools: uses scrape tool
agents.py - Search and scrape tools → Tavily search: searches
tools.py - Search and scrape tools → Source websites: requests page
tools.py - Search agent → Hugging Face inference: runs model
- Reader agent → Hugging Face inference: runs model
- Writer chain → Hugging Face inference: runs model
- Critic chain → Hugging Face inference: runs model