TCMScience: An Autonomous Scientist for Traditional Chinese Medicine
Organizations: Institute of Medical Philosophy & Future AI (IMPF-AI) · Shanghai Medical College, Fudan University · Guangdong Provincial Key Laboratory of New Drug Screening and Guangdong–Hong Kong–Macao Joint Laboratory for New Drug Screening, School of Pharmaceutical Sciences, Southern Medical University · Department of Computer Science, Tunghai University, Taichung, Taiwan ·
Abstract
Traditional Chinese medicine (TCM) research connects classical texts, medicinal entities, molecular assays, computational predictions, and clinical studies. An autonomous research agent must preserve the inferential boundaries between these evidence types while coordinating analysis across heterogeneous resources. We introduce TCMScience, a scientific knowledge-discovery agent that separates language-model proposals from execution and release authority. Its architecture combines a trusted kernel, a scientific compiler, and claim-support contracts: plans are compiled into typed operations, execution is bounded by explicit permissions, and candidate findings are checked against source provenance, study design, and claim scope before release. The full capability registry contains 117 public-source connectors with 444 typed operations across 29 domains and 150 native tools across 12 domains; the TCM data hub catalogs 136 databases, 76 dataset specifications, and 84,294 formula-source records. These resources support model-independent workflows through browser and local execution interfaces. In a network-pharmacology analysis of Gegen Qinlian Tang, replacing the whole-proteome background with the assayed-protein background changed the number of significant pathways from 66 to zero; incorporating inactive screening records identified nine pathways, including drug-metabolism signals retained as mechanistic hypotheses. A governance ablation over 121 constructed erroneous outputs spanning 26 classes released 121 errors without governance, 57 with the domain layer, seven with the kernel, and zero with both layers. All 10 compliant controls were retained. These results establish complementary control of known failure modes and show how explicit evidence contracts change the conclusions an agent is permitted to report.
Figures & tables
| Claim kind | Relevant evidence | Required boundary |
|---|---|---|
| Textual attribution | Located classical passage or source record | Preserve wording, edition, locator, and attribution; do not infer a measured treatment effect. |
| Traditional use | Documented historical or practice source | Retain the traditional indication, formula identity, preparation, and source context. |
| Mechanistic hypothesis | Docking, target prediction, network analysis, or exploratory preclinical evidence | Label the conclusion as a hypothesis and preserve computational or experimental conditions. |
| Experimental mechanism | Relevant in-vitro or animal experiment | Match biological system, intervention, concentration, outcome, and causal design; do not transfer directly to patients. |
| Human association or effect | Appropriately designed human study | Match population, intervention, comparator, endpoint, and study design; retain uncertainty and bias assessment. |
| Safety finding | Explicitly measured and reported safety outcome | Name the event, observation window, and population; an unmeasured outcome remains unknown. |
| Registry object | Count | Counting unit |
|---|---|---|
| Public-source connectors | 117 | Registered source connectors in the general capability plane. |
| Typed operations | 444 / 29 domains | Declared source operations with typed inputs and outputs. |
| Native analytical tools | 150 / 12 domains | Registered computational tool implementations. |
| TCM database catalog | 136 | Source resources with access and provenance metadata. |
| TCM dataset specifications | 76 | Dataset acquisition or integration specifications. |
| Formula-source records | 84,294 | Source-retaining formula entries, including variants. |
| Resource | Data role | Preserved interpretation |
|---|---|---|
| NPASS, CMAUP, LOTUS | Natural-product occurrence, composition, and available activity records | Separate medicinal occurrence, constituent identity, and assay-derived activity. |
| BindingDB, PubChem BioAssay | Binding measurements or screening outcomes | Retain assay IDs, units, qualifiers, target identity, active/inactive status, and assay conditions. |
| UniProt reference mapping | Reviewed human protein identity | Map to unique primary accessions; retain unresolved or excluded mappings in quality-control counts. |
| STRING | Protein association network | Preserve association confidence; an association edge does not establish direct binding or causal direction. |
| Reactome | Protein-to-pathway membership | Retain pathway version, annotation provenance, and the declared enrichment background. |
| Open Targets | Target–disease associations | Keep genetic, literature, and other evidence channels distinct, with channel-specific thresholds. |
| Representative Chinese request | Executable obligation and English interpretation |
|---|---|
| \zh 区分葛根芩连汤成分的实测靶点与预测靶点。 | Separate measured targets from predicted targets; preserve source records, study design, and relation type. |
| \zh 请确认“ \zh 姜” \zh 对应的中药实体。 | Resolve “jiang” to a canonical medicinal entity; request disambiguation when fresh and dried ginger remain possible. |
| \zh 解释通路富集的背景集与阴性记录。 | Identify the enrichment background, retain inactive assay outcomes, and state the multiple-testing procedure. |
| \zh 用英文总结,但保留原始名称和出处。 | Translate the explanation while preserving original entity names, source locators, units, and validated claim scope. |
| Analysis specification | Result | Permitted interpretation |
|---|---|---|
| Potency hits; whole annotation background | 12,155 background proteins; 66/1,684 pathways significant | Background-sensitive enrichment requiring assay-coverage control. |
| Potency hits; assayed-protein background | 391 background proteins; 0/959 pathways significant | No pathway passes the prespecified procedure; no positive mechanism claim released. |
| Active/inactive screening; constituents per protein | 472 proteins; 51,304 tests; 9/468 pathways significant | Screening-derived hypotheses, including drug-metabolism signals. |
| T2DM genetic-association channel | Overlap 9; fold 0.97; | No detected enrichment under this disease-evidence definition. |
| T2DM literature co-mention channel | Overlap 57; fold 5.26; | Literature-defined overlap with potential shared-source and study-selection dependence. |
| Configuration | Errors released | 95% CI (%) | False refusals |
|---|---|---|---|
| No governance | 121/121 (100.00%) | 97.00–100.00 | 0/10 |
| Domain layer only | 57/121 (47.11%) | 37.97–56.39 | 0/10 |
| Kernel only | 7/121 (5.79%) | 2.36–11.56 | 0/10 |
| Full stack | 0/121 (0.00%) | 0.00–3.00 | 0/10 |
| Gate removed | Additional releases | Failure exposed |
|---|---|---|
| Output validation | 42 | Wording–claim drift, altered direction or dose, and unsupported citations or quotations. |
| Evidence-ingest verification | 10 | Records modified after signing. |
| Domain claim contract | 6 | Duplicate evidence, medicinal identity, exposure transfer, and an unmeasured outcome treated as absent. |
| Snapshot-path release check | 1 | A claimed direction unsupported by the cited relation path. |
| Claim-kind licensing | 0 | Its tested errors were also rejected by remaining gates. |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Symbol | Meaning and domain |
|---|---|
| Indicator: one when the stated condition holds, zero otherwise. | |
| ; | Requested operation; intersection of the host, project, run, and skill action sets. |
| , , | Candidate claim, execution run, and governing policy. |
| ; | Evidence record; finite set of all records cited for , with supporting, contextual, or opposing roles. |
| ; | Family of admissible candidate supporting sets; a nonempty member containing only records offered as support. |
| Boolean verification of record identity, integrity, and source binding. |
| Channel / background | ||||||
|---|---|---|---|---|---|---|
| Genetic / Reactome | 12,155 | 478 | 237 | 9 | 0.97 | 0.59 |
| Literature / Reactome | 12,155 | 556 | 237 | 57 | 5.26 | |
| Genetic / assayed | 391 | 14 | 237 | 9 | 1.06 | 0.50 |
| Configuration / event | Count | Two-sided 95% interval |
|---|---|---|
| No governance / erroneous release | 121/121 | 97.00–100.00 |
| Domain layer / erroneous release | 57/121 | 37.97–56.39 |
| Kernel / erroneous release | 7/121 | 2.36–11.56 |
| Full stack / erroneous release | 0/121 | 0.00–3.00 |
| Any configuration / false refusal | 0/10 | 0.00–30.85 |
AI Agents for Scientific Discovery
AI agents for scientific discovery use language models, tools, and experiments to generate, test, and refine scientific knowledge.
See all 270 papers