How jogirohithkumar/research-intelligence-assistant works
This is a full-stack research workspace: a researcher submits a query, the API authenticates and queues it, a stateful research graph gathers and validates evidence, analyzes papers, and produces a grounded, citation-checked report; job progress and results return to the workspace. The graph preserves the documented domain stages and supporting intelligence capabilities. Several subsystem links are based on README architecture statements or indexed imports; unsampled implementations and optional provider wiring are not inferred beyond that evidence.
Main entry points: research_graph.py Research graph · App.jsx React workspace · manager.py Job manager · routes.py Research API
Components 21
Research workspace
- React workspace
frontend/src/App.jsx
API and access
- Authentication routes
app/auth/routes.py - Research API
app/api/routes.py - Job manager
app/jobs/manager.py - SSE job stream
app/api/stream.py
Research orchestration
- Research graph
app/graph/research_graph.py - Bounded research loop
app/loop/loop_controller.py
Retrieval and evidence
- Search agent
app/agents/search_agent.py - Search engine
app/search/engine.py - Scholarly providers
app/search - Evidence retrieval
app/rag/evidence_retriever.py - Vector store
app/rag/vector_store.py - Claim verification
app/rag/claim_support_verifier.py
Intelligence and reporting
- Research intelligence
app/intelligence/engine.py - Grounded synthesis
app/agents/grounded_synthesis_agent.py - Citation validation
app/agents/citation_agent.py - Report generation
app/agents/report_agent.py
Persistence and runtime
- PostgreSQL state
app/db/models.py - Graph checkpoints
app/db/checkpoint.py - LLM service
app/services/llm_service.py
Other components
- Researcher
Connections 23
- Researcher → React workspace: uses
- React workspace → Authentication routes: authenticates
- React workspace → Research API: submits query
frontend/src/App.jsx - Research API → Job manager: queues job
app/api/routes.py - Job manager → Research graph: executes
app/jobs/manager.py - Research graph → Search agent: dispatches
app/graph/research_graph.py - Search agent → Search engine: uses
app/agents/search_agent.py - Search engine → Scholarly providers: retrieves papers
app/search/engine.py - Research graph → Evidence retrieval: processes evidence
app/graph/research_graph.py - Evidence retrieval → Vector store: retrieves chunks
app/rag/evidence_retriever.py - Research graph → Claim verification: validates claims
- Research graph → Research intelligence: analyzes papers
- Research graph → Bounded research loop: bounds research
- Bounded research loop → Search agent: requests more
- Research graph → Grounded synthesis: synthesizes findings
app/graph/research_graph.py - Research graph → Citation validation: validates citations
app/graph/research_graph.py - Research graph → Report generation: generates report
app/graph/research_graph.py - Job manager → PostgreSQL state: persists results
app/jobs/manager.py - Research graph → Graph checkpoints: checkpoints state
app/graph/research_graph.py - Research graph → SSE job stream: reports progress
- SSE job stream → React workspace: streams updates
- React workspace → Research API: loads session
frontend/src/App.jsx - Research graph → LLM service: uses model service