شعار Free Energy Perturbation

Free Energy Perturbation

مؤسسة
K-Dense-AI
free-energy-perturbation

Compute relative and absolute binding free energies with the Open Free Energy toolkit — the rigorous alchemical alternative to docking scores when a congeneric series needs reliable potency ranking. Use this skill to plan a perturbation network over a ligand set, choose atom mappings, run hybrid-topology or separated-topology protocols, and analyse the result — per-edge ΔΔG with uncertainty, cycle-closure error, and mean unsigned error against measured affinities. Also trigger on OpenFE, alchemical transformation, thermodynamic cycle, RBFE, ABFE, SepTop, lambda window, MBAR, cycle closure, or perturbation map.

نظرة عامة

الناشرK-Dense-AI
المستودعdrug-discovery-agent-skills
اسم المهارةfree-energy-perturbation
النجوم
51
التفريعات
5
الملفات المرفقة
5
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها K-Dense-AI على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Free Energy Perturbation في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/free-energy-perturbation
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/K-Dense-AI/drug-discovery-agent-skills.git /tmp/drug-discovery-agent-skills
mkdir -p .claude/skills
cp -r /tmp/drug-discovery-agent-skills/skills/free-energy-perturbation .claude/skills/free-energy-perturbation
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Free Energy Perturbation في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Free Energy Perturbation تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Free Energy Perturbation بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Alchemical Free Energy

The rigorous end of affinity prediction. Where a docking score is a heuristic that correlates weakly with potency, FEP computes a real thermodynamic quantity from statistical mechanics — including entropy and explicit water — and reaches about 1 kcal/mol RMSE on a congeneric series. It costs GPU-days for tens of compounds, which places it precisely: immediately before synthesis, choosing which twenty analogues to make.

Tool: OpenFE 1.12, MIT. pip install openfe fetches an unrelated 0.0.12 placeholder — install from conda-forge, docker, or singularity. An NVIDIA GPU is effectively mandatory. Checked against: v1.12, June 2026.

Read references/openfe-setup.md before your first run, references/network-design.md before committing GPU time, and references/interpreting-fep.md before quoting a number — that one is judgement, not syntax.

The two scripts

ScriptAnswers
fep_network.pyWhat shape is the network, can it be validated, and what will it cost?
fep_report.pyDo the results hang together, and what do they say?

Install the right package

bash
mamba create -n openfe -c conda-forge openfe

PyPI's openfe is a placeholder at version 0.0.12 with no relation to this toolkit. Checked live; it is the first thing that goes wrong.

A star map cannot be checked

This is the thing to get right. Free energy is a state function, so the sum around any closed loop must be zero. It never is, and the deviation is a direct measure of the error that assumes nothing — no experimental data, no reference, no error model.

A star map has no cycles, so it forfeits the only internal validation FEP offers:

bash
python skills/free-energy-perturbation/scripts/fep_network.py plan --ligands a,b,c,d,e --shape star
# 5 ligands, 4 edges, 0 independent cycle(s)
# no cycles: this network has NO internal error check.
# every result is relative to `a`. A bad reference corrupts the whole map.
bash
... --shape cyclic
# 5 ligands, 8 edges, 4 independent cycle(s)
# 576 GPU-hours at 24 h/edge x 3 repeats

Double the edges buys four independent checks. The count is the circuit rank, edges − nodes + components.

Reading the closure

bash
python skills/free-energy-perturbation/scripts/fep_report.py cycles --results ddg.tsv
cycle             length  closure_kcal  acceptable
a -> b -> c -> a  3       0.5           true

# 1 cycle(s); RMS closure 0.500 kcal/mol, 0 above 1

Edges of +1.0, +1.0, and −1.5 sum to +0.5 instead of zero. That is real error in those three edges, visible with no experimental data at all.

Per-edge uncertainty does not substitute for this. It measures sampling convergence, not whether the force field is right — a tight uncertainty on a wrong number is entirely normal.

