chemeagle-guide
Multi-agent system for chemical literature information extraction
它会碰到什么
扫了多少1 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
ChemEagle Guide
Overview
ChemEagle is a multi-agent system for extracting structured chemical information from scientific literature. It uses specialized agents for recognizing chemical entities, extracting reaction conditions, identifying product yields, and building structured databases from unstructured chemistry papers. Particularly useful for building reaction databases and automating systematic reviews in chemistry.
Agent Pipeline
Chemistry Paper (PDF/text)
↓
Document Parser Agent (section identification)
↓
Chemical NER Agent
├── Compound names → SMILES/InChI
├── Reagents and catalysts
├── Solvents and conditions
└── Product identification
↓
Reaction Extraction Agent
├── Reactants → Products mapping
├── Reaction conditions (T, P, time)
├── Yields and selectivity
└── Procedure steps
↓
Validation Agent (cross-check extracted data)
↓
Structured Output (JSON, CSV, database)
Usage
from chemeagle import ChemEagle
eagle = ChemEagle(llm_provider="anthropic")
# Extract from a chemistry paper
result = eagle.extract("paper.pdf")
# Extracted reactions
for rxn in result.reactions:
print(f"\nReaction {rxn.id}:")
print(f" Reactants: {rxn.reactants}")
print(f" Products: {rxn.products}")
print(f" Catalyst: {rxn.catalyst}")
print(f" Solvent: {rxn.solvent}")
print(f" Temperature: {rxn.temperature}")
print(f" Time: {rxn.time}")
print(f" Yield: {rxn.yield_percent}%")
print(f" SMILES: {rxn.product_smiles}")
# Extracted compounds
for compound in result.compounds:
print(f"{compound.name}: {compound.smiles}")
Batch Processing
# Process multiple papers
results = eagle.extract_batch(
input_dir="chemistry_papers/",
output_format="csv",
output_file="reactions_database.csv",
)
print(f"Papers processed: {results.papers_processed}")
print(f"Reactions extracted: {results.total_reactions}")
print(f"Unique compounds: {results.unique_compounds}")
Chemical Entity Recognition
# Standalone NER
entities = eagle.recognize_entities(
"The Suzuki coupling of 4-bromoanisole with phenylboronic "
"acid using Pd(PPh3)4 catalyst in THF/water at 80°C "
"gave 4-methoxybiphenyl in 95% yield."
)
for entity in entities:
print(f" [{entity.type}] {entity.text}")
if entity.smiles:
print(f" SMILES: {entity.smiles}")
# Output:
# [REACTANT] 4-bromoanisole — SMILES: COc1ccc(Br)cc1
# [REACTANT] phenylboronic acid — SMILES: OB(O)c1ccccc1
# [CATALYST] Pd(PPh3)4
# [SOLVENT] THF/water
# [CONDITION] 80°C
# [PRODUCT] 4-methoxybiphenyl — SMILES: COc1ccc(-c2ccccc2)cc1
# [YIELD] 95%
Database Building
# Build a searchable reaction database
from chemeagle import ReactionDatabase
db = ReactionDatabase("reactions.db")
# Add extracted reactions
db.add_from_extraction(result)
# Search by substrate
hits = db.search(reactant="bromoanisole", reaction_type="coupling")
for hit in hits:
print(f"{hit.reactants} → {hit.products} ({hit.yield_percent}%)")
print(f" Source: {hit.paper_doi}")
# Search by conditions
hits = db.search(catalyst="palladium", temperature_max=100)
# Export
db.export_csv("all_reactions.csv")
db.export_json("all_reactions.json")
Use Cases
- Reaction mining: Extract reactions from chemistry literature
- Database building: Automated reaction database construction
- Systematic reviews: Structured data from chemistry papers
- Synthesis planning: Search conditions for target reactions
- Trend analysis: Track reaction methodology evolution
References
- ChemEagle GitHub
- RDKit — Chemistry toolkit
- PubChem — Chemical database
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
星标★ 3,829
本站分层T1
该仓技能数1161
原文件路径
skills/43-wentorai-research-plugins/skills/domains/chemistry/chemeagle-guide/SKILL.md同一个仓库里的其他技能
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-R
- Full-empirical-analysis-skill-Stata
- auto-empirical-research-skills
- StatsPAI_skill
- Full-empirical-analysis-skill
- Full-empirical-analysis-skill-Stata
- Full-empirical-analysis-skill-R
- academic-paper-composer
- academic-paper-strategist
- medical-imaging-review
- paper-slide-deck