retrochimera-retrosynthesis
Plan retrosynthetic routes for organic redox-flow-battery candidate molecules using the RetroChimera model with RetroStar multi-step search and a bundled purchasable-compound inventory, via the predict_retrosynthesis tool and the execute_retrochimera_code tool.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- retrochimera-retrosynthesis
- states
- [ "retrochimera.routes_predicted" ]
- description
- Plan retrosynthetic routes for organic redox-flow-battery candidate molecules using the RetroChimera model with RetroStar multi-step search and a bundled purchasable-compound inventory, via the predict_retrosynthesis tool and the execute_retrochimera_code tool.
03 SKILL.md 正文
RetroChimera Retrosynthesis
Use this skill to plan retrosynthetic routes for ORFB candidate molecules and assess whether they can be made from purchasable building blocks.
predict_retrosynthesis(smiles="...", num_results=5)— returns up tonum_resultsroutes (1–50). Each route hasreactions(orderedstep/reactants/product),num_steps, andstarting_materials_in_catalog(whether every leaf reactant is purchasable in the configured inventory).
The top-level all_routes_resolved indicates whether every returned route
terminates in purchasable starting materials.
Planning stack
Real route planning requires the planning stack (syntheseus, rdkit, the
retrochimera model package) installed in the execution environment plus the
checkpoints:
RETROCHIMERA_CHECKPOINT_DIR=/path/to/checkpoints # RetroChimera model dir
The server image contains the checkpoints and default inventory. To use a
different one-SMILES-per-line inventory, set RETROCHIMERA_INVENTORY_PATH to
that file.
Running planning
RetroStar planning is CPU-intensive and may take tens of minutes for one
target, depending on the molecule and host. Runtime is not determined only by
num_results.
Call execute_retrochimera_code normally. If execution is still running after
about 45 seconds, the server automatically promotes it to a background job and
returns a handle. No background argument is needed.
Submit one target per job when runtime is uncertain, then poll the returned handle:
# 1. Call normally. For planning this almost always exceeds the ~45s promotion
# threshold, so the response is a job handle: {"job_id": ..., "poll_tool":
# "retrochimera_check_job", ...} rather than an inline result.
execute_retrochimera_code(
code='r = predict_retrosynthesis("<smiles>", num_results=5)\nprint(r["all_routes_resolved"], len(r["routes"]))',
)
# 2. Poll retrochimera_check_job(job_id=...) every 30–60s until the job is
# completed or failed.
If a call does return an inline result (e.g. a fast follow-up that finishes under the threshold), use it directly — there is no job to poll. Promoted jobs have a default 30-minute budget and a hard one-hour maximum. A timeout means the route search did not complete within that budget; it is not a partial success.
Other notes
- Treat routes as computational planning suggestions, not validated laboratory procedures or safety assessments. Toxicology, chemical reactivity, process hazards, containment, and waste management require separate evaluation before experimental use.
- Multi-step planning runs RetroStar over the single-step model and falls back to single-step predictions if the search yields no non-trivial routes.
- If the target is already purchasable,
routesis empty with an explanatorymessage. - Preserve the top-level
provenanceobject with any route summary. It records model/tool versions, a SHA-256 identity of the canonicalized loaded inventory, and compact applicability and uncertainty classifications. Preserveroute_sourcefrom the ordinary result to distinguish multi-step routes, fallbacks, and inventory matches.
04 同仓库更多 Skills
soltrannet-solubility
Predict aqueous solubility (logS) for organic redox-flow-battery candidate molecules using the open-source SolTranNet model (trained on AqSolDB), via the predict_solubility tool and the execute_soltrannet_code tool.
orfb-design
Organic redox-flow-battery (ORFB) molecule characterization with RDKit — physicochemical descriptors, Tanimoto similarity to a target, and synthetic accessibility scoring, via domain tools and the execute_orfb_code tool. Redox potentials and retrosynthesis are served by the graphormer and retrochimera peer servers.
graphormer-redox
Predict reduction and oxidation potentials (volts versus SHE) for organic redox-flow-battery candidate molecules using the Graphormer redox model, via the predict_reduction_potential / predict_oxidation_potential tools and the execute_graphormer_code tool.
ezbattery-cell-simulation
Evaluate ORFB negolyte candidates and full cells at the device level with the open-source EZBattery physics simulator (PNNL), via the simulate_negolyte / negolyte_sensitivity / simulate_cell tools and the execute_ezbattery_code tool.