A consequence worth internalising: a per-ligand ΔG depends on which path you take from the reference, and paths disagree by exactly the closure error. rank follows one path and says so; use cinnabar for a maximum-likelihood estimate over all paths.

What 1 kcal/mol means

ErrorAffinity factor
0.5 kcal/mol2.3×
1.0 kcal/mol5.4×
1.4 kcal/mol10×

So FEP separates 10 nM from 1 µM reliably, and cannot separate 10 nM from 30 nM. Rank-ordering within that gap over-reads the method. The ~1–1.5 kcal/mol ceiling is the force fields, not the implementation — OpenFE, FEP+, and the rest all land there.

Four ways FEP fails confidently

  1. A different binding mode. FEP assumes both ligands bind the same way. If B flips, the answer is meaningless and nothing in the output says so. The most dangerous failure available.
  2. Protonation state changes. If A and B differ in dominant ionisation at pH 7.4, the transformation is not the one you think. Check pKa first.
  3. Net charge changes. Finite-size electrostatic artefacts needing explicit correction; the least reliable edges in any network. Route around them where possible.
  4. A bad atom mapping. Too many atoms transformed, or a mapping across a ring, makes the alchemical path long and the result wrong rather than imprecise. Look at the mappings before running — the highest-value ten minutes in the workflow.

Chemical similarity beats topology

Topology decides how many checks you get; similarity decides whether an edge converges at all. An edge should change fewer than about ten heavy atoms and should not alter the ring system. Let LOMAP or Konnektor pick the edges, then add cycles to whatever tree they produce.

Three repeats minimum — a single replicate reports only within-run sampling error and understates the real spread.

Where this sits

chemical-space   10^9 compounds   docking score   seconds each
autodock-vina    10^4 compounds   poses           minutes each
FEP              10^1 compounds   ΔΔG             GPU-days each
synthesis        10^1 compounds   real data       weeks each

GPU-days are cheaper than chemist-weeks, which is the entire argument for running it — and the reason running it earlier is a category error.

Composing with the rest of the bundle

  • uniprot-rcsb → before: FEP inherits the binding mode you give it; start from a crystal structure with a ligand from the series.
  • binding-site-analysis → before: confirm the pocket and that the pose is in it.
  • autodock-vina / diffdock → before: narrow hundreds to tens; FEP cannot triage.
  • rowan → before: pKa and tautomers, so the species being perturbed is the right one.
  • pkpd-translation → after: a reliable potency is the input to a dose projection.
  • molecular-dynamics → alongside: pose stability, and whether the protein rearranges.

Reporting results honestly

Give ΔΔG with its uncertainty, the number of repeats, and the cycle-closure RMS. Name the reference and say values are relative to it. When comparing to experiment, say it is offset-corrected, give MUE and a rank correlation, and name the assay. Flag edges that changed net charge. And frame precision truthfully: "0.8 kcal/mol more potent, roughly fourfold, against a method RMSE near 1 kcal/mol" is honest; "4-fold more potent" is not.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Free Energy Perturbation؟

Compute relative and absolute binding free energies with the Open Free Energy toolkit — the rigorous alchemical alternative to docking scores when a congeneric series needs reliable potency ranking. Use this skill to plan a perturbation network over a ligand set, choose atom mappings, run hybrid-topology or separated-topology protocols, and analyse the result — per-edge ΔΔG with uncertainty, cycle-closure error, and mean unsigned error against measured affinities. Also trigger on OpenFE, alchemical transformation, thermodynamic cycle, RBFE, ABFE, SepTop, lambda window, MBAR, cycle closure,...

لماذا تستخدم Free Energy Perturbation على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Free Energy Perturbation عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Free Energy Perturbation في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/K-Dense-AI/drug-discovery-agent-skills/tree/main/skills/free-energy-perturbation. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Free Energy Perturbation؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Free Energy Perturbation؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Free Energy Perturbation معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Free Energy Perturbation مجانية؟

نعم. نشرها K-Dense-AI على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