Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
4.1 KiB
GPT Researcher
The gpt-researcher npm package is a WebSocket client for interacting with GPT Researcher.
🔎 GPT Researcher
GPT Researcher is an open deep research agent designed for both web and local research on any given task.
The agent produces detailed, factual, and unbiased research reports with citations. GPT Researcher provides a full suite of customization options to create tailor made and domain specific research agents. Inspired by the recent Plan-and-Solve and RAG papers, GPT Researcher addresses misinformation, speed, determinism, and reliability by offering stable performance and increased speed through parallelized agent work.
Our mission is to empower individuals and organizations with accurate, unbiased, and factual information through AI.
Installation
npm install gpt-researcher
Usage
Basic Usage
const GPTResearcher = require('gpt-researcher');
const researcher = new GPTResearcher({
host: 'http://localhost:8000',
logListener: (data) => console.log('logListener logging data: ',data)
});
researcher.sendMessage({
query: 'Does providing better context reduce LLM hallucinations?'
});
Log Data Structure
The logListener function receives log data with this structure:
{
type: 'logs',
content: string, // e.g., 'added_source_url', 'researching', 'scraping_content'
output: string, // Human-readable output message
metadata: any // Additional data (URLs, counts, etc.)
}
Common log content types:
'added_source_url': New source URL added
'researching': Research status updates
'scraping_urls': Starting URL scraping
'scraping_content': Content scraping progress
'scraping_images': Image processing updates
'scraping_complete': Scraping completion
'fetching_query_content': Query processing
Parameters
task(required): The research question or task to investigatereportType(optional): Type of report to generate (default: 'research_report')reportSource(optional): Source of the report data (default: 'web')tone(optional): Tone of the reportqueryDomains(optional): Array of domain names to filter search results
Advanced usage
const researcher = new GPTResearcher({
host: 'http://localhost:8000',
logListener: (data) => console.log('Log:', data)
});
// Advanced usage with all parameters
researcher.sendMessage({
task: "What are the latest developments in AI?",
reportType: "research_report",
reportSource: "web",
queryDomains: ["techcrunch.com", "wired.com"]
});