How maheshwaree-02/researchpilot-ai works
ResearchPilot AI is a Streamlit research assistant whose primary workflow takes a user's topic and goals through an editable plan, web research and citation capture, report synthesis, optional review, and saved/displayed results. The README also describes a distinct distributed-systems suite; it is represented as a capability branch, but detailed internal links are limited where those modules were not excerpted. Edges are limited to relationships shown by excerpts, the source index, or README; unsampled subsystem connections are omitted.
Main entry points: main.py App Workflow · researcher.py Research Agent · writer.py Writing Agent · llm.py LLM Routing
Components 21
Research Workflow
- App Workflow
main.py - Planning Agent
agents/planner.py - Research Agent
agents/researcher.py - Writing Agent
agents/writer.py - Review Agent
agents/reviewer.py
Shared Services
- Pipeline State
core/state.py - LLM Routing
core/llm.py - Citation Manager
core/citation_manager.py - Web Search
tools/search.py - RAG Memory
rag/vectorstore.py - Research History
core/history.py - Research Database
database/schema.py - Configuration
config/settings.py
User Interface
- Streamlit Interface
main.py - Progress View
frontend/components/progress.py - Report Viewer
frontend/components/report_viewer.py - History Sidebar
frontend/components/sidebar.py
Distributed Systems
- Distributed Suite
grpc_experiment
Other components
- Researcher
- LLM Providers
- Web Sources
Connections 30
- Researcher → App Workflow: submits topic
main.py - App Workflow → Planning Agent: creates plan
main.py - App Workflow → Research Agent: runs research
main.py - App Workflow → Writing Agent: generates report
main.py - App Workflow → Review Agent: requests review
main.py - App Workflow → Pipeline State: maintains
main.py - App Workflow → Research Database: saves history
main.py - App Workflow → Streamlit Interface: renders views
main.py - Streamlit Interface → Progress View: renders
main.py - Streamlit Interface → Report Viewer: renders
main.py - Streamlit Interface → History Sidebar: loads history
frontend/components/sidebar.py - Planning Agent → Pipeline State: updates plan
agents/planner.py - Planning Agent → LLM Routing: generates text
- Research Agent → Web Search: searches and browses
agents/researcher.py - Web Search → Web Sources: requests pages
- Research Agent → Citation Manager: records sources
agents/researcher.py - Research Agent → LLM Routing: synthesizes findings
agents/researcher.py - Research Agent → Pipeline State: adds findings
agents/researcher.py - Writing Agent → RAG Memory: retrieves context
agents/writer.py - Writing Agent → RAG Memory: stores research
agents/writer.py - Writing Agent → Citation Manager: formats references
agents/writer.py - Writing Agent → LLM Routing: writes report
- Review Agent → LLM Routing: scores report
- LLM Routing → LLM Providers: routes generation
core/llm.py - RAG Memory → Configuration: reads settings
rag/vectorstore.py - Research Database → Configuration: reads URL
database/connection.py - Research History → Research Database: uses models
core/history.py - History Sidebar → Research History: loads records
frontend/components/sidebar.py - History Sidebar → Research Database: queries records
frontend/components/sidebar.py - Distributed Suite → Researcher: offers infrastructure capabilities
README.md