DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to ask cited questions across your own PDF library with Thesys Core

Run Thesys locally, upload papers, and get chat answers that jump to the exact passage in each PDF.

Short answer: Run cp backend/.env.example backend/.env and set OPENAI_API_KEY and EMAIL in backend/.env; then run docker compose up --build from the repo root and wait for the first build to finish; open http://127.0.0.1:5000 in a browser and upload one or more PDFs to the library. All steps.

  • Top pick
  • Research
  • Intermediate
  • 90 minutes
  • From the README
  • Any agent

Who it is forA graduate student or researcher with a folder of PDFs who needs quick, sourced answers to questions about their reading list.

The problemSearching many PDFs by hand for one claim or method is slow, and chat answers without sources are hard to trust.

The outcomeA running local workspace where each answer cites a passage, and clicking the citation opens the highlighted spot in the PDF.

What you need first

  • Docker, or Python 3.11+ and Node.js 20+ for the local setup
  • An OpenAI API key for chat
  • A contact email for the EMAIL setting used by citation lookup
  • A TypeSafe API key only if you want the Compare feature

Steps

  1. Run cp backend/.env.example backend/.env and set OPENAI_API_KEY and EMAIL in backend/.env.
  2. Run docker compose up --build from the repo root and wait for the first build to finish.
  3. Open http://127.0.0.1:5000 in a browser and upload one or more PDFs to the library.
  4. Ask a question in chat, then click a citation to jump to the highlighted passage in the preview.
  5. Run docker compose down when you are done. Your papers and chat history stay in the thesys-data volume.

Prompt for your agent

Use the Sreehari05055/thesys-core repo to set up a local research workspace with Docker, set OPENAI_API_KEY and EMAIL in backend/.env, and upload the PDFs in <path-to-pdf-folder>. Report the chat answer to the question <your question> and the citation it links to. Verify that clicking the citation opens the highlighted passage in the PDF preview.

Caveat. The first ingest downloads Hugging Face weights inside the container, and chat needs an OpenAI API key, so the answers are not fully offline.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for Sreehari05055/thesys-core and "Ask cited questions across your own PDF library"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer