Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

deep-research-client

Latest version: v0.2.16

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
PyPI package Publisher: cmungall, jharrycaufield
3 Versions
36.7K Downloads

Scan summary

deep-research-client was last scanned on 23 Nov 2026 at version 0.2.16. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions; the latest 2 were published within 7 days (17–23 Nov 2026).
  • Findings: No rules fired in version 0.2.16.
  • Downloads: 36,693 downloads.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.2.16 LATEST 23 Nov 2026 No rules fired
0.2.15 17 Nov 2026 1 rule fired
0.2.14 15 Nov 2026 No rules fired

No rules fired in 0.2.16

Findings

Findings for v0.2.16. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.2.16; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

deep-research-client

A simple Python wrapper for multiple deep research tools including OpenAI Deep Research, Edison Scientific (formerly FutureHouse Falcon), Asta scientific corpus retrieval, Perplexity AI, Consensus Academic Search, Cyberian agent-based research, OpenScientist autonomous research, Claude Code, Claude Managed Agents, Google Antigravity, and Biomni (biomedical co-scientist), plus retrieval of ToxIndex Sage (chemical safety) conversations.

Features

  • 🔍 Multiple Providers: Support for OpenAI Deep Research, Edison Scientific, Asta, Perplexity AI, Consensus, Cyberian (agent-based), OpenScientist (autonomous), Claude Code (local CLI), Claude Managed Agents (hosted sandbox), Google Antigravity (local CLI), and Biomni (biomedical co-scientist)
  • 📚 Rich Output: Returns comprehensive markdown reports with citations
  • 💾 Smart Caching: File-based caching to avoid expensive re-queries
  • 🔧 Simple Configuration: Auto-detects providers from environment variables
  • 📝 Library + CLI: Use as a Python library or command-line tool
  • 📋 Advanced Templates: Support for both simple f-string and powerful Jinja2 templates
  • ✅ Reference Validation: Resolve every cited PMID, DOI, PMC and GEO identifier, check quoted claims against the source, and flag references that resolve but look off topic
  • 🏷️ Ontology Term Validation: Resolve every cited CURIE and check it against the label the report gave it, catching the real term that means something else entirely
  • 🧩 Claim Extraction, Grounding, Alignment & Verification: Decompose a report or curated file into atomic, source-anchored claims (claims extract); ground their entities to ontology CURIEs via OAK plus a model (claims ground, needs the terms extra); align one source's claims against another's and classify each pair on two axes — how the propositions relate (identical, subsumes, close, contradictory, …) and how their evidence relates (observation vs attribution vs background knowledge) — with report-level rubric metrics (claims align); then verify a set — flagging what needs human review (unsupported claims, contradictions framed as consensus, logical conflicts) and optionally resolving citations to catch fabricated ones (claims verify). See docs/how-to/align-claims.md, docs/how-to/ground-claims.md and docs/how-to/verify-claims.md
  • 🔁 Opt-in Provider Fallback: Let another provider take over when one is out of credits or unconfigured, with the provider that actually produced the report recorded on it
  • 🏗️ Extensible: Easy to add new research providers

Installation

# Install with pip
pip install deep-research-client

# Or use uvx to run directly without installation
uvx deep-research-client research "What is CRISPR?"

# Or add to a uv project
uv add deep-research-client

# Reference validation (checks cited identifiers exist and quotes are real) is
# part of the base install and runs on every research call.

# With ontology terms: asked for and checked only when you pass --ontology-config
pip install "deep-research-client[terms]"

# With the Edison Scientific (Falcon) provider; its SDK brings LiteLLM, so it is
# not part of the base install. `[falcon]` is an alias for the same extra.
pip install "deep-research-client[edison]"

# For development (the edison extra is needed for mypy and the Edison tests)
git clone <repo-url>
cd deep-research-client
just install  # uv sync --group dev --extra edison

Quick Start

Set up API Keys
# For OpenAI Deep Research
export OPENAI_API_KEY="your-openai-key"

# For Edison Scientific (formerly FutureHouse Falcon) - requires the edison extra
pip install "deep-research-client[edison]"
export EDISON_API_KEY="your-edison-key"

# For Asta retrieval
export ASTA_API_KEY="your-asta-key"

# For Perplexity AI
export PERPLEXITY_API_KEY="your-perplexity-key"

# For Consensus AI (requires application approval)
export CONSENSUS_API_KEY="your-consensus-key"

# For OpenScientist (autonomous research agent) - see setup guide below
export OPENSCIENTIST_API_KEY="name:secret"
# Optional: custom instance URL (defaults to https://www.openscientist.io)
export OPENSCIENTIST_URL="https://www.openscientist.io"

# For Cyberian (agent-based research) - requires cyberian installation
pip install deep-research-client[cyberian]
# Cyberian uses your local AI agents (Claude, etc.) - no separate API key needed

# For Claude Code - just install the `claude` CLI and have it authenticated.
# Auto-detected when `claude` is on PATH; no separate API key needed.
# Set DISABLE_CLAUDE_CODE_PROVIDER=true to opt out of auto-detection.

