# ResearchWebGraph

> An open-source tool for literature reviews that connects arXiv papers through a knowledge graph and answers questions with citations to the original passages.

4 May 2025 · Updated 2026-11-25 · [Original on Medium](https://tirthkanani18.medium.com/researchwebgraph-my-journey-building-an-ai-powered-research-tool-3647b613dfa0)

Open source · FastAPI, Streamlit and Qdrant

Entity extraction misses nuances, and loosely related papers can make the graph noisy.

Reading papers is slow. Finding the right ones can take longer, especially when the question depends on how several papers relate to each other. I built ResearchWebGraph for my own literature reviews, to keep those connections somewhere other than my head.

It searches arXiv, downloads papers and extracts entities and relationships into a growing graph. A question triggers vector search in Qdrant for relevant passages and a graph traversal for connected entities. The combined context goes to a language model, which produces an answer with citations back to papers and passages.

## Keeping the context in a connection

The graph construction is the part I found most interesting. Concepts, methods, datasets and results become nodes; extracted relationships describe how they connect. A result might say that method A outperformed B on dataset C. The dataset belongs in that relationship. Strip it away and a narrow comparison starts to look like a general conclusion.

This structure takes part in answering the question. It gives the retrieval system another route through the papers, alongside similarity search. The application is designed to say when support is missing. Citations then give me a direct way back to the source, where I can check whether the generated answer kept the qualifications in the original passage.

## A graph that grows with the reading

FastAPI handles the back end, Streamlit the interface, and Docker Compose runs the application locally. I add papers as I read, follow a connection and ask a more specific question. The graph develops with the review; I do not need to decide the shape of the whole field before starting.

Extraction remains the weak point. It misses nuances, and a collection of loosely related papers can produce a noisy graph. The code is open source. I use the tool to organise the next part of the reading, then return to the papers themselves.

---

By [Tirth Kanani](https://tirthkanani.com/index.md). Human version: https://tirthkanani.com/writing/research-web-graph
