deep-research
Deep research that checks its own claims, from your terminal, your browser
or your coding agent. drsh plans the question, reads the web in parallel,
checks each claim against the text of the pages it read, and saves a cited
report as Markdown, PDF and JSON.
Install · See a run · Use it from an agent

- Free by default. OpenRouter's free models and public SearXNG search: a
free key is all it needs. If a search fails, or you turn search off, the
model suggests pages and drsh fetches them itself.
- Nothing passes as read that was not. Reports mark sources that were
snippet only or never fetched, and instant answers, which skip the
fact-check, as unchecked.
- Your past runs stay searchable, offline.
drsh kb search needs no key
or model; --revisit has a new run try a saved page again, live.
Quick install
Linux, macOS, WSL2, Termux (installs to ~/.local/bin):
curl -fsSL https://raw.githubusercontent.com/juanhuttemann/deep-research/main/scripts/install.sh | bash
Windows (native, PowerShell; without the live terminal UI, see below):
iex (irm https://raw.githubusercontent.com/juanhuttemann/deep-research/main/scripts/install.ps1)
Both fetch the latest release binary and verify its checksum; see
releases. After
that, drsh update replaces it with each new release.
The Windows installer adds its folder to your user PATH. install.sh
leaves your shell's startup files alone and, where ~/.local/bin is not on
PATH, says how to add it; DEEP_RESEARCH_MODIFY_PATH=1 (curl … | env DEEP_RESEARCH_MODIFY_PATH=1 bash) has it add the line itself, once, to
~/.bashrc and bash's login file, ~/.zshrc or fish's conf.d/drsh.fish,
after a # Added by the drsh installer comment; delete that comment and
the line under it to undo it. For other shells it only says how.
From source (Go 1.27+):
git clone https://github.com/juanhuttemann/deep-research.git
cd deep-research
make build
The build stamps the version into a drsh binary in the repo root.
Move it onto your PATH (or run it as ./drsh) for the examples
below.
The live terminal UI is unix-only. Windows binaries work, but the run
degrades to headless output — one log line per event, then the report.
Quick start
drsh setup
drsh -p "What are the latest advances in fusion energy?"
drsh setup asks three things, explains each choice, and saves nothing until
you confirm:
| Step | Choices |
|---|
| Model | any provider's model; a free OpenRouter key (no card) is at https://openrouter.ai/keys |
| Web search | public SearXNG (the default), a local SearXNG in Docker, your own SearXNG, Exa, Tavily |
| Page extraction | built-in HTML reader, Firecrawl, Exa, Tavily, or snippets only |
To change one part later:
drsh setup model # only the model
drsh setup search # only the web search
drsh setup scraper # only page extraction
Something off? drsh doctor checks the model, search and scraper with one
cheap request each.
What a run looks like