tooluniverse 0.1.4__py3-none-any.whl → 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- tooluniverse/__init__.py +340 -4
- tooluniverse/admetai_tool.py +84 -0
- tooluniverse/agentic_tool.py +563 -0
- tooluniverse/alphafold_tool.py +96 -0
- tooluniverse/base_tool.py +129 -6
- tooluniverse/boltz_tool.py +207 -0
- tooluniverse/chem_tool.py +192 -0
- tooluniverse/compose_scripts/__init__.py +1 -0
- tooluniverse/compose_scripts/biomarker_discovery.py +293 -0
- tooluniverse/compose_scripts/comprehensive_drug_discovery.py +186 -0
- tooluniverse/compose_scripts/drug_safety_analyzer.py +89 -0
- tooluniverse/compose_scripts/literature_tool.py +34 -0
- tooluniverse/compose_scripts/output_summarizer.py +279 -0
- tooluniverse/compose_scripts/tool_description_optimizer.py +681 -0
- tooluniverse/compose_scripts/tool_discover.py +705 -0
- tooluniverse/compose_scripts/tool_graph_composer.py +448 -0
- tooluniverse/compose_tool.py +371 -0
- tooluniverse/ctg_tool.py +1002 -0
- tooluniverse/custom_tool.py +81 -0
- tooluniverse/dailymed_tool.py +108 -0
- tooluniverse/data/admetai_tools.json +155 -0
- tooluniverse/data/agentic_tools.json +1156 -0
- tooluniverse/data/alphafold_tools.json +87 -0
- tooluniverse/data/boltz_tools.json +9 -0
- tooluniverse/data/chembl_tools.json +16 -0
- tooluniverse/data/clait_tools.json +108 -0
- tooluniverse/data/clinicaltrials_gov_tools.json +326 -0
- tooluniverse/data/compose_tools.json +202 -0
- tooluniverse/data/dailymed_tools.json +70 -0
- tooluniverse/data/dataset_tools.json +646 -0
- tooluniverse/data/disease_target_score_tools.json +712 -0
- tooluniverse/data/efo_tools.json +17 -0
- tooluniverse/data/embedding_tools.json +319 -0
- tooluniverse/data/enrichr_tools.json +31 -0
- tooluniverse/data/europe_pmc_tools.json +22 -0
- tooluniverse/data/expert_feedback_tools.json +10 -0
- tooluniverse/data/fda_drug_adverse_event_tools.json +491 -0
- tooluniverse/data/fda_drug_labeling_tools.json +544 -168
- tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py +76929 -148860
- tooluniverse/data/finder_tools.json +209 -0
- tooluniverse/data/gene_ontology_tools.json +113 -0
- tooluniverse/data/gwas_tools.json +1082 -0
- tooluniverse/data/hpa_tools.json +333 -0
- tooluniverse/data/humanbase_tools.json +47 -0
- tooluniverse/data/idmap_tools.json +74 -0
- tooluniverse/data/mcp_client_tools_example.json +113 -0
- tooluniverse/data/mcpautoloadertool_defaults.json +28 -0
- tooluniverse/data/medlineplus_tools.json +141 -0
- tooluniverse/data/monarch_tools.json +1 -1
- tooluniverse/data/openalex_tools.json +36 -0
- tooluniverse/data/opentarget_tools.json +82 -58
- tooluniverse/data/output_summarization_tools.json +101 -0
- tooluniverse/data/packages/bioinformatics_core_tools.json +1756 -0
- tooluniverse/data/packages/categorized_tools.txt +206 -0
- tooluniverse/data/packages/cheminformatics_tools.json +347 -0
- tooluniverse/data/packages/earth_sciences_tools.json +74 -0
- tooluniverse/data/packages/genomics_tools.json +776 -0
- tooluniverse/data/packages/image_processing_tools.json +38 -0
- tooluniverse/data/packages/machine_learning_tools.json +789 -0
- tooluniverse/data/packages/neuroscience_tools.json +62 -0
- tooluniverse/data/packages/original_tools.txt +0 -0
- tooluniverse/data/packages/physics_astronomy_tools.json +62 -0
- tooluniverse/data/packages/scientific_computing_tools.json +560 -0
- tooluniverse/data/packages/single_cell_tools.json +453 -0
- tooluniverse/data/packages/software_tools.json +4954 -0
- tooluniverse/data/packages/structural_biology_tools.json +396 -0
- tooluniverse/data/packages/visualization_tools.json +399 -0
- tooluniverse/data/pubchem_tools.json +215 -0
- tooluniverse/data/pubtator_tools.json +68 -0
- tooluniverse/data/rcsb_pdb_tools.json +1332 -0
- tooluniverse/data/reactome_tools.json +19 -0
- tooluniverse/data/semantic_scholar_tools.json +26 -0
- tooluniverse/data/special_tools.json +2 -25
- tooluniverse/data/tool_composition_tools.json +88 -0
- tooluniverse/data/toolfinderkeyword_defaults.json +34 -0
- tooluniverse/data/txagent_client_tools.json +9 -0
- tooluniverse/data/uniprot_tools.json +211 -0
- tooluniverse/data/url_fetch_tools.json +94 -0
- tooluniverse/data/uspto_downloader_tools.json +9 -0
- tooluniverse/data/uspto_tools.json +811 -0
- tooluniverse/data/xml_tools.json +3275 -0
- tooluniverse/dataset_tool.py +296 -0
- tooluniverse/default_config.py +165 -0
- tooluniverse/efo_tool.py +42 -0
- tooluniverse/embedding_database.py +630 -0
- tooluniverse/embedding_sync.py +396 -0
- tooluniverse/enrichr_tool.py +266 -0
- tooluniverse/europe_pmc_tool.py +52 -0
- tooluniverse/execute_function.py +1775 -95
- tooluniverse/extended_hooks.py +444 -0
- tooluniverse/gene_ontology_tool.py +194 -0
- tooluniverse/graphql_tool.py +158 -36
- tooluniverse/gwas_tool.py +358 -0
- tooluniverse/hpa_tool.py +1645 -0
- tooluniverse/humanbase_tool.py +389 -0
- tooluniverse/logging_config.py +254 -0
- tooluniverse/mcp_client_tool.py +764 -0
- tooluniverse/mcp_integration.py +413 -0
- tooluniverse/mcp_tool_registry.py +925 -0
- tooluniverse/medlineplus_tool.py +337 -0
- tooluniverse/openalex_tool.py +228 -0
- tooluniverse/openfda_adv_tool.py +283 -0
- tooluniverse/openfda_tool.py +393 -160
- tooluniverse/output_hook.py +1122 -0
- tooluniverse/package_tool.py +195 -0
- tooluniverse/pubchem_tool.py +158 -0
- tooluniverse/pubtator_tool.py +168 -0
- tooluniverse/rcsb_pdb_tool.py +38 -0
- tooluniverse/reactome_tool.py +108 -0
- tooluniverse/remote/boltz/boltz_mcp_server.py +50 -0
- tooluniverse/remote/depmap_24q2/depmap_24q2_mcp_tool.py +442 -0
- tooluniverse/remote/expert_feedback/human_expert_mcp_tools.py +2013 -0
- tooluniverse/remote/expert_feedback/simple_test.py +23 -0
- tooluniverse/remote/expert_feedback/start_web_interface.py +188 -0
- tooluniverse/remote/expert_feedback/web_only_interface.py +0 -0
- tooluniverse/remote/expert_feedback_mcp/human_expert_mcp_server.py +1611 -0
- tooluniverse/remote/expert_feedback_mcp/simple_test.py +34 -0
- tooluniverse/remote/expert_feedback_mcp/start_web_interface.py +91 -0
- tooluniverse/remote/immune_compass/compass_tool.py +327 -0
- tooluniverse/remote/pinnacle/pinnacle_tool.py +328 -0
- tooluniverse/remote/transcriptformer/transcriptformer_tool.py +586 -0
- tooluniverse/remote/uspto_downloader/uspto_downloader_mcp_server.py +61 -0
- tooluniverse/remote/uspto_downloader/uspto_downloader_tool.py +120 -0
- tooluniverse/remote_tool.py +99 -0
- tooluniverse/restful_tool.py +53 -30
- tooluniverse/scripts/generate_tool_graph.py +408 -0
- tooluniverse/scripts/visualize_tool_graph.py +829 -0
- tooluniverse/semantic_scholar_tool.py +62 -0
- tooluniverse/smcp.py +2452 -0
- tooluniverse/smcp_server.py +975 -0
- tooluniverse/test/mcp_server_test.py +0 -0
- tooluniverse/test/test_admetai_tool.py +370 -0
- tooluniverse/test/test_agentic_tool.py +129 -0
- tooluniverse/test/test_alphafold_tool.py +71 -0
- tooluniverse/test/test_chem_tool.py +37 -0
- tooluniverse/test/test_compose_lieraturereview.py +63 -0
- tooluniverse/test/test_compose_tool.py +448 -0
- tooluniverse/test/test_dailymed.py +69 -0
- tooluniverse/test/test_dataset_tool.py +200 -0
- tooluniverse/test/test_disease_target_score.py +56 -0
- tooluniverse/test/test_drugbank_filter_examples.py +179 -0
- tooluniverse/test/test_efo.py +31 -0
- tooluniverse/test/test_enrichr_tool.py +21 -0
- tooluniverse/test/test_europe_pmc_tool.py +20 -0
- tooluniverse/test/test_fda_adv.py +95 -0
- tooluniverse/test/test_fda_drug_labeling.py +91 -0
- tooluniverse/test/test_gene_ontology_tools.py +66 -0
- tooluniverse/test/test_gwas_tool.py +139 -0
- tooluniverse/test/test_hpa.py +625 -0
- tooluniverse/test/test_humanbase_tool.py +20 -0
- tooluniverse/test/test_idmap_tools.py +61 -0
- tooluniverse/test/test_mcp_server.py +211 -0
- tooluniverse/test/test_mcp_tool.py +247 -0
- tooluniverse/test/test_medlineplus.py +220 -0
- tooluniverse/test/test_openalex_tool.py +32 -0
- tooluniverse/test/test_opentargets.py +28 -0
- tooluniverse/test/test_pubchem_tool.py +116 -0
- tooluniverse/test/test_pubtator_tool.py +37 -0
- tooluniverse/test/test_rcsb_pdb_tool.py +86 -0
- tooluniverse/test/test_reactome.py +54 -0
- tooluniverse/test/test_semantic_scholar_tool.py +24 -0
- tooluniverse/test/test_software_tools.py +147 -0
- tooluniverse/test/test_tool_description_optimizer.py +49 -0
- tooluniverse/test/test_tool_finder.py +26 -0
- tooluniverse/test/test_tool_finder_llm.py +252 -0
- tooluniverse/test/test_tools_find.py +195 -0
- tooluniverse/test/test_uniprot_tools.py +74 -0
- tooluniverse/test/test_uspto_tool.py +72 -0
- tooluniverse/test/test_xml_tool.py +113 -0
- tooluniverse/tool_finder_embedding.py +267 -0
- tooluniverse/tool_finder_keyword.py +693 -0
- tooluniverse/tool_finder_llm.py +699 -0
- tooluniverse/tool_graph_web_ui.py +955 -0
- tooluniverse/tool_registry.py +416 -0
- tooluniverse/uniprot_tool.py +155 -0
- tooluniverse/url_tool.py +253 -0
- tooluniverse/uspto_tool.py +240 -0
- tooluniverse/utils.py +369 -41
- tooluniverse/xml_tool.py +369 -0
- tooluniverse-1.0.0.dist-info/METADATA +377 -0
- tooluniverse-1.0.0.dist-info/RECORD +186 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-1.0.0.dist-info}/WHEEL +1 -1
- tooluniverse-1.0.0.dist-info/entry_points.txt +9 -0
- tooluniverse-0.1.4.dist-info/METADATA +0 -141
- tooluniverse-0.1.4.dist-info/RECORD +0 -18
- {tooluniverse-0.1.4.dist-info → tooluniverse-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-0.1.4.dist-info → tooluniverse-1.0.0.dist-info}/top_level.txt +0 -0
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: tooluniverse
|
|
3
|
-
Version: 0.1.4
|
|
4
|
-
Summary: A collection of biomedical tools designed for use by Agentic AI.
|
|
5
|
-
Home-page: https://github.com/mims-harvard/TxAgent
|
|
6
|
-
Author: Shanghua Gao
|
|
7
|
-
Author-email: shanghuagao@gmail.com
|
|
8
|
-
Requires-Python: >=3.6
|
|
9
|
-
Description-Content-Type: text/markdown
|
|
10
|
-
License-File: LICENSE
|
|
11
|
-
Requires-Dist: requests
|
|
12
|
-
Requires-Dist: numpy
|
|
13
|
-
Requires-Dist: graphql-core
|
|
14
|
-
Dynamic: license-file
|
|
15
|
-
|
|
16
|
-
# ToolUniverse
|
|
17
|
-
|
|
18
|
-
[](https://zitniklab.hms.harvard.edu/TxAgent)
|
|
19
|
-
[](https://arxiv.org/pdf/2503.10970)
|
|
20
|
-
[](https://pypi.org/project/txagent/)
|
|
21
|
-
[](https://pypi.org/project/tooluniverse/)
|
|
22
|
-
[](https://github.com/mims-harvard/TxAgent)
|
|
23
|
-
[](https://github.com/mims-harvard/ToolUniverse)
|
|
24
|
-
[](https://huggingface.co/collections/mims-harvard/txagent-67c8e54a9d03a429bb0c622c)
|
|
25
|
-
|
|
26
|
-
<body>
|
|
27
|
-
<section class="hero">
|
|
28
|
-
<div class="hero-body">
|
|
29
|
-
<div class="container is-max-desktop">
|
|
30
|
-
<div class="columns is-centered">
|
|
31
|
-
<div class="column has-text-centered">
|
|
32
|
-
<h1 class="title is-1 publication-title">
|
|
33
|
-
</h1>
|
|
34
|
-
<div class="is-size-5 publication-authors">
|
|
35
|
-
<!-- Paper authors -->
|
|
36
|
-
<span class="author-block">
|
|
37
|
-
<a href="https://shgao.site" target="_blank">Shanghua Gao</a
|
|
38
|
-
>,</span
|
|
39
|
-
>
|
|
40
|
-
<span class="author-block">
|
|
41
|
-
<a
|
|
42
|
-
href="https://www.linkedin.com/in/richard-zhu-4236901a7/"
|
|
43
|
-
target="_blank"
|
|
44
|
-
>Richard Zhu</a
|
|
45
|
-
>,</span
|
|
46
|
-
>
|
|
47
|
-
<span class="author-block">
|
|
48
|
-
<a href="https://zlkong.github.io/homepage/" target="_blank"
|
|
49
|
-
>Zhenglun Kong</a
|
|
50
|
-
>,</span
|
|
51
|
-
>
|
|
52
|
-
<span class="author-block">
|
|
53
|
-
<a href="https://www.ayushnoori.com/" target="_blank"
|
|
54
|
-
>Ayush Noori</a
|
|
55
|
-
>,</span
|
|
56
|
-
>
|
|
57
|
-
<span class="author-block">
|
|
58
|
-
<a
|
|
59
|
-
href="https://scholar.google.com/citations?hl=zh-CN&user=Awdn73MAAAAJ"
|
|
60
|
-
target="_blank"
|
|
61
|
-
>Xiaorui Su</a
|
|
62
|
-
>,</span
|
|
63
|
-
>
|
|
64
|
-
<span class="author-block">
|
|
65
|
-
<a
|
|
66
|
-
href="https://www.linkedin.com/in/curtisginder/"
|
|
67
|
-
target="_blank"
|
|
68
|
-
>Curtis Ginder</a
|
|
69
|
-
>,</span
|
|
70
|
-
>
|
|
71
|
-
<span class="author-block">
|
|
72
|
-
<a href="https://sites.google.com/view/theo-t" target="_blank"
|
|
73
|
-
>Theodoros Tsiligkaridis</a
|
|
74
|
-
>,</span
|
|
75
|
-
>
|
|
76
|
-
<span class="author-block">
|
|
77
|
-
<a href="https://zitniklab.hms.harvard.edu/" target="_blank"
|
|
78
|
-
>Marinka Zitnik</a
|
|
79
|
-
>
|
|
80
|
-
</div>
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
ToolUniverse is a collection of biomedical tools designed for use by Agentic AI. It is a critical component of TxAgent, providing the agent with the ability to access and leverage a vast array of biomedical knowledge to solve complex therapeutic reasoning tasks. ToolUniverse includes 211 biomedical tools that address various aspects of drugs and diseases. These tools are linked to trusted sources, including all US FDA-approved drugs since 1939 and validated clinical insights from Open Targets and Monarch Initiative.
|
|
84
|
-
|
|
85
|
-

|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
# Install
|
|
89
|
-
|
|
90
|
-
### Install from source
|
|
91
|
-
|
|
92
|
-
```
|
|
93
|
-
python -m pip install . --no-cache-dir
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
### Install from Pypi
|
|
97
|
-
Pip page (https://pypi.org/project/tooluniverse)
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
pip install tooluniverse
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
# Usage
|
|
104
|
-
|
|
105
|
-
**Get all tools**
|
|
106
|
-
|
|
107
|
-
```
|
|
108
|
-
from tooluniverse import ToolUniverse
|
|
109
|
-
tooluni = ToolUniverse()
|
|
110
|
-
tooluni.load_tools()
|
|
111
|
-
tool_name_list, tool_desc_list = tooluni.refresh_tool_name_desc()
|
|
112
|
-
print(tool_name_list)
|
|
113
|
-
print(tool_desc_list)
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
**Function call to a tool**
|
|
117
|
-
|
|
118
|
-
```
|
|
119
|
-
from tooluniverse import ToolUniverse
|
|
120
|
-
tooluni = ToolUniverse()
|
|
121
|
-
tooluni.load_tools()
|
|
122
|
-
query = {"name": "get_indications_by_drug_name", "arguments": {"drug_name": "KISUNLA"}}
|
|
123
|
-
tooluni.run(query)
|
|
124
|
-
```
|
|
125
|
-
## Citation
|
|
126
|
-
|
|
127
|
-
```
|
|
128
|
-
@misc{gao2025txagent,
|
|
129
|
-
title={TxAgent: An AI Agent for Therapeutic Reasoning Across a Universe of Tools},
|
|
130
|
-
author={Shanghua Gao and Richard Zhu and Zhenglun Kong and Ayush Noori and Xiaorui Su and Curtis Ginder and Theodoros Tsiligkaridis and Marinka Zitnik},
|
|
131
|
-
year={2025},
|
|
132
|
-
eprint={2503.10970},
|
|
133
|
-
archivePrefix={arXiv},
|
|
134
|
-
primaryClass={cs.AI},
|
|
135
|
-
url={https://arxiv.org/abs/2503.10970},
|
|
136
|
-
}
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
## Contact
|
|
140
|
-
If you have any questions or suggestions, please email [Shanghua Gao](mailto:shanghuagao@gmail.com) and [Marinka Zitnik](mailto:marinka@hms.harvard.edu).
|
|
141
|
-
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
tooluniverse/__init__.py,sha256=j44hf13WM50HQJRi7aloeTG6y6872wJtfX8ydsaiJFI,652
|
|
2
|
-
tooluniverse/base_tool.py,sha256=WMGgr02lhEsVzHgt7NIeynXQ2wZtu97yZI-lQWOSoSs,1145
|
|
3
|
-
tooluniverse/execute_function.py,sha256=CmA8AIfyolkcooASD2_3pXgF1BqESU5_VUqdHSYiM_M,10139
|
|
4
|
-
tooluniverse/graphql_tool.py,sha256=WU-9YAYbmfbfGwGDn7Y22DVju9t68CKuv_JNz_11NkM,5120
|
|
5
|
-
tooluniverse/openfda_tool.py,sha256=s4ctA7ckID7VA1wRceRGknFV5zu9sR7fqTJ8oa9U0q4,21056
|
|
6
|
-
tooluniverse/restful_tool.py,sha256=5HoTyCSd507D4Qjcqjd16o8Y4BFZ02Zm4cGuczIXWdw,4078
|
|
7
|
-
tooluniverse/utils.py,sha256=zh1IopojPBIJzK_8eGytTmWlPckluQQZTpiCQONw-pY,6416
|
|
8
|
-
tooluniverse/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
tooluniverse/data/fda_drug_labeling_tools.json,sha256=iRYkuNk6ohCbNELMbfPghtlCGthjzZch_9Ukr-yjaJI,209383
|
|
10
|
-
tooluniverse/data/fda_drugs_with_brand_generic_names_for_tool.py,sha256=Clb7kQpPaXPTT_rdDLoinfwF8JbrdRaBis-0TYcT0BU,6510589
|
|
11
|
-
tooluniverse/data/monarch_tools.json,sha256=I5KvamNZRvkKBaKbM6Ypo333m-RejQhqScX8h-uket4,3567
|
|
12
|
-
tooluniverse/data/opentarget_tools.json,sha256=nNvl-vYqS8nLfyIvHO40Fsnx6HJxwInUuS0mrrh6xmY,66201
|
|
13
|
-
tooluniverse/data/special_tools.json,sha256=tOI0TFpdjZBEE5Af1Vc4CeXQ0gAkz39xho9hDVBYR70,1518
|
|
14
|
-
tooluniverse-0.1.4.dist-info/licenses/LICENSE,sha256=Unq9Y3buGL9J0vFop03FYZiVweytt1xdgLIh2n9ck2c,1115
|
|
15
|
-
tooluniverse-0.1.4.dist-info/METADATA,sha256=-qi9jrg4MLNop0QFi9ezycLwM-81Poo0J9CkAD4k7Lg,5220
|
|
16
|
-
tooluniverse-0.1.4.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
|
|
17
|
-
tooluniverse-0.1.4.dist-info/top_level.txt,sha256=zZ8YeCJ5FAkEwdd_mxsFtSCQMBDgBdxrrmHo3RNBiWs,13
|
|
18
|
-
tooluniverse-0.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|