# For Claude Managed Agents (a coordinator, retriever and writer team in an Anthropic-hosted sandbox)
export ANTHROPIC_API_KEY="sk-ant-..."

# For Google Antigravity - install the `agy` CLI and authenticate it once.
# Auto-detected when `agy` is on PATH; no separate API key needed.
# Set DISABLE_ANTIGRAVITY_PROVIDER=true to opt out of auto-detection.

# For Biomni (biomedical co-scientist), first provision an upstream Biomni
# conda environment: https://github.com/snap-stanford/Biomni/tree/main/biomni_env
# Then, inside that environment, install the client and its core Python runtime:
pip install deep-research-client[biomni]
# Biomni runs a local agent that executes code against a ~11GB data lake and
# drives its own LLM (set e.g. ANTHROPIC_API_KEY). The extra does not provision
# Biomni's external R, CLI, or bioinformatics toolchain.
# Run only in a trusted/sandboxed environment; set DISABLE_BIOMNI_PROVIDER=true to opt out.

# For RSS Agent (digest of recent papers via https://github.com/jcthrash/rss_agent_claude):
# clone it, install its requirements in its own venv, and build its library index.
export RSS_AGENT_DIR="/path/to/rss_agent_claude"
export RSS_AGENT_PYTHON="/path/to/rss_agent_claude/venv/bin/python"
# Claude scoring uses ANTHROPIC_API_KEY (or the checkout's .env).

# For ToolUniverse (local co-scientist with scientific tools and Python execution):
uv add 'deep-research-client[tooluniverse]'
export TOOLUNIVERSE_API_KEY="your-llm-key"  # falls back to OPENAI_API_KEY
# Optional OpenAI-compatible endpoint:
# export TOOLUNIVERSE_BASE_URL="https://your-server.example/v1"
# Set DISABLE_TOOLUNIVERSE_PROVIDER=true to opt out of auto-detection.

# For ToxIndex Sage (chemical safety / toxicology). A stub for research:
# ToxIndex has no API route that submits a question yet, so the key only
# verifies itself (`providers --check`) and retrieves finished conversations.
export TOXINDEX_API_KEY="your-toxindex-key"

Note: the Asta provider is retrieval-only and does not consume prompts verbatim. Markdown-heavy or template-style inputs are pre-processed into plain text before submission, and long inputs are truncated to the configured query_char_limit (500 characters by default).

Command Line Usage
# Basic research query
deep-research-client research "What is CRISPR gene editing?"

# Run without installation using uvx
uvx deep-research-client research "What is CRISPR gene editing?"

# Use specific provider and model
deep-research-client research "Explain quantum computing" --provider perplexity --model sonar-pro

# Save to file (citations included by default)
deep-research-client research "Machine learning trends 2024" --output report.md

# Retrieve an existing Edison trajectory by ID
deep-research-client edison-trajectory 784d73d5-da42-402e-9701-6c5b44beab14 --output edison-report.md

# Retrieve a finished ToxIndex Sage conversation by ID
deep-research-client toxindex-conversation 6c906ccf-a1e9-4dc7-820f-5d4626155e9f --output tox-report.md

# Summarize what an agent did, from its saved transcripts
deep-research-client transcript-stats run_artifacts/provenance/

# Save citations to separate file
deep-research-client research "AI trends 2024" --output report.md --separate-citations

# Use simple template with variables (f-string style)
deep-research-client research --template gene_research.md --var "gene=TP53" --var "organism=human"

# Load the query text directly from a Markdown/text file
deep-research-client research --input-file prompts/topic.md

# Allow a long-running provider more time. What the timeout limits differs per
# provider (Perplexity: gap between streamed chunks; Edison: the whole task);
# see "Timeouts" in docs/reference/providers.md
deep-research-client research "Statin myopathy mechanisms" --provider perplexity \
  --model sonar-deep-research --timeout 1200

# Use advanced Jinja2 template with conditionals
deep-research-client research --template gene_advanced.md.j2 \
  --var "gene=BRCA1" \
  --var "organism=human" \
  --var "detail_level=high"

# List available providers
deep-research-client providers

# Ask each configured provider whether it can actually take work.
# "Configured" only means a key is set; this probes reachability and
# exits non-zero if any provider cannot run. "OK (capacity unverified)"
# means the key works but the probe cannot see whether credits are left.
deep-research-client providers --check
deep-research-client providers --check --provider falcon

# List available models (with costs, speeds, and capabilities)
deep-research-client models
deep-research-client models --provider perplexity --detailed

# Cache management
deep-research-client list-cache   # Show cached files
deep-research-client clear-cache  # Remove all cache

# Cited identifiers and quotes are checked by default (--no-validate-references to skip)
deep-research-client research "Statins and myopathy" --output report.md
deep-research-client validate-references report.md --fail-on-unresolved

# Ask for ontology terms from your chosen ontologies, and check them (needs the `terms` extra)
deep-research-client research "Marfan syndrome surveillance" --output report.md --ontology-config ontologies.yaml
deep-research-client validate-terms report.md --ontology-config ontologies.yaml --fail-on-unresolved

