arXiv:2610.24601cs.LGOct 2026

Manuscript Offprint

arXiv:2610.24601

TCMScience: An Autonomous Scientist for Traditional Chinese Medicine

Yanlan Kang, Ruiqi Liu, Xinpei Gu, Tzu-Yi Lei, Shuai Xu, Xukun Zhang, William Cheng-Chung Chu

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.

Keywords: traditional Chinese medicine; autonomous scientific agents; scientific compiler; claim-support contracts; evidence provenance; network pharmacology.

Studio: https://science.impf.ai Code: https://github.com/IMPF-AI-Institute/TCMScience

医哲未来人工智能研究院 Institute of Medical Philosophy & Future AI

2026-10-15

1 Introduction

Scientific knowledge discovery in traditional Chinese medicine (TCM) requires reasoning across sources that answer different questions. A classical passage establishes what a text records; a chemical-composition resource associates a constituent with a medicinal source; a binding assay measures an interaction under a specified protocol; a molecular model predicts a structural or functional property; and a clinical study estimates an outcome in a defined population. Combining these records does not erase the conditions under which each was produced. The central challenge is therefore to compose useful research workflows without converting evidence from one domain into a stronger claim in another.

Existing TCM artificial-intelligence research provides essential components of this workflow. Machine-learning systems analyze diagnostic modalities [1]; knowledge graphs organize herbs, formulas, syndromes, diseases, and their relations [2]; and domain language models, including ZhongJingGPT and HuatuoGPT, support medical dialogue and reasoning [3, 4]. Graph-based retrieval systems such as OpenTCM connect these structured resources to natural-language interaction [5]. These advances make relevant knowledge more accessible, while leaving the validity of a composed scientific inference as a distinct problem.

Scientific agents extend language models from answering questions to acting on them. Coscientist and ChemCrow combine planning with chemical tools [6, 7]; The AI Scientist and Co-Scientist develop research and hypothesis-generation workflows [8, 9]; and Biomni coordinates biomedical tools, data, and executable analysis [10]. As these capabilities expand, a technically successful tool call and a scientifically supported conclusion must remain separate objects. Correct execution of a docking program does not establish a therapeutic effect. Accurate retrieval of a paper does not authorize extending its result to an unstudied population.

Network pharmacology makes this distinction particularly consequential. It links formula constituents, targets, and pathways to generate mechanistic hypotheses [11, 12], but enrichment depends on the sampled proteins, annotation density, inactive records, and multiple-testing procedure [13–15]. A research agent can produce a fluent mechanism narrative even when the apparent signal is attributable to the assay background. The failure occurs at the boundary between computation and interpretation, where additional retrieval alone cannot supply the missing inferential justification.

TCMScience addresses this boundary through a governed execution architecture (Figure 1). The language model proposes a scientific program; a compiler checks its types, effects, and evidence requirements; a trusted kernel authorizes execution; and the release path verifies the resulting claims. Domain knowledge enters through typed entities and contracts, including medicinal identity, processing state, formula composition, exposure, and source independence. These checks make TCM-specific scientific errors inspectable and actionable within the same runtime that executes the analysis.

The report makes three contributions. First, it specifies the separation of generative reasoning, computational authority, and scientific release as explicit architectural interfaces. Second, it formalizes evidence support using typed claim obligations and provenance-bearing inference paths, distinguishing serial dependencies from alternative support and contextual citations. Third, it demonstrates the consequences of these controls through a source-backed network-pharmacology analysis and a layer-wise and gate-wise regression ablation. The emphasis is on the scientific decisions changed by the architecture.

References (23)