How manojpremsm/literature_review works
The product is a Streamlit literature-review assistant. A user submits a topic and paper count; the frontend invokes an async runtime that creates a two-agent team, streams its conversation, and displays the resulting review. The research agent searches arXiv and selects papers for the summarizer. Prompts define each agent’s task, while a model-client factory configures Ollama. The graph follows README-described workflow where source excerpts do not show the full runtime handoff.
Main entry points: team_round_robin.py Round-robin team · Research_agent.py Research agent · Streamlit_Frontend.py Streamlit interface · main.py Async review runtime
Components 12
User interface
- Streamlit interface
Streamlit_Frontend.py
Conversation runtime
- Async review runtime
main.py - Round-robin team
teams/team_round_robin.py
Review agents
- Research agent
Agents/Research_agent.py - Summarization agent
Agents/Summarizer_agent.py
Prompts and integrations
- Research instructions
prompts/research_prompt.py - Summary instructions
prompts/summary_prompt.py - arXiv search tool
tools/Arvix_tool.py - Ollama client
Models/ollama_model_client.py
Other components
- Researcher
- arXiv service
- Ollama model
Connections 14
- Researcher → Streamlit interface: enters topic
README.md - Streamlit interface → Async review runtime: starts review
Streamlit_Frontend.py - Async review runtime → Round-robin team: creates team
main.py - Async review runtime → Ollama client: creates client
main.py - Round-robin team → Research agent: registers agent
teams/team_round_robin.py - Round-robin team → Summarization agent: registers agent
teams/team_round_robin.py - Research agent → Research instructions: uses instructions
Agents/Research_agent.py - Summarization agent → Summary instructions: uses instructions
Agents/Summarizer_agent.py - Research agent → arXiv search tool: registers tool
Agents/Research_agent.py - arXiv search tool → arXiv service: searches papers
tools/Arvix_tool.py - Research agent → Summarization agent: passes selected papers
- Ollama client → Ollama model: configures model
Models/ollama_model_client.py - Round-robin team → Streamlit interface: streams conversation
README.md - Streamlit interface → Researcher: shows review
README.md