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).
2.9 KiB
2.9 KiB
Open Deep Research Repository Overview
Project Description
Open Deep Research is a configurable, fully open-source deep research agent that works across multiple model providers, search tools, and MCP (Model Context Protocol) servers. It enables automated research with parallel processing and comprehensive report generation.
Repository Structure
Root Directory
README.md- Comprehensive project documentation with quickstart guidepyproject.toml- Python project configuration and dependencieslanggraph.json- LangGraph configuration defining the main graph entry pointuv.lock- UV package manager lock fileLICENSE- MIT license.env.example- Environment variables template (not tracked)
Core Implementation (src/open_deep_research/)
deep_researcher.py- Main LangGraph implementation (entry point:deep_researcher)configuration.py- Configuration management and settingsstate.py- Graph state definitions and data structuresprompts.py- System prompts and prompt templatesutils.py- Utility functions and helpersfiles/- Research output and example files
Legacy Implementations (src/legacy/)
Contains two earlier research implementations:
graph.py- Plan-and-execute workflow with human-in-the-loopmulti_agent.py- Supervisor-researcher multi-agent architecturelegacy.md- Documentation for legacy implementationsCLAUDE.md- Legacy-specific Claude instructionstests/- Legacy-specific tests
Security (src/security/)
auth.py- Authentication handler for LangGraph deployment
Testing (tests/)
run_evaluate.py- Main evaluation script configured to run on deep research benchevaluators.py- Specialized evaluation functionsprompts.py- Evaluation prompts and criteriapairwise_evaluation.py- Comparative evaluation toolssupervisor_parallel_evaluation.py- Multi-threaded evaluation
Examples (examples/)
arxiv.md- ArXiv research examplepubmed.md- PubMed research exampleinference-market.md- Inference market analysis examples
Key Technologies
- LangGraph - Workflow orchestration and graph execution
- LangChain - LLM integration and tool calling
- Multiple LLM Providers - OpenAI, Anthropic, Google, Groq, DeepSeek support
- Search APIs - Tavily, OpenAI/Anthropic native search, DuckDuckGo, Exa
- MCP Servers - Model Context Protocol for extended capabilities
Development Commands
uvx langgraph dev- Start development server with LangGraph Studiopython tests/run_evaluate.py- Run comprehensive evaluationsruff check- Code lintingmypy- Type checking
Configuration
All settings configurable via:
- Environment variables (
.envfile) - Web UI in LangGraph Studio
- Direct configuration modification
Key settings include model selection, search API choice, concurrency limits, and MCP server configurations.