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).
1.8 KiB
1.8 KiB
Multi-Agent System Reference
Table of Contents
Overview
Directory: multi_agents/
LangGraph-based system inspired by STORM paper. Generates 5-6 page reports with multiple agents collaborating.
Agent Roles
| Agent | File | Role |
|---|---|---|
| Human | - | Oversees and provides feedback |
| Chief Editor | agents/editor.py |
Master coordinator via LangGraph |
| Researcher | Uses GPTResearcher | Deep research on topics |
| Editor | agents/editor.py |
Plans outline and structure |
| Reviewer | agents/reviewer.py |
Validates research correctness |
| Revisor | agents/revisor.py |
Revises based on feedback |
| Writer | agents/writer.py |
Compiles final report |
| Publisher | agents/publisher.py |
Exports to PDF, DOCX, Markdown |
Workflow
1. Browser (GPTResearcher) → Initial research
2. Editor → Plans report outline
3. For each outline topic (parallel):
a. Researcher → In-depth subtopic research
b. Reviewer → Validates draft
c. Revisor → Revises until satisfactory
4. Writer → Compiles final report
5. Publisher → Exports to multiple formats
Usage
Via API
report_type = "multi_agents"
Via WebSocket
{
"task": "Research query",
"report_type": "multi_agents",
"tone": "Analytical"
}
Directly in Python
from multi_agents import run_research_task
report = await run_research_task(
query="Comprehensive analysis of market trends",
websocket=handler,
tone=Tone.Analytical,
)
Configuration File
File: multi_agents/task.json
Configure the multi-agent research task parameters and agent behaviors.