You can provide the research question directly as a positional argument, read it from a file with --input-file, or generate it from a template (--template). These modes are mutually exclusive to keep intent clear.

Reference Validation

Deep research tools confabulate citations. By default, every PMID, DOI, PMC accession and GEO accession in a report is resolved against PubMed, Crossref, DataCite and Entrez, and any quote written as "quoted text" (PMID:12345678) is checked against the title, abstract and full text of that reference.

Resolving is not the same as being relevant, so each resolved record is also weighed against the report's own vocabulary - which catches the citation that is real, quotable and about an entirely different subject:

from deep_research_client import DeepResearchClient, ReferenceValidator

result = DeepResearchClient().research("Statins and myopathy risk")
report = ReferenceValidator(email="you@example.org").validate_result(result)

print(report.confabulation_rate)          # fraction of citations that do not resolve
print(report.confabulated_references)     # the identifiers that failed
print(report.unsupported_quotes)          # quotes not found in their cited source
print(report.off_topic_references)        # references that resolve but look off topic
print(report.to_markdown())               # renderable summary section

On a cold cache this adds roughly 10-25% to the wall time of a research run, and next to nothing once the reference cache is warm. If you commit the reference cache to version control, pass --validation-trust-cache (or --trust-cache to validate-references) so runs add new entries without rewriting the committed ones. See the Validate References guide for details and timings.

Ontology Term Validation

An ontology identifier that does not exist is the easy case. The hard case is the one that does: NCIT:C16814 is a real NCIT term, so every check that asks whether a term exists passes it, and it means Malaysia. A report that writes it beside "Echocardiography Test" is wrong in a way only a label lookup will show.

With the terms extra installed, every CURIE in a report is resolved through OAK, compared with the label the report wrote beside it, and checked for obsolescence:

from deep_research_client import DeepResearchClient, TermValidator

result = DeepResearchClient().research("Marfan syndrome surveillance")
report = TermValidator().validate_result(result)

print(report.confabulation_rate)     # fraction of CURIEs that do not resolve
print(report.confabulated_terms)     # identifiers no ontology contains
print(report.mislabelled_terms)      # identifiers the report names as a different term
print(report.obsolete_terms)         # real terms the ontology has since retired
print(report.to_markdown())          # renderable summary section

Labels are only read from positions where a label is the only thing the text can be - a table cell, an emphasised run, a bracket or separator right after the CURIE - so a term mentioned in prose is checked for existence but not for naming. That undercounts rather than invents. Comparison runs against every name a term carries, synonyms included, so a report calling HP:0001166 "Long fingers" rather than "Arachnodactyly" is not accused of anything. See the Validate Ontology Terms guide for the full rules, outcomes and timings.

Provider Fallback

A run can fail for reasons no retry fixes - an account out of credits, a spent plan allowance, a rejected key. --fallback lets another configured provider take the work instead:

deep-research-client research "Statins and myopathy" --provider falcon --fallback --output report.md

# Or name the order yourself
deep-research-client research "CRISPR delivery" \
  --provider falcon --fallback-provider openai --fallback-provider perplexity

It is off by default on purpose. A report records the provider that produced it, and downstream curation reads that field, so a silent switch would make those records wrong. When a fallback does happen, the report says so:

provider: openai
fell_back: true
requested_provider: falcon
provider_attempts:
- provider: falcon
  succeeded: false
  error_type: ProviderBillingError
  status_code: 402
  remedy: the account is out of credits
  retryable: false
- provider: openai
  succeeded: true

remedy is our reading of the failure, not the provider's own error text: that text can quote whatever a provider puts in a response body — including, for a rejected key, the key — and these reports get committed, so the raw version stays on the result object and in the logs. A report produced without a fallback gains none of these keys. Cache entries carry them empty, and are written before the provenance is stamped, so a cached answer can never be replayed as a fallback that never happened. Only failures meaning this provider cannot do the work are followed. A 429 or a 5xx says to wait and retry the same provider, not to switch, and an unrecognised failure is not evidence that anyone else would do better. From Python:

result = client.research("Statins and myopathy", provider="falcon", fallback=True)
result.provider            # who actually produced it
result.requested_provider  # who was asked
result.fell_back           # whether a switch happened
result.provider_attempts   # each provider tried, and why it failed

See the Choose a Provider guide for the full rules.

Python Library Usage
from deep_research_client import DeepResearchClient

# Initialize client (auto-detects providers from env vars)
client = DeepResearchClient()

# Perform research with model selection
result = client.research("What are the latest developments in AI?", provider="perplexity", model="sonar-pro")

print(result.markdown)  # Full markdown report
print(f"Provider: {result.provider}")
print(f"Model: {result.model}")
print(f"Duration: {result.duration_seconds:.2f}s")
print(f"Citations: {len(result.citations)}")
print(f"Cached: {result.cached}")
Advanced Configuration

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases deep-research-client

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Frame 2085668439 (1)
Group 1261154229