# Full and privileged xtb integration?

**URL:** <https://discuss.avogadro.cc/t/full-and-privileged-xtb-integration/4953>\
**Category:** Development\
**Created:** [November 7, 2023, 7:58pm UTC](https://discuss.avogadro.cc/t/full-and-privileged-xtb-integration/4953 "2023-11-07T19:58:31Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ghutchis](https://discuss.avogadro.cc/user_avatar/discuss.avogadro.cc/ghutchis/32/456_2.png) [@ghutchis](https://discuss.avogadro.cc/u/ghutchis)\
**Post date:** [November 7, 2023, 10:18pm UTC](https://discuss.avogadro.cc/t/full-and-privileged-xtb-integration/4953/5 "2023-11-07T22:18:26Z")

</div>

> [@matterhorn103](#):
>
> Various other Windows applications (ChemOffice for example) install Python via the installation wizard. Would that be an option?

Probably? I don’t know enough about NSIS installers because I don’t use Windows.

> [@matterhorn103](#):
>
> yaehmop is packaged with Avogadro?

Yes. At the moment, it’s used for crystal structures / band diagrams / DOS plots. There are a few molecular-related feature tickets:

> **[Issues · OpenChemistry/avogadrolibs](https://github.com/OpenChemistry/avogadrolibs/issues?q=is%3Aissue+is%3Aopen+yaehmop)**
>
> Avogadro libraries provide 3D rendering, visualization, analysis and data processing useful in computational chemistry, molecular modeling, bioinformatics, materials science, and related areas. - I...

The trick with integrating `xtb` (the command-line program) with the optimizer is latency. The idea with the [New Force Field Framework 🎉](https://discuss.avogadro.cc/t/new-force-field-framework/4921) is that you set up the molecule, then calculate energies / gradients as needed.

In principal, you could repeatedly call `xtb --grad` but it’s definitely faster through `xtb-python` since the SCF is fast to re-compute for small differences in geometry.

I think the first step would be to consider what “full integration” means… what features, for example.

---

_[View the full topic](https://discuss.avogadro.cc/t/full-and-privileged-xtb-integration/4953)._
