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

How to run research from a Python script with Local Deep Research

Install the pip package and use quick_query or LDRClient to get research summaries in code.

Short answer: Install with pip install local-deep-research; then start the server with python -m local_deep_research.web.app and create a user; call quick_query with your username, password and question, as in the README. All steps.

  • Research
  • Intermediate
  • 45 minutes
  • From the README
  • Claude Code
  • Codex
  • Cursor
  • Gemini CLI

Who it is forA developer who wants research summaries inside a pipeline.

The problemRunning research by hand in a UI does not scale to many questions.

The outcomeResearch summaries returned as Python values for each question.

What you need first

  • Docker, or Python with pip
  • Ollama or another OpenAI compatible LLM endpoint
  • SearXNG for web search

Steps

  1. Install with pip install local-deep-research
  2. Start the server with python -m local_deep_research.web.app and create a user
  3. Call quick_query with your username, password and question, as in the README
  4. Or create an LDRClient, log in and call quick_research

Prompt for your agent

Using LearningCircuit/local-deep-research, install `pip install local-deep-research`, start it with `python -m local_deep_research.web.app`, then write a script that runs quick_research for each question in <my list> and saves the summaries.

Caveat. You need Ollama or another LLM endpoint and SearXNG running for full results.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for LearningCircuit/local-deep-research and "Run research from a Python script"

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