Hanzo Science · Universal Research Operating System
The AI platform for research, discovery, and engineering.
Turn questions into investigations, ideas into experiments, and experimental results into the next breakthrough. Hanzo Science brings AI agents, scientific models, data, computation, and research tools together in one environment.
Home· Programs & Graph· Experiments· Evidence & Data· Optimization· Review· Compute· Governance
Reduce high-cardinality multiple-choice inference latency in Kai by 35% while preserving numerical equivalence, calibration (ECE <= 0.012), and stability.
Enso (orchestration) · Zen (reasoning) · Kai (policy gate)
7/7 verification dimensions passed · Approved by @QA + Systems Lead
Prioritize selective metabolic target modulators with zero LillyMol demerits and quantify Week-72 longitudinal efficacy across biomarker subgroups.
Enso (orchestration) · Zen (synthesis) · Kai (clinical gate)
7/7 verification dimensions passed · Biostatistician sign-off recorded
Couple OpenMDAO aerothermal-structural optimization across regeneratively cooled nozzle channels while bounding wall heat flux and modal flutter.
Enso (MDO DAG) · Zen (PDE critique) · Kai (safety margin gate)
7/7 verification dimensions passed · Energy & mass conservation verified
Compare candidate solid-state materials under defined performance constraints: Li+ migration barrier <= 0.25 eV and dynamical stability across an 8×8×8 phonon q-mesh.
Enso (campaign) · Zen (physics critique) · Kai (synthesis gate)
7/7 verification dimensions passed · 0 imaginary modes beyond ASR tolerance
Optimize 2nm accelerator NoC router microarchitecture for area and static timing slack at SS 0.72V 125°C with zero credit-return deadlocks.
Enso (sweep) · Zen (RTL analysis) · Kai (tapeout gate)
7/7 verification dimensions passed · Formal verification + Lead Architect sign-off
Scientific and engineering breakthroughs are slowed by the gaps between literature, data, code, simulators, instruments, compute clusters, and peer review. Hanzo Science unifies the six-stage research loop so every hypothesis, simulation, figure, and decision stays linked to the exact code, container digest, and evidence that produced it.
Ingest papers, patents, ELN/LIMS entries, astronomical catalogs, and prior negative findings with direct DOI/PMID/arXiv provenance.
Branch competing hypotheses in a research graph, define baselines, controls, simulation matrices, and pre-registered acceptance thresholds.
Dispatch reproducible containers, live Hanzo Notebook kernels, OpenMDAO / Phonopy solvers, targets + crew DAGs, and Slurm/cloud GPU sweeps.
Audit statistical validity, conservation laws, numerical equivalence, cycle hysteresis, calibration error, and assertion-level source support.
Maximize validated information gained per unit of compute using Bayesian optimization, active learning, and Pareto frontier search.
Compile LaTeX manuscripts, CDISC ADaM/rtables TLFs, qualified model cards, and RO-Crate / W3C PROV-O lineage bundles.
Generate new questions, develop theories, investigate unexpected observations, and branch into competing explanations when there is no predetermined optimization target.
Example: What new attention or state-space architectures might overcome long-context efficiency limitations, or which cellular mechanisms drive resistance in a cohort?
First-class support for mathematical proofs (Lean 4), theoretical modeling, systematic literature synthesis, observational studies, and exploratory simulations.
Optimize a defined outcome, compare candidate designs, test a specific hypothesis, and solve a concrete engineering or clinical problem under resource bounds.
Example: Reduce Kai high-cardinality inference latency by 35% while preserving numerical equivalence and calibration, or maximize rocket nozzle Isp within wall thermal limits.
First-class support for controlled ablations, multi-objective Pareto sweeps, OpenMDAO multidisciplinary design optimization, and release qualification gates.
AI laboratories, pharmaceutical, semiconductor, aerospace, energy, materials, automotive, and industrial companies.
Unify fragmented tools, private data lakes, HPC clusters, and cross-functional review gates under one governed research operating system.
Academic laboratories, national user facilities, observatories, research hospitals, and government science agencies.
Connect shared supercomputers, telescope/beamline pipelines, multi-institution datasets, and FAIR / RO-Crate reproducibility.
Principal investigators, computational scientists, startup founders, and small R&D teams.
Spin up specialist scientific agents, live notebooks, domain simulators, and elastic GPU compute without enterprise DevOps overhead.
New model architectures, training methods, agent systems, scaling laws, evaluations
Algorithms, compilers, distributed systems, programming languages, formal verification
Conjectures, Lean 4 formal proofs, symbolic computation, numerical analysis
Mathematical modeling, lattice/field simulations, theory comparison, conservation checks
Astronomical data analysis, stellar modeling, cosmological N-body rollouts, Bayesian inference
Aerodynamics, orbital analysis, thermal modeling, structural FEA, OpenMDAO design optimization
Computational fluid dynamics (CFD), finite-element analysis, thermal systems, structural design
Circuit design, SPICE simulation, RF/signal processing, feedback control systems
RTL microarchitecture exploration, device TCAD simulation, OpenROAD STA, formal SVA verification
Embodied AI, physics simulation, sensor fusion, trajectory control, reinforcement learning
Crystal structures, electronic properties, 8×8×8 q-mesh DFPT phonon stability, candidate screening
Molecular properties, reaction modeling, homogeneous/heterogeneous catalysts, quantum chemistry
Genomics, proteomics, single-cell atlases (Scanpy/scVI), cellular systems, computational evolution
Target investigation, LillyMol iwdemerit/trxn SAR screening, OpenMM ΔΔG, experimental planning
Longitudinal MMRM (mmrm/brms.mmrm), trial simulation (rfacts), CDISC ADaM (admiral/rtables)
Neural spike/field recordings, connectome modeling, computational neuroscience, biological networks
Solid-state batteries, fusion plasma equilibrium, photovoltaic materials, power-grid optimization
Geophysics, planetary geology, atmospheric dynamics, ERA5/CMIP6 spectral climate models
Plant biology, quantitative genetics, crop trait selection, agro-environmental modeling
Manufacturing processes, reliability engineering, physics-informed digital twins, design of experiments
Inspect figures, click directly on plot annotations to refine the underlying Python/R script, switch between physics, fluid PDE, chemistry, Lean 4 proof, and clinical R&D artifacts, and audit the execution log.
cell-type family●neuron●muscle●immune●ciliated●germline●stem/progenitor
Write a literature review on cross-species single-cell RNA-seq integration. Pull the primary methods papers and recent benchmarks. Output the report as a LaTeX doc and a compiled PDF.
Ran 4 searches, loaded 2 skills, managed environments, +2 more10 steps
Dispatching five parallel literature-retrieval tracks — PubMed primary methods, bioRxiv preprints, OpenAlex citation counts, CELLxGENE multi-species atlas inventory, and orthology-free embedding methods.
Dispatching PubMed bioRxiv OpenAlex CELLxGENE sub-agents142 lines of output
WarnPMID 31178118 assigned to both LIGER and Seurat v3 integration in the plan
In the generate_plan PubMed delegation step the agent writes “LIGER (31178118), Seurat v3 integration (31178118)” — the same PMID for two distinct primary methods papers. The same plan’s OpenAlex step assigns them different DOIs (Seurat v3 10.1016/j.cell.2019.05.031, LIGER 10.1016/j.cell.2019.05.006), so the plan is internally inconsistent and at least one PMID is wrong. None of the PMIDs or DOIs in msg[10] trace to any in-window tool output — no PubMed/CrossRef/OpenAlex lookup has run (exec-log rows 04449b53, 57baea0a, 254f1378 are the two skill kernel.py auto-loads and the env-filter bash; msg[4] tool_results are skill-catalog listings only).
The agent reads these findings and self-corrects in its next message.
Retrieved primary records and verified assertion-level support before LaTeX compilation: Stuart et al. (Seurat v3) matched to PMID 31178118 / DOI 10.1016/j.cell.2019.05.031; Welch et al. (LIGER) matched to PMID 31178122 / DOI 10.1016/j.cell.2019.05.006.
⇄ all 5 agents done✓ Reviewing
Dispatching the 8-arm scVI sweep to lab_cluster A100s — n_latent ∈ {10, 20, 30, 50} × n_layers ∈ {1, 2}, 40k cells × 2,000 HVGs, batch_key="sample_id", 50 epochs, seed 0.
Env: scvi-tools 1.1.2 · scanpy 1.10.1 · PyTorch 2.3.0+cu121 · 8× A100-80GB (2.08 GPU-hrs)
Baseline (unintegrated PCA / Harmony): cLISI 0.89, iLISI 0.61 → Arm #6 (d=30, L=2): ELBO -412.8, cLISI 0.94, iLISI 0.88
| arm | n_latent | n_layers | label |
|---|---|---|---|
| 1 | 10 | 1 | d=10 L=1 · scVI COVID-PBMC (1/8) |
| 2 | 10 | 2 | d=10 L=2 · scVI COVID-PBMC (2/8) |
| 3 | 20 | 1 | d=20 L=1 · scVI COVID-PBMC (3/8) |
| 4 | 20 | 2 | d=20 L=2 · scVI COVID-PBMC (4/8) |
| 5 | 30 | 1 | d=30 L=1 · scVI COVID-PBMC (5/8) |
| 6 | 30 | 2 | d=30 L=2 · scVI COVID-PBMC (6/8) |
| 7 | 50 | 1 | d=50 L=1 · scVI COVID-PBMC (7/8) |
| 8 | 50 | 2 | d=50 L=2 · scVI COVID-PBMC (8/8) |
lab_cluster · d=10 L=1 · scVI CO...16m 2s
lab_cluster · d=10 L=2 · scVI CO...15m 42s
lab_cluster · d=20 L=1 · scVI CO...15m 19s
lab_cluster · d=20 L=2 · scVI CO...14m 58s
lab_cluster · d=30 L=1 · scVI CO...14m 36s
lab_cluster · d=30 L=2 · scVI CO...14m 16s
Crystal lattice vibrational modes, turbulent vorticity rollout, and Lean 4 regularity bounds
Γ → X → M → Γ (8×8×8 q-mesh)14.8 THz · Fd-3m (Si · 2×2×2 supercell)
ASR enforced at Γ (|ω_ASR| < 0.03 THz) · 0 imaginary modes within DFPT toleranceSpectral FNO-3D · Re = 10⁵k⁻⁵/³ inertial range · Triply periodic T³ (512³)
Energy conservation ΔE/E₀ < 1.2e-4Sobolev Hˢ regularity lemma18 tactic goals closed · Lean 4 · Mathlib4
Verified by kernel typechecker (0 sorry)[28] python
import pandas as pd
pd.set_option('mode.string_storage', 'python')
import numpy as np, scanpy as sc, anndata as ad, scipy.sparse as sp
a = sc.read_h5ad("covid_pbmc_40k_hvg.h5ad")
print("loaded:", a.shape, "uns keys:", list(a.uns.keys()))
# minimal, version-portable object: counts + obs + var only
keep_obs = ["sample_id", "donor_id", "Site", "initial_clustering",
"author_cell_type", "disease", "Status",
"Status_on_day_collection_summary", "cell_type"]
keep_obs = [c for c in keep_obs if c in a.obs.columns]
obs = a.obs[keep_obs].copy()
for c in obs.columns:
obs[c] = pd.Index(np.asarray(obs[c], dtype=object))
obs.index = pd.Index(np.asarray(obs.index, dtype=object))
var = pd.DataFrame(index=pd.Index(np.asarray(a.var_names, dtype=object)))
clean = ad.AnnData(
X=sp.csr_matrix(a.layers["counts"]),
obs=obs, var=var,
)
clean.layers["counts"] = clean.X.copy()
clean.write_h5ad("covid_pbmc_40k_hvg.h5ad")
print(f"rewritten: {os.path.getsize('covid_pbmc_40k_hvg.h5ad')/1e6:.1f} MB")> outputwrote covid_pbmc_40k_hvg.h5adPython — liver-pipeline kernelShared state active
>>> clean.shape(40000, 2000)
>>> list(clean.obs.columns[:4])['sample_id', 'donor_id', 'Site', 'initial_clustering']
Literature synthesis compiled from PubMed, bioRxiv, OpenAlex and CELLxGENE Discover
Comparative single-cell transcriptomics asks whether a cell type in one species has a homolog in another, and how its expression program has been conserved or rewired. The technical obstacle is that any two species’ transcriptomes live in different gene coordinate systems.
L(θ, φ) = E_q[log p_θ(x | z, s)] - D_KL(q_φ(z | x, s) || p(z)) (1)
M_ij = ⟨x_i, H y_j⟩ / (||x_i|| ||H y_j||) (2)
SAMap [10] replaced the hard ortholog filter with a soft, BLAST-derived gene-homology weight matrix H and iteratively refined it against cell-level manifold alignment. SATURN [11] and UCE [12] replace H entirely with ESM2 protein-language-model embeddings in a shared 1,280-dimensional protein space.
Seurat v3 [1] (PMID 31178118) finds canonical-correlation vectors u, v maximising corr(u^T X, v^T Y) over shared-ortholog matrices, while LIGER [2] (PMID 31178122) factorises each dataset via integrative NMF X_k ≈ (W + V_k) H_k.
Inputsfig4_atlas_callouts.csvfig4_atlas_centroids_m138ea.csv
54
55 apply_nature_style()
56 mpl.rcParams['savefig.bbox'] = None
57 mpl.rcParams['font.sans-serif'] = ['Arial']
58 mpl.rcParams['font.family'] = 'sans-serif'
59
60 centroids = pd.read_csv("fig4_atlas_centroids_m138ea.csv")
61 boxes_df = pd.read_csv("fig4_atlas_inset_boxes.csv")
62 callouts = pd.read_csv("fig4_atlas_callouts.csv")
63
64 HERO = {"neuron":"steelblue","muscle":"olive","immune":"forestgreen",
65 "ciliated":"darkturquoise","germline":"orchid","stem/progenitor":"peru"}
66 PHYL_PAL2 = {"Ctenophora":"saddlebrown","Porifera":"slateblue","Placozoa":"darkslategray",
67 "Xenacoelomorpha":"cadetblue","Chaetognatha":"darkslateblue",
68 "Ambulacraria":"teal","Cephalochordata":"dimgray"}
69 TAG_ROMAN = {'a':'i','b':'ii','c':'iii'}
70 INSET_NAMES = {'a':'ciliated cells','b':'striated muscle','c':'immune'}
71 ITALIC_SPLIT = {'Xenoturbella ciliated':('Xenoturbella',' ciliated'),
72 'C. elegans body-wall muscle':('C. elegans',' body-wall muscle')}
73 TAG_COL = 'black'
74 halo = [pe.withStroke(linewidth=2.2, foreground='white')]
75 halo_thin = [pe.withStroke(linewidth=2.0, foreground='white')]
76
77 inset_info = {}
78 for _, row in boxes_df.iterrows():
79 tag = row.tag; fam = row.family; x0, y0, w, h = row.x0, row.y0, row.w, row.h
80 inbox = centroids[(centroids.umap_x >= x0) & (centroids.umap_x <= x0 + w)]
81 target = inbox[inbox.family == fam]
82 tx0, tx1 = target.umap_x.min(), target.umap_x.max(); ty0, ty1 = target.umap_y.min(), target.umap_y.max()
83 mx, my = 0.05 * (tx1 - tx0), 0.05 * (ty1 - ty0)
84 inset_info[tag] = dict(fam=fam, xlim=(tx0 - mx, tx1 + mx), ylim=(ty0 - my, ty1 + my),
85 n_types=row.n_types, n_species=row.n_species)54
55 apply_nature_style(despine=True, grid=False)
56 mpl.rcParams['savefig.bbox'] = 'tight'
57 mpl.rcParams['font.sans-serif'] = ['Arial']
58 mpl.rcParams['font.family'] = 'sans-serif'
59
60 centroids = pd.read_csv("fig4_atlas_centroids_m138ea.csv")
61 boxes_df = pd.read_csv("fig4_atlas_inset_boxes.csv")
62 callouts = pd.read_csv("fig4_atlas_callouts.csv")
63
64 # v3 revision: increased label contrast & stroke halo per pin #1 feedback
65 halo = [pe.withStroke(linewidth=3.4, foreground='white')]
66 halo_thin = [pe.withStroke(linewidth=2.8, foreground='white')]
67 label_fontsize = 9.5
68
69 TAG_ROMAN = {'a':'i','b':'ii','c':'iii'}
70 INSET_NAMES = {'a':'ciliated cells','b':'striated muscle','c':'immune'}
71 for _, row in boxes_df.iterrows():
72 tag = row.tag; fam = row.family; x0, y0, w, h = row.x0, row.y0, row.w, row.h
73 inbox = centroids[(centroids.umap_x >= x0) & (centroids.umap_x <= x0 + w)]
74 target = inbox[inbox.family == fam]
75 ax.text(target.umap_x.mean(), target.umap_y.mean(), fam,
76 fontsize=label_fontsize, weight='bold', path_effects=halo)[20:10:02] Loaded fig4_atlas_centroids_m138ea.csv (5,672 cell-type centroids across 138 species)
[20:10:03] Loaded fig4_atlas_callouts.csv (14 highlighted lineages) & fig4_atlas_inset_boxes.csv (3 bounding regions)
[20:10:04] Rendered main UMAP + 3 inset panels (i ciliated cells, ii striated muscle, iii immune) → samosa_fig1a.png (300 DPI)
[revision] v1 → v2: Removed background gridlines and converted axis to log scale.
Researcher pin #1 on muscle cluster: “these labels are hard to see”
Agent response: Updated `halo` stroke width from 2.2pt to 3.4pt, despined inset axes, and regenerated `samosa_fig1a.png` cleanly from the underlying CSV inputs.
python==3.11.9 · matplotlib==3.9.2 · pandas==2.2.3 · scanpy==1.10.3 · anndata==0.10.9
Container digest: sha256:8f4e2c91a0d3... · Reproducible seed: 0 · Connected to Hanzo Notebook (`liver-pipeline`)
✓ Reviewer audit passed (0 discrepancies)
• All 5,672 points in `samosa_fig1a.png` trace directly to `fig4_atlas_centroids_m138ea.csv` without manual coordinates.
• Inset bounding boxes `i`, `ii`, `iii` match `fig4_atlas_inset_boxes.csv` limits with 5% padding (`mx, my = 0.05 * (tx1 - tx0)`).
arXiv, OpenAlex & CrossrefLiterature
Citation graphs, DOI resolution, and full-text LaTeX/PDF ingestion across physics, math, CS, and biology.Materials Project & PhonopyPhysics & Materials
Crystal lattices, DFT formation energies, elastic tensors, and ab-initio phonon dispersion bands.Spectral PDE & FNO SuiteFluid & Climate
Navier-Stokes, magnetohydrodynamics, and ERA5 global climate vorticity rollouts on GPU.Lean 4 & SymPy Proof EngineMathematics
Formal theorem proving, symbolic tensor calculus, and SMT counterexample search.LillyMol, RDKit & OpenMMChemistry & MedChem
iwdemerit 275-rule MedChem demerit screening, tsubstructure SMARTS, trxn reaction enumeration, dicer cleavage, and OpenMM ΔΔG.targets, crew & pytest-wdlPipelines & WDL
Reproducible R/Python targets pipeline DAGs, crew distributed Slurm/SSH workers, and pytest-wdl genomics/proteomics workflow testing.Clinical Biostatistics (mmrm, brms.mmrm, rfacts, TSDT)Clinical & Bayesian
Frequentist & Bayesian longitudinal MMRM, adaptive clinical trial simulation (rfacts), and treatment-specific subgroup detection trees (TSDT).pharmaverse CDISC (admiral, rtables, Tplyr)Regulatory & ADaM
Automated CDISC SDTM/ADaM dataset derivation (ADSL, ADAE, ADLB, ADTTE) and regulatory Table, Listing & Figure (TLF) generation.Proteomics & Surfaceome (Olink, BioRels, surfaltr)Proteomics
High-throughput longitudinal clinical proteomics differential abundance, transmembrane surfaceome topology (surfaltr), and BioRels schemas.PubMed & bioRxivLife Sciences
Primary biomedical literature, preprint servers, and clinical study metadata.CELLxGENE & ScanpySingle-Cell
Multi-species single-cell RNA-seq census, AnnData h5ad slices, and scVI variational manifolds.RCSB PDB & Biomolecular 3DStructure
Experimental mmCIF coordinates, co-folding confidence maps, and active-site contact geometry.Lab Cluster GPUs (SSH / Slurm)Compute
Remote SSH and Slurm array job dispatch with human approval gates and live telemetry.Hanzo Notebook Live KernelCompute
Shared persistent Python 3.11, Julia 1.11, R 4.4, and DuckDB in-memory kernel.Hanzo AI is the first full-scale research organization operating on Hanzo Science. Our teams use the same ResearchProgram graph, evaluation harnesses, and 7-dimension verification engine to design architectures, curate pretraining mixtures, quantize KV caches, optimize Kai decision latency, and qualify Enso and Zen model releases.
Architecture
Datasets
Optimization
Adaptation
Benchmarks
Efficiency
Release gates
Controlled rollout
Investigate attention mechanisms, model layers, routing structures, memory, multimodal architectures, and alternative designs.
Dataset preparation, tokenization, scaling experiments, distributed training, checkpoints, and convergence analysis.
SFT, LoRA/QLoRA, preference optimization, distillation, reinforcement learning, and hyperparameter searches.
Quantization, pruning, sparsity, speculative decoding, compilation, and model compression.
Kernel benchmarking, KV-cache optimization, batching, scheduling, graph execution, and serving performance.
Tool use, planning, memory, context management, sandbox execution, task completion, recovery, and multi-agent coordination.
Training runtimes, tensor operations, device backends, distributed execution, and numerical correctness.
Accuracy, reasoning, calibration, stability, safety, regression, latency, throughput, and cost.
Corpus discovery, quality filtering, synthetic data, labeling, contamination checks, and dataset versioning.
GPU/CPU profiling, allocation, networking, storage, compiler performance, and infrastructure economics.
Hypothesis generation, controlled experiments, ablations, statistical comparisons, and next-experiment recommendations.
Benchmark evidence, reproducibility, release gates, regression analysis, model cards, and rollback readiness.
Read profiling traces, relevant source code, existing benchmarks, hardware characteristics, and previous experimental findings.
Evaluate microbatching, caching, vectorization, memory-layout changes, FP8 KV-cache quantization, and speculative tree routing.
Create isolated branches, test implementations, reference comparisons, and reproducible benchmark configurations.
Use the coding harness and available GPU compute to build, test, profile, and measure candidate changes under equivalent conditions.
Compare p50/p95/p99 latency distributions, throughput, memory usage, numerical equivalence, calibration (ECE), and regressions.
Present the best supported result, code diff, test results, risks, and release requirements. Request approval before merging or deploying.
Final artifacts: Experiment report · Benchmark dataset · Source-code diff · Execution logs · Reproducible container · Release recommendation
Hanzo Science is the common research orchestration and evidence layer connecting training, code harnesses, inference engines, and team approvals.
Instead of building separate silos for each discipline, Hanzo Science represents every investigation as a typed ResearchProgram / ScienceWorkload object orchestrated by Enso, reasoned over by Zen, and governed by Kai—with native export to CWL, RO-Crate, and W3C PROV-O.
Ideas, evidence, literature & hypotheses
Ingest primary literature, patents, datasets, and anomalies; formulate branching questions and competing hypotheses.
Training, simulation, computation & tests
Execute controlled experiments across Hanzo ML, Engine, Sandboxes, OpenMDAO, Phonopy, LillyMol, OpenMM, and Lean 4.
Search, comparisons & resource allocation
Maximize Research Value = (validated information or progress gained) / (resources consumed) via Bayesian and Pareto search.
Findings, artifacts, provenance & collaboration
Link every finding (including negative results) to its exact run, dataset, environment, and RO-Crate / W3C PROV-O record.
A finding is traceable to a specific analysis, run, dataset, method, environment, and hypothesis. Later results can contradict earlier findings without erasing historical provenance.
interface ResearchProgram {
id: string;
organization_id: string;
domain: string;
title: string;
questions: ResearchQuestion[];
hypotheses: Hypothesis[];
methods: ResearchMethod[];
evidence: EvidenceRecord[];
experiments: Experiment[];
runs: ExecutionRun[];
observations: Observation[];
findings: ResearchFinding[];
decisions: ResearchDecision[];
artifacts: ArtifactReference[];
provenance: ProvenanceGraph; // RO-Crate + W3C PROV-O
compute_budget: ResourceBudget;
approval_policy: ApprovalPolicy;
collaborators: ResearchCollaborator[];
status: ResearchStatus;
}POST /v1/science/programs
POST /v1/science/questions
POST /v1/science/hypotheses
POST /v1/science/experiments
POST /v1/science/experiments/{id}/runs
GET /v1/science/runs/{id}/metrics
POST /v1/science/experiments/{id}/compare
POST /v1/science/decisions
GET /v1/science/artifacts/{id}/provenance
POST /v1/science/reviewsStep through multi-discipline simulation and formal verification pipelines, dispatch GPU parameter sweeps alongside a shared live Hanzo Notebook kernel, and audit primary literature against NCBI E-utilities and Crossref before compiling LaTeX manuscripts.
Run Hanzo AI Lab quantization, KV-cache routing, and calibration sweeps on Hanzo Science while auditing ECE and tail latency.
Step 01 script
program = ScienceWorkload.load("prog_ai_kai_latency.yaml")
harness = EvaluationHarness(dataset="kai_policy_eval_120k.parquet", seed=2026)Step 02 script
runs = enso.dispatch_sweep(
model="kai-1.1",
arms={"kv_dtype": ["fp8_e4m3", "bf16"], "tree_depth": [2, 3, 4]},
gpus=8,
)Step 03 script
assert runs.best.ece <= 0.012 and runs.best.policy_f1 >= baseline.policy_f1
runs.best.export_ro_crate("kai_1_1_release_qualification.ro-crate.json")Screen candidate solid-state materials, evaluate forces on an 8×8×8 q-mesh, and verify acoustic sum rule (ASR) stability before synthesis.
Step 01 script
atoms = read("candidate_lattice.cif")
phonon = Phonopy(atoms, supercell_matrix=[[2,0,0],[0,2,0],[0,0,2]])
phonon.generate_displacements(distance=0.01)Step 02 script
forces = evaluate_forces(phonon.supercells_with_displacements, device="cuda")
phonon.produce_force_constants(forces=forces)
phonon.symmetrize_force_constants(use_asr=True)
phonon.run_mesh([8, 8, 8])Step 03 script
qpoints, weights, freqs, _ = phonon.get_mesh_dict().values()
assert np.min(freqs) >= -0.03 # ASR tolerance at Gamma
export_figure("phonon_dispersion_8x8x8.pdf", freqs, dpi=300)Explore accelerator NoC router microarchitectures, run OpenROAD synthesis timing closure, and verify deadlock freedom.
Step 01 script
grid = {"vc_depth": [2, 4, 8], "flit_width": [256, 512], "arbiter": ["matrix", "rr"]}
rtl_builds = verilator.elaborate_sweep("noc_router.sv", grid)Step 02 script
ppa = openroad.run_sta_and_power(rtl_builds, corner="ss_0p72v_125c")
frontier = ppa.pareto_front(minimize=["area_um2", "power_mw"], maximize=["fmax_ghz"])Step 03 script
proof = sby.verify_properties("noc_credit_liveness.sby", engine="smtbmc")
assert proof.status == "PASS" and proof.counterexamples == 0Run spectral PDE and neural operator rollouts over multi-terabyte climate and fluid grids while auditing energy conservation.
Step 01 script
ds = xr.open_zarr("cluster://vorticity_512cube.zarr")
omega_0 = torch.as_tensor(ds["vorticity"].isel(time=0).values, device="cuda")Step 02 script
sweep = dispatch_cluster_sweep(
script="spectral_rollout.py",
params={"reynolds": [1e4, 5e4, 1e5]},
gpus=8,
)Step 03 script
ax.loglog(k_bins, E_k, lw=2.2, label="512³ rollout")
ax.loglog(k_ref, 1.58 * k_ref**(-5/3), "--", label="k^(-5/3)")Enumerate analogs with trxn, screen 275 MedChem rules with LillyMol iwdemerit, co-fold 3D poses, and rank leads by OpenMM ΔΔG.
Step 01 script
analogs = lillymol.trxn_enumerate(scaffold_rxn, building_blocks)
clean_series = [m for m in analogs if lillymol.iwdemerit(m) == 0]Step 02 script
pose = cofold_complex(target_fasta, clean_series[0], seed=42)
contacts = interaction_fingerprint(pose, cutoff=3.8)Step 03 script
fep = run_fep_network(clean_series[:12], n_lambda=16)
assert fep.max_cycle_hysteresis_kcal < 0.45Decompose theorems into sub-lemmas, test symbolic bounds in SymPy, and verify every proof step in the Lean 4 kernel.
Step 01 script
s, d, p, q = sp.symbols("s d p q", positive=True)
theta = sp.simplify((1/q - 1/p) / (s/d + 1/q - 1/2))Step 02 script
lemma energy_bound (u : SobolevH1Zero Ω) (h : div u = 0) :
‖∇ u‖_L2 ^ 2 ≤ C * ‖Δ u‖_HMinus1 * ‖u‖_H1 := by
exact poincare_trace_zero u hStep 03 script
#guard_msgs in
#print axioms global_regularity_bound
-- Standard axioms only · 0 sorryIntegrate 5,672 cell types across 138 species in a shared live kernel and refine publication figures in-line.
Step 01 script
adata = sc.read_h5ad("cross_species_atlas_138sp.h5ad", backed="r")
print(adata.shape, adata.obs["species"].nunique())Step 02 script
scvi.model.SCVI.setup_anndata(clean, layer="counts", batch_key="sample_id")
model = scvi.model.SCVI(clean, n_latent=30, n_layers=2)Step 03 script
halo = [pe.withStroke(linewidth=3.4, foreground="white")]
ax.text(tx, ty, label, fontsize=9.5, weight="bold", path_effects=halo)Verify WDL proteomics pipelines with pytest-wdl, dispatch targets + crew Slurm DAGs for brms.mmrm & rfacts, and compile admiral CDISC tables.
Step 01 script
pytest_wdl.run_workflow("longitudinal_proteomics.wdl", inputs="cohort_w72.json")
topo = surfaltr.compare_topologies(uniprot_ids, db="biorels")Step 02 script
tar_option_set(controller = crew_controller_slurm(workers = 16))
fit <- brm_mmrm(CHG ~ AVISIT * TRT01P + BASE, data = adlb, chains = 4)Step 03 script
adlb <- derive_param_computed(adlb_raw, by_vars = exprs(USUBJID, AVISIT))
tlf <- build_table(lyt_mmrm, df = adlb) # synced to #clinical-biostatsDispatch multi-arm GPU sweeps with full software version, hardware, seed, and baseline tracking while inspecting live variables in memory.
cell-type family●neuron●muscle●immune●ciliated●germline●stem/progenitor
Write a literature review on cross-species single-cell RNA-seq integration. Pull the primary methods papers and recent benchmarks. Output the report as a LaTeX doc and a compiled PDF.
Ran 4 searches, loaded 2 skills, managed environments, +2 more10 steps
Dispatching five parallel literature-retrieval tracks — PubMed primary methods, bioRxiv preprints, OpenAlex citation counts, CELLxGENE multi-species atlas inventory, and orthology-free embedding methods.
Dispatching PubMed bioRxiv OpenAlex CELLxGENE sub-agents142 lines of output
WarnPMID 31178118 assigned to both LIGER and Seurat v3 integration in the plan
In the generate_plan PubMed delegation step the agent writes “LIGER (31178118), Seurat v3 integration (31178118)” — the same PMID for two distinct primary methods papers. The same plan’s OpenAlex step assigns them different DOIs (Seurat v3 10.1016/j.cell.2019.05.031, LIGER 10.1016/j.cell.2019.05.006), so the plan is internally inconsistent and at least one PMID is wrong. None of the PMIDs or DOIs in msg[10] trace to any in-window tool output — no PubMed/CrossRef/OpenAlex lookup has run (exec-log rows 04449b53, 57baea0a, 254f1378 are the two skill kernel.py auto-loads and the env-filter bash; msg[4] tool_results are skill-catalog listings only).
The agent reads these findings and self-corrects in its next message.
Retrieved primary records and verified assertion-level support before LaTeX compilation: Stuart et al. (Seurat v3) matched to PMID 31178118 / DOI 10.1016/j.cell.2019.05.031; Welch et al. (LIGER) matched to PMID 31178122 / DOI 10.1016/j.cell.2019.05.006.
⇄ all 5 agents done✓ Reviewing
Dispatching the 8-arm scVI sweep to lab_cluster A100s — n_latent ∈ {10, 20, 30, 50} × n_layers ∈ {1, 2}, 40k cells × 2,000 HVGs, batch_key="sample_id", 50 epochs, seed 0.
Env: scvi-tools 1.1.2 · scanpy 1.10.1 · PyTorch 2.3.0+cu121 · 8× A100-80GB (2.08 GPU-hrs)
Baseline (unintegrated PCA / Harmony): cLISI 0.89, iLISI 0.61 → Arm #6 (d=30, L=2): ELBO -412.8, cLISI 0.94, iLISI 0.88
| arm | n_latent | n_layers | label |
|---|---|---|---|
| 1 | 10 | 1 | d=10 L=1 · scVI COVID-PBMC (1/8) |
| 2 | 10 | 2 | d=10 L=2 · scVI COVID-PBMC (2/8) |
| 3 | 20 | 1 | d=20 L=1 · scVI COVID-PBMC (3/8) |
| 4 | 20 | 2 | d=20 L=2 · scVI COVID-PBMC (4/8) |
| 5 | 30 | 1 | d=30 L=1 · scVI COVID-PBMC (5/8) |
| 6 | 30 | 2 | d=30 L=2 · scVI COVID-PBMC (6/8) |
| 7 | 50 | 1 | d=50 L=1 · scVI COVID-PBMC (7/8) |
| 8 | 50 | 2 | d=50 L=2 · scVI COVID-PBMC (8/8) |
lab_cluster · d=10 L=1 · scVI CO...16m 2s
lab_cluster · d=10 L=2 · scVI CO...15m 42s
lab_cluster · d=20 L=1 · scVI CO...15m 19s
lab_cluster · d=20 L=2 · scVI CO...14m 58s
lab_cluster · d=30 L=1 · scVI CO...14m 36s
lab_cluster · d=30 L=2 · scVI CO...14m 16s
Crystal lattice vibrational modes, turbulent vorticity rollout, and Lean 4 regularity bounds
Γ → X → M → Γ (8×8×8 q-mesh)14.8 THz · Fd-3m (Si · 2×2×2 supercell)
ASR enforced at Γ (|ω_ASR| < 0.03 THz) · 0 imaginary modes within DFPT toleranceSpectral FNO-3D · Re = 10⁵k⁻⁵/³ inertial range · Triply periodic T³ (512³)
Energy conservation ΔE/E₀ < 1.2e-4Sobolev Hˢ regularity lemma18 tactic goals closed · Lean 4 · Mathlib4
Verified by kernel typechecker (0 sorry)[28] python
import pandas as pd
pd.set_option('mode.string_storage', 'python')
import numpy as np, scanpy as sc, anndata as ad, scipy.sparse as sp
a = sc.read_h5ad("covid_pbmc_40k_hvg.h5ad")
print("loaded:", a.shape, "uns keys:", list(a.uns.keys()))
# minimal, version-portable object: counts + obs + var only
keep_obs = ["sample_id", "donor_id", "Site", "initial_clustering",
"author_cell_type", "disease", "Status",
"Status_on_day_collection_summary", "cell_type"]
keep_obs = [c for c in keep_obs if c in a.obs.columns]
obs = a.obs[keep_obs].copy()
for c in obs.columns:
obs[c] = pd.Index(np.asarray(obs[c], dtype=object))
obs.index = pd.Index(np.asarray(obs.index, dtype=object))
var = pd.DataFrame(index=pd.Index(np.asarray(a.var_names, dtype=object)))
clean = ad.AnnData(
X=sp.csr_matrix(a.layers["counts"]),
obs=obs, var=var,
)
clean.layers["counts"] = clean.X.copy()
clean.write_h5ad("covid_pbmc_40k_hvg.h5ad")
print(f"rewritten: {os.path.getsize('covid_pbmc_40k_hvg.h5ad')/1e6:.1f} MB")> outputwrote covid_pbmc_40k_hvg.h5adPython — liver-pipeline kernelShared state active
>>> clean.shape(40000, 2000)
>>> list(clean.obs.columns[:4])['sample_id', 'donor_id', 'Site', 'initial_clustering']
Literature synthesis compiled from PubMed, bioRxiv, OpenAlex and CELLxGENE Discover
Comparative single-cell transcriptomics asks whether a cell type in one species has a homolog in another, and how its expression program has been conserved or rewired. The technical obstacle is that any two species’ transcriptomes live in different gene coordinate systems.
L(θ, φ) = E_q[log p_θ(x | z, s)] - D_KL(q_φ(z | x, s) || p(z)) (1)
M_ij = ⟨x_i, H y_j⟩ / (||x_i|| ||H y_j||) (2)
SAMap [10] replaced the hard ortholog filter with a soft, BLAST-derived gene-homology weight matrix H and iteratively refined it against cell-level manifold alignment. SATURN [11] and UCE [12] replace H entirely with ESM2 protein-language-model embeddings in a shared 1,280-dimensional protein space.
Seurat v3 [1] (PMID 31178118) finds canonical-correlation vectors u, v maximising corr(u^T X, v^T Y) over shared-ortholog matrices, while LIGER [2] (PMID 31178122) factorises each dataset via integrative NMF X_k ≈ (W + V_k) H_k.
Inputsfig4_atlas_callouts.csvfig4_atlas_centroids_m138ea.csv
54
55 apply_nature_style()
56 mpl.rcParams['savefig.bbox'] = None
57 mpl.rcParams['font.sans-serif'] = ['Arial']
58 mpl.rcParams['font.family'] = 'sans-serif'
59
60 centroids = pd.read_csv("fig4_atlas_centroids_m138ea.csv")
61 boxes_df = pd.read_csv("fig4_atlas_inset_boxes.csv")
62 callouts = pd.read_csv("fig4_atlas_callouts.csv")
63
64 HERO = {"neuron":"steelblue","muscle":"olive","immune":"forestgreen",
65 "ciliated":"darkturquoise","germline":"orchid","stem/progenitor":"peru"}
66 PHYL_PAL2 = {"Ctenophora":"saddlebrown","Porifera":"slateblue","Placozoa":"darkslategray",
67 "Xenacoelomorpha":"cadetblue","Chaetognatha":"darkslateblue",
68 "Ambulacraria":"teal","Cephalochordata":"dimgray"}
69 TAG_ROMAN = {'a':'i','b':'ii','c':'iii'}
70 INSET_NAMES = {'a':'ciliated cells','b':'striated muscle','c':'immune'}
71 ITALIC_SPLIT = {'Xenoturbella ciliated':('Xenoturbella',' ciliated'),
72 'C. elegans body-wall muscle':('C. elegans',' body-wall muscle')}
73 TAG_COL = 'black'
74 halo = [pe.withStroke(linewidth=2.2, foreground='white')]
75 halo_thin = [pe.withStroke(linewidth=2.0, foreground='white')]
76
77 inset_info = {}
78 for _, row in boxes_df.iterrows():
79 tag = row.tag; fam = row.family; x0, y0, w, h = row.x0, row.y0, row.w, row.h
80 inbox = centroids[(centroids.umap_x >= x0) & (centroids.umap_x <= x0 + w)]
81 target = inbox[inbox.family == fam]
82 tx0, tx1 = target.umap_x.min(), target.umap_x.max(); ty0, ty1 = target.umap_y.min(), target.umap_y.max()
83 mx, my = 0.05 * (tx1 - tx0), 0.05 * (ty1 - ty0)
84 inset_info[tag] = dict(fam=fam, xlim=(tx0 - mx, tx1 + mx), ylim=(ty0 - my, ty1 + my),
85 n_types=row.n_types, n_species=row.n_species)54
55 apply_nature_style(despine=True, grid=False)
56 mpl.rcParams['savefig.bbox'] = 'tight'
57 mpl.rcParams['font.sans-serif'] = ['Arial']
58 mpl.rcParams['font.family'] = 'sans-serif'
59
60 centroids = pd.read_csv("fig4_atlas_centroids_m138ea.csv")
61 boxes_df = pd.read_csv("fig4_atlas_inset_boxes.csv")
62 callouts = pd.read_csv("fig4_atlas_callouts.csv")
63
64 # v3 revision: increased label contrast & stroke halo per pin #1 feedback
65 halo = [pe.withStroke(linewidth=3.4, foreground='white')]
66 halo_thin = [pe.withStroke(linewidth=2.8, foreground='white')]
67 label_fontsize = 9.5
68
69 TAG_ROMAN = {'a':'i','b':'ii','c':'iii'}
70 INSET_NAMES = {'a':'ciliated cells','b':'striated muscle','c':'immune'}
71 for _, row in boxes_df.iterrows():
72 tag = row.tag; fam = row.family; x0, y0, w, h = row.x0, row.y0, row.w, row.h
73 inbox = centroids[(centroids.umap_x >= x0) & (centroids.umap_x <= x0 + w)]
74 target = inbox[inbox.family == fam]
75 ax.text(target.umap_x.mean(), target.umap_y.mean(), fam,
76 fontsize=label_fontsize, weight='bold', path_effects=halo)[20:10:02] Loaded fig4_atlas_centroids_m138ea.csv (5,672 cell-type centroids across 138 species)
[20:10:03] Loaded fig4_atlas_callouts.csv (14 highlighted lineages) & fig4_atlas_inset_boxes.csv (3 bounding regions)
[20:10:04] Rendered main UMAP + 3 inset panels (i ciliated cells, ii striated muscle, iii immune) → samosa_fig1a.png (300 DPI)
[revision] v1 → v2: Removed background gridlines and converted axis to log scale.
Researcher pin #1 on muscle cluster: “these labels are hard to see”
Agent response: Updated `halo` stroke width from 2.2pt to 3.4pt, despined inset axes, and regenerated `samosa_fig1a.png` cleanly from the underlying CSV inputs.
python==3.11.9 · matplotlib==3.9.2 · pandas==2.2.3 · scanpy==1.10.3 · anndata==0.10.9
Container digest: sha256:8f4e2c91a0d3... · Reproducible seed: 0 · Connected to Hanzo Notebook (`liver-pipeline`)
✓ Reviewer audit passed (0 discrepancies)
• All 5,672 points in `samosa_fig1a.png` trace directly to `fig4_atlas_centroids_m138ea.csv` without manual coordinates.
• Inset bounding boxes `i`, `ii`, `iii` match `fig4_atlas_inset_boxes.csv` limits with 5% padding (`mx, my = 0.05 * (tx1 - tx0)`).
arXiv, OpenAlex & CrossrefLiterature
Citation graphs, DOI resolution, and full-text LaTeX/PDF ingestion across physics, math, CS, and biology.Materials Project & PhonopyPhysics & Materials
Crystal lattices, DFT formation energies, elastic tensors, and ab-initio phonon dispersion bands.Spectral PDE & FNO SuiteFluid & Climate
Navier-Stokes, magnetohydrodynamics, and ERA5 global climate vorticity rollouts on GPU.Lean 4 & SymPy Proof EngineMathematics
Formal theorem proving, symbolic tensor calculus, and SMT counterexample search.LillyMol, RDKit & OpenMMChemistry & MedChem
iwdemerit 275-rule MedChem demerit screening, tsubstructure SMARTS, trxn reaction enumeration, dicer cleavage, and OpenMM ΔΔG.targets, crew & pytest-wdlPipelines & WDL
Reproducible R/Python targets pipeline DAGs, crew distributed Slurm/SSH workers, and pytest-wdl genomics/proteomics workflow testing.Clinical Biostatistics (mmrm, brms.mmrm, rfacts, TSDT)Clinical & Bayesian
Frequentist & Bayesian longitudinal MMRM, adaptive clinical trial simulation (rfacts), and treatment-specific subgroup detection trees (TSDT).pharmaverse CDISC (admiral, rtables, Tplyr)Regulatory & ADaM
Automated CDISC SDTM/ADaM dataset derivation (ADSL, ADAE, ADLB, ADTTE) and regulatory Table, Listing & Figure (TLF) generation.Proteomics & Surfaceome (Olink, BioRels, surfaltr)Proteomics
High-throughput longitudinal clinical proteomics differential abundance, transmembrane surfaceome topology (surfaltr), and BioRels schemas.PubMed & bioRxivLife Sciences
Primary biomedical literature, preprint servers, and clinical study metadata.CELLxGENE & ScanpySingle-Cell
Multi-species single-cell RNA-seq census, AnnData h5ad slices, and scVI variational manifolds.RCSB PDB & Biomolecular 3DStructure
Experimental mmCIF coordinates, co-folding confidence maps, and active-site contact geometry.Lab Cluster GPUs (SSH / Slurm)Compute
Remote SSH and Slurm array job dispatch with human approval gates and live telemetry.Hanzo Notebook Live KernelCompute
Shared persistent Python 3.11, Julia 1.11, R 4.4, and DuckDB in-memory kernel.Rather than trusting unverified model prose, the Reviewer agent queries NCBI E-utilities, Crossref, OpenAlex, and arXiv directly and verifies claim-level table support before compiling the PDF.
cell-type family●neuron●muscle●immune●ciliated●germline●stem/progenitor
Write a literature review on cross-species single-cell RNA-seq integration. Pull the primary methods papers and recent benchmarks. Output the report as a LaTeX doc and a compiled PDF.
Ran 4 searches, loaded 2 skills, managed environments, +2 more10 steps
Dispatching five parallel literature-retrieval tracks — PubMed primary methods, bioRxiv preprints, OpenAlex citation counts, CELLxGENE multi-species atlas inventory, and orthology-free embedding methods.
Dispatching PubMed bioRxiv OpenAlex CELLxGENE sub-agents142 lines of output
WarnPMID 31178118 assigned to both LIGER and Seurat v3 integration in the plan
In the generate_plan PubMed delegation step the agent writes “LIGER (31178118), Seurat v3 integration (31178118)” — the same PMID for two distinct primary methods papers. The same plan’s OpenAlex step assigns them different DOIs (Seurat v3 10.1016/j.cell.2019.05.031, LIGER 10.1016/j.cell.2019.05.006), so the plan is internally inconsistent and at least one PMID is wrong. None of the PMIDs or DOIs in msg[10] trace to any in-window tool output — no PubMed/CrossRef/OpenAlex lookup has run (exec-log rows 04449b53, 57baea0a, 254f1378 are the two skill kernel.py auto-loads and the env-filter bash; msg[4] tool_results are skill-catalog listings only).
The agent reads these findings and self-corrects in its next message.
Retrieved primary records and verified assertion-level support before LaTeX compilation: Stuart et al. (Seurat v3) matched to PMID 31178118 / DOI 10.1016/j.cell.2019.05.031; Welch et al. (LIGER) matched to PMID 31178122 / DOI 10.1016/j.cell.2019.05.006.
⇄ all 5 agents done✓ Reviewing
Dispatching the 8-arm scVI sweep to lab_cluster A100s — n_latent ∈ {10, 20, 30, 50} × n_layers ∈ {1, 2}, 40k cells × 2,000 HVGs, batch_key="sample_id", 50 epochs, seed 0.
Env: scvi-tools 1.1.2 · scanpy 1.10.1 · PyTorch 2.3.0+cu121 · 8× A100-80GB (2.08 GPU-hrs)
Baseline (unintegrated PCA / Harmony): cLISI 0.89, iLISI 0.61 → Arm #6 (d=30, L=2): ELBO -412.8, cLISI 0.94, iLISI 0.88
| arm | n_latent | n_layers | label |
|---|---|---|---|
| 1 | 10 | 1 | d=10 L=1 · scVI COVID-PBMC (1/8) |
| 2 | 10 | 2 | d=10 L=2 · scVI COVID-PBMC (2/8) |
| 3 | 20 | 1 | d=20 L=1 · scVI COVID-PBMC (3/8) |
| 4 | 20 | 2 | d=20 L=2 · scVI COVID-PBMC (4/8) |
| 5 | 30 | 1 | d=30 L=1 · scVI COVID-PBMC (5/8) |
| 6 | 30 | 2 | d=30 L=2 · scVI COVID-PBMC (6/8) |
| 7 | 50 | 1 | d=50 L=1 · scVI COVID-PBMC (7/8) |
| 8 | 50 | 2 | d=50 L=2 · scVI COVID-PBMC (8/8) |
lab_cluster · d=10 L=1 · scVI CO...16m 2s
lab_cluster · d=10 L=2 · scVI CO...15m 42s
lab_cluster · d=20 L=1 · scVI CO...15m 19s
lab_cluster · d=20 L=2 · scVI CO...14m 58s
lab_cluster · d=30 L=1 · scVI CO...14m 36s
lab_cluster · d=30 L=2 · scVI CO...14m 16s
Crystal lattice vibrational modes, turbulent vorticity rollout, and Lean 4 regularity bounds
Γ → X → M → Γ (8×8×8 q-mesh)14.8 THz · Fd-3m (Si · 2×2×2 supercell)
ASR enforced at Γ (|ω_ASR| < 0.03 THz) · 0 imaginary modes within DFPT toleranceSpectral FNO-3D · Re = 10⁵k⁻⁵/³ inertial range · Triply periodic T³ (512³)
Energy conservation ΔE/E₀ < 1.2e-4Sobolev Hˢ regularity lemma18 tactic goals closed · Lean 4 · Mathlib4
Verified by kernel typechecker (0 sorry)[28] python
import pandas as pd
pd.set_option('mode.string_storage', 'python')
import numpy as np, scanpy as sc, anndata as ad, scipy.sparse as sp
a = sc.read_h5ad("covid_pbmc_40k_hvg.h5ad")
print("loaded:", a.shape, "uns keys:", list(a.uns.keys()))
# minimal, version-portable object: counts + obs + var only
keep_obs = ["sample_id", "donor_id", "Site", "initial_clustering",
"author_cell_type", "disease", "Status",
"Status_on_day_collection_summary", "cell_type"]
keep_obs = [c for c in keep_obs if c in a.obs.columns]
obs = a.obs[keep_obs].copy()
for c in obs.columns:
obs[c] = pd.Index(np.asarray(obs[c], dtype=object))
obs.index = pd.Index(np.asarray(obs.index, dtype=object))
var = pd.DataFrame(index=pd.Index(np.asarray(a.var_names, dtype=object)))
clean = ad.AnnData(
X=sp.csr_matrix(a.layers["counts"]),
obs=obs, var=var,
)
clean.layers["counts"] = clean.X.copy()
clean.write_h5ad("covid_pbmc_40k_hvg.h5ad")
print(f"rewritten: {os.path.getsize('covid_pbmc_40k_hvg.h5ad')/1e6:.1f} MB")> outputwrote covid_pbmc_40k_hvg.h5adPython — liver-pipeline kernelShared state active
>>> clean.shape(40000, 2000)
>>> list(clean.obs.columns[:4])['sample_id', 'donor_id', 'Site', 'initial_clustering']
Literature synthesis compiled from PubMed, bioRxiv, OpenAlex and CELLxGENE Discover
Comparative single-cell transcriptomics asks whether a cell type in one species has a homolog in another, and how its expression program has been conserved or rewired. The technical obstacle is that any two species’ transcriptomes live in different gene coordinate systems.
L(θ, φ) = E_q[log p_θ(x | z, s)] - D_KL(q_φ(z | x, s) || p(z)) (1)
M_ij = ⟨x_i, H y_j⟩ / (||x_i|| ||H y_j||) (2)
SAMap [10] replaced the hard ortholog filter with a soft, BLAST-derived gene-homology weight matrix H and iteratively refined it against cell-level manifold alignment. SATURN [11] and UCE [12] replace H entirely with ESM2 protein-language-model embeddings in a shared 1,280-dimensional protein space.
Seurat v3 [1] (PMID 31178118) finds canonical-correlation vectors u, v maximising corr(u^T X, v^T Y) over shared-ortholog matrices, while LIGER [2] (PMID 31178122) factorises each dataset via integrative NMF X_k ≈ (W + V_k) H_k.
Inputsfig4_atlas_callouts.csvfig4_atlas_centroids_m138ea.csv
54
55 apply_nature_style()
56 mpl.rcParams['savefig.bbox'] = None
57 mpl.rcParams['font.sans-serif'] = ['Arial']
58 mpl.rcParams['font.family'] = 'sans-serif'
59
60 centroids = pd.read_csv("fig4_atlas_centroids_m138ea.csv")
61 boxes_df = pd.read_csv("fig4_atlas_inset_boxes.csv")
62 callouts = pd.read_csv("fig4_atlas_callouts.csv")
63
64 HERO = {"neuron":"steelblue","muscle":"olive","immune":"forestgreen",
65 "ciliated":"darkturquoise","germline":"orchid","stem/progenitor":"peru"}
66 PHYL_PAL2 = {"Ctenophora":"saddlebrown","Porifera":"slateblue","Placozoa":"darkslategray",
67 "Xenacoelomorpha":"cadetblue","Chaetognatha":"darkslateblue",
68 "Ambulacraria":"teal","Cephalochordata":"dimgray"}
69 TAG_ROMAN = {'a':'i','b':'ii','c':'iii'}
70 INSET_NAMES = {'a':'ciliated cells','b':'striated muscle','c':'immune'}
71 ITALIC_SPLIT = {'Xenoturbella ciliated':('Xenoturbella',' ciliated'),
72 'C. elegans body-wall muscle':('C. elegans',' body-wall muscle')}
73 TAG_COL = 'black'
74 halo = [pe.withStroke(linewidth=2.2, foreground='white')]
75 halo_thin = [pe.withStroke(linewidth=2.0, foreground='white')]
76
77 inset_info = {}
78 for _, row in boxes_df.iterrows():
79 tag = row.tag; fam = row.family; x0, y0, w, h = row.x0, row.y0, row.w, row.h
80 inbox = centroids[(centroids.umap_x >= x0) & (centroids.umap_x <= x0 + w)]
81 target = inbox[inbox.family == fam]
82 tx0, tx1 = target.umap_x.min(), target.umap_x.max(); ty0, ty1 = target.umap_y.min(), target.umap_y.max()
83 mx, my = 0.05 * (tx1 - tx0), 0.05 * (ty1 - ty0)
84 inset_info[tag] = dict(fam=fam, xlim=(tx0 - mx, tx1 + mx), ylim=(ty0 - my, ty1 + my),
85 n_types=row.n_types, n_species=row.n_species)54
55 apply_nature_style(despine=True, grid=False)
56 mpl.rcParams['savefig.bbox'] = 'tight'
57 mpl.rcParams['font.sans-serif'] = ['Arial']
58 mpl.rcParams['font.family'] = 'sans-serif'
59
60 centroids = pd.read_csv("fig4_atlas_centroids_m138ea.csv")
61 boxes_df = pd.read_csv("fig4_atlas_inset_boxes.csv")
62 callouts = pd.read_csv("fig4_atlas_callouts.csv")
63
64 # v3 revision: increased label contrast & stroke halo per pin #1 feedback
65 halo = [pe.withStroke(linewidth=3.4, foreground='white')]
66 halo_thin = [pe.withStroke(linewidth=2.8, foreground='white')]
67 label_fontsize = 9.5
68
69 TAG_ROMAN = {'a':'i','b':'ii','c':'iii'}
70 INSET_NAMES = {'a':'ciliated cells','b':'striated muscle','c':'immune'}
71 for _, row in boxes_df.iterrows():
72 tag = row.tag; fam = row.family; x0, y0, w, h = row.x0, row.y0, row.w, row.h
73 inbox = centroids[(centroids.umap_x >= x0) & (centroids.umap_x <= x0 + w)]
74 target = inbox[inbox.family == fam]
75 ax.text(target.umap_x.mean(), target.umap_y.mean(), fam,
76 fontsize=label_fontsize, weight='bold', path_effects=halo)[20:10:02] Loaded fig4_atlas_centroids_m138ea.csv (5,672 cell-type centroids across 138 species)
[20:10:03] Loaded fig4_atlas_callouts.csv (14 highlighted lineages) & fig4_atlas_inset_boxes.csv (3 bounding regions)
[20:10:04] Rendered main UMAP + 3 inset panels (i ciliated cells, ii striated muscle, iii immune) → samosa_fig1a.png (300 DPI)
[revision] v1 → v2: Removed background gridlines and converted axis to log scale.
Researcher pin #1 on muscle cluster: “these labels are hard to see”
Agent response: Updated `halo` stroke width from 2.2pt to 3.4pt, despined inset axes, and regenerated `samosa_fig1a.png` cleanly from the underlying CSV inputs.
python==3.11.9 · matplotlib==3.9.2 · pandas==2.2.3 · scanpy==1.10.3 · anndata==0.10.9
Container digest: sha256:8f4e2c91a0d3... · Reproducible seed: 0 · Connected to Hanzo Notebook (`liver-pipeline`)
✓ Reviewer audit passed (0 discrepancies)
• All 5,672 points in `samosa_fig1a.png` trace directly to `fig4_atlas_centroids_m138ea.csv` without manual coordinates.
• Inset bounding boxes `i`, `ii`, `iii` match `fig4_atlas_inset_boxes.csv` limits with 5% padding (`mx, my = 0.05 * (tx1 - tx0)`).
arXiv, OpenAlex & CrossrefLiterature
Citation graphs, DOI resolution, and full-text LaTeX/PDF ingestion across physics, math, CS, and biology.Materials Project & PhonopyPhysics & Materials
Crystal lattices, DFT formation energies, elastic tensors, and ab-initio phonon dispersion bands.Spectral PDE & FNO SuiteFluid & Climate
Navier-Stokes, magnetohydrodynamics, and ERA5 global climate vorticity rollouts on GPU.Lean 4 & SymPy Proof EngineMathematics
Formal theorem proving, symbolic tensor calculus, and SMT counterexample search.LillyMol, RDKit & OpenMMChemistry & MedChem
iwdemerit 275-rule MedChem demerit screening, tsubstructure SMARTS, trxn reaction enumeration, dicer cleavage, and OpenMM ΔΔG.targets, crew & pytest-wdlPipelines & WDL
Reproducible R/Python targets pipeline DAGs, crew distributed Slurm/SSH workers, and pytest-wdl genomics/proteomics workflow testing.Clinical Biostatistics (mmrm, brms.mmrm, rfacts, TSDT)Clinical & Bayesian
Frequentist & Bayesian longitudinal MMRM, adaptive clinical trial simulation (rfacts), and treatment-specific subgroup detection trees (TSDT).pharmaverse CDISC (admiral, rtables, Tplyr)Regulatory & ADaM
Automated CDISC SDTM/ADaM dataset derivation (ADSL, ADAE, ADLB, ADTTE) and regulatory Table, Listing & Figure (TLF) generation.Proteomics & Surfaceome (Olink, BioRels, surfaltr)Proteomics
High-throughput longitudinal clinical proteomics differential abundance, transmembrane surfaceome topology (surfaltr), and BioRels schemas.PubMed & bioRxivLife Sciences
Primary biomedical literature, preprint servers, and clinical study metadata.CELLxGENE & ScanpySingle-Cell
Multi-species single-cell RNA-seq census, AnnData h5ad slices, and scVI variational manifolds.RCSB PDB & Biomolecular 3DStructure
Experimental mmCIF coordinates, co-folding confidence maps, and active-site contact geometry.Lab Cluster GPUs (SSH / Slurm)Compute
Remote SSH and Slurm array job dispatch with human approval gates and live telemetry.Hanzo Notebook Live KernelCompute
Shared persistent Python 3.11, Julia 1.11, R 4.4, and DuckDB in-memory kernel.Multi-agent orchestration (Enso), scientific reasoning (Zen), typed decision latency sweeps (Kai), and distributed PyTorch/vLLM harnesses.
SystemVerilog RTL elaboration, static timing analysis (STA), PPA Pareto sweeps, SPICE waveforms, and formal SVA verification.
Crystal structures, DFT formation energies, 8×8×8 q-mesh DFPT phonon dispersion with ASR enforcement, and machine-learned force fields.
High-energy physics datasets, ROOT trees, kinematics histograms, and particle physics literature synthesis.
Global atmospheric reanalysis Zarr tensors, ocean circulation grids, and spectral PDE conservation audits.
iwdemerit 275-rule MedChem demerit filter, tsubstructure SMARTS, trxn reaction enumeration, dicer cleavage, and OpenMM ΔΔG.
Formal theorem verification in Lean 4 kernel, tactic search, symbolic algebra, and counterexample checks.
Multi-species cell atlases, AnnData h5ad slices, and variational manifold alignment benchmarked against PCA/Harmony.
Frequentist & Bayesian longitudinal MMRM, adaptive clinical trial simulation (rfacts), and subgroup detection trees (TSDT).
Automated CDISC SDTM/ADaM dataset derivation (ADSL, ADAE, ADLB, ADTTE) and regulatory TLF tables.
Longitudinal clinical proteomics differential abundance, transmembrane surfaceome topology (surfaltr), and BioRels schemas.
Experimental 3D structures, co-folding confidence maps, and variant annotations.
Reproducible R/Python targets pipeline DAGs, crew distributed Slurm/K8s workers, and pytest-wdl workflow verification.
Portable Common Workflow Language pipelines, Research Object Crates (RO-Crate), and W3C PROV-O lineage export.
Direct NCBI E-utilities, Crossref, OpenAlex, and arXiv retrieval with independent assertion-level citation verification.
Shared Python/Julia/R/SQL kernel + scaling from local workstation to Slurm, Kubernetes, and cloud GPU nodes.
High-consequence R&D cannot rely on opaque summaries. Hanzo Science evaluates every workload across seven independent verification dimensions and four graduated autonomy modes.
Independent NCBI E-utilities, Crossref, OpenAlex, arXiv, and patent registry lookup verifying DOI, PMID, publication year, and retraction status.
Assertion-level extraction comparing the manuscript sentence against the primary source table, sample size, and experimental conditions.
Direct kernel execution check confirming zero silent NaNs, non-zero exit codes, or mismatches between figure annotations and output tensors.
Records OCI container digest, conda/lockfile hashes, random seeds, input dataset SHA-256, hardware topology, and RO-Crate bundle.
Domain-specific checks: acoustic sum rule (ASR) at Γ for phonons, cycle closure hysteresis for FEP, PCA/Harmony baselines for scVI, and STA corners for RTL.
Requires confidence/credible intervals, convergence diagnostics (Rhat, ESS), and sensitivity sweeps across key hyperparameters.
Routes synthesis nominations, clinical TLF locks, silicon tapeout checklists, and model releases to named human reviewers via Kai policy gates.
Indexes literature, notebooks, cluster jobs, and instrument outputs; flags anomalies or citation mismatches without mutating files.
Drafts code patches, figure refinements, next parameter arms, and synthesis candidates; waits for explicit scientist approval.
Runs approved CWL/WDL/targets workflows and GPU sweeps within strict compute budgets, connector allowlists, and container sandboxes.
Iterates design-execute-evaluate cycles autonomously across simulation or assay rounds, pausing at Kai policy gates for material decisions.
Research survives session restarts; runs real model, inference-engine, and harness experiments traced to exact inputs and versions.
Generates competing hypotheses, executes the same workload lifecycle across domain solvers (OpenMDAO, Phonopy, LillyMol), and produces defensible reports.
Re-evaluates approved investigations when new evidence arrives and coordinates governed collaboration across laboratories and institutions.
The goal is to increase the rate at which researchers generate reliable, validated knowledge—including well-designed negative results that rule out dead ends.
Independent researchers, postdocs & students
Full Science Workbench, shared Hanzo Notebook kernel, literature & citation verifier, RO-Crate export, and local/SSH compute attach.
Academic labs, biotech/hardware startups & R&D groups
Shared ResearchProgram graphs, hanzo.team multi-agent channels (@Sci, @Data, @Dev), Slurm/Kubernetes crew dispatch, and 7-dimension review.
Global pharmaceutical, semiconductor, aerospace, materials & industrial R&D
SSO/SAML, RBAC, connector allowlists, Kai governance gates, audit logs, GxP/CDISC, OpenMDAO & EDA domain packs, and dedicated cluster integration.
National labs, defense, sovereign & air-gapped facilities
Customer-managed VPC or on-premise supercomputer deployment, zero external data egress, local Zen/Enso/Kai weights, and custom data residency.
Research teams coordinate pretraining ablations, KV-cache quantization, and speculative decoding sweeps while auditing calibration error, regressions, and release criteria.
Enso + Zen + Kai · Reproducible evaluation harnesses
Medicinal chemistry and biostatistics groups connect 275-rule iwdemerit filtering and alchemical ΔΔG cycles with WDL proteomics and CDISC ADaM regulatory tables.
LillyMol + OpenMM + targets/crew + brms.mmrm
Hardware architects evaluate RTL parameter sweeps across process-voltage-temperature corners and verify credit-return liveness before physical synthesis.
Verilator + OpenROAD STA + SymbiYosys proofs
Materials laboratories rank candidate lattices against formation energy, ionic migration barriers, and acoustic sum rule dynamical stability prior to synthesis.
8×8×8 q-mesh + ASR at Γ + NEB diffusion barriers
Scientific review often turns on a small detail. Suppose a veterinary study reports that missed appointments fell from 12% to 9% after clinics introduced reminders. That’s a drop of three percentage points, or 25% relative to the original rate. Both figures are correct. Whether reminders caused the decline is a separate question, and the answer depends on how the study was designed.
Hanzo Science helps researchers keep those distinctions visible as they work.
Start with a question, a collection of papers, or an existing dataset. Hanzo searches the public web alongside the articles, notes, and datasets your team adds. It can find an exact phrase or related work that uses different terminology, then cite the material behind its answer.
For a team studying appointment reminders, that could mean finding papers that describe missed visits as nonattendance, pulling out how each study defined a missed visit, and identifying which studies used a comparison group. A colleague can open the cited source and check whether the studies belong in the same analysis.
Use a Hanzo sandbox to run a calculation, or a GPU machine for work that needs more compute. Keep the output alongside the question it answers. If two clinics counted cancellations differently, a researcher can rerun the comparison using a common definition and see how much the finding changes.
Hanzo also records when evidence entered the research record. When a new paper changes the team’s conclusion, researchers can revisit what they knew at the time of the original decision and identify the evidence that changed their minds.
Teams can use Hanzo Evals to compare prompts or models against the same set of expert-reviewed questions. A lab might score three things separately: whether the system found the right paper, whether the cited passage supports the claim, and whether the calculation is correct. That makes it easier to see exactly where a revised method improves the work and where it still needs expert judgment.
Bring a question your team has already answered, the sources you trusted, and the result you accepted. Run that question through Hanzo Science and have a colleague review the evidence. A useful first test is whether that colleague can explain how the team reached its conclusion and reproduce the calculation behind it.
Available in beta across Individual, Team, Enterprise, and Private deployments. Run locally or attach to your own Linux workstation, Kubernetes cluster, or HPC login node over SSH.
$ hanzo science attach --ssh lab_cluster --program prog_ai_kai_latency_v4
Discounted Team seats for universities, research hospitals, and nonprofit institutes, plus up to $30,000 in model credits and $2,000 in on-demand GPU compute for 50 open research programs.
Coordinate @Sci, @Dev, @Data, @QA, @Cyber, @Doc, and @Mana in shared channels with live notebooks, targets + crew Slurm DAGs, RO-Crate provenance, and 7-dimension Reviewer sign-off.
hanzo.team · #research · Enso + Zen + Kai + 7/7 Verified ✓
Discover → Understand → Build → Master