Computational Agent-Driven Molecular Intelligence Architecture
English · Español
Author: Pablo Daniel Alvarez Hernandez, Universidad Juárez Autónoma de Tabasco (UJAT)
Versions follow Semantic Versioning: before 1.0.0, a minor version may change commands or output formats, and every such change is listed in the changelog. 1.0.0 will mark a stable public interface.
What is CADMIA?
CADMIA is a command-line suite for studying the reactivity and adsorption properties of
nanoclusters from quantum-chemistry outputs (ORCA and Gaussian). It reads the calculations,
derives the descriptors, prepares the next calculations and records where every number came from.
A single command, cadmia, gives access to every tool.
Main features:
- Conceptual DFT: global descriptors (I, A, η, μ, ω) by finite differences or Koopmans, and condensed Fukui functions and the dual descriptor, matching Multiwfn.
- Adsorption: starting configurations for small probe molecules on the most reactive sites, GFN2-xTB pre-screening, and adsorption energetics (ΔE, ΔH, ΔG, deformation and interaction).
- Stability: mixing and binding energies against the pure oxides, size series, isomers and Boltzmann populations.
- Structure: coordination numbers (CN, ECN), bond lengths, rings, coordination polyhedra and point-group symmetry.
- Electronic structure: DOS and PDOS, electrostatic potential on the molecular surface, IR spectra
and volumetric maps (density, Fukui, Δρ). DOS, PDOS, IR and the structural plots come as
interactive HTML or as PNG, SVG and PDF figures at one- or two-column width (
--width). - Calculations: input preparation, a local sequential queue and SLURM submission, with resumable pipelines.
- Provenance: results stored in a local SQLite database with file hash, exact command and program version.
- Bilingual help (
--helpin English,--ayudain Spanish) and a fixed-width text report of all the stages (reports/cadmia.out), with a Markdown summary and LaTeX tables on request.
What's new in 0.3.1
Highlights only; the full detail is in CHANGELOG.md.
- One source per stage: inside a
cadmia initproject,structure report,cdft,analyzeandstabilitysave their data and full text report toresults/;cadmia reportassembles them intoreports/cadmia.out, and--report/-r FILEalone rewrites a stage's report without recomputing. - Counterpoise BSSE for ORCA:
prepare bssewrites the four Boys–Bernardi single points andanalyze --bssereads them; checked against GaussianCounterpoise=2on Al₂TiO₅ + CO₂ (1.49 vs 1.52 kcal/mol). - Spin and charge carried through:
geometrywritescharge=/mult=(O₂ is a triplet), andprescreen,rank,prepare,benchmarkandpipeline --chargekeep them. - Thermochemistry: ΔG with the σ correction and quasi-RRHO ΔG in
analyze; activation by bending for linear probes (--bend-threshold, 10° by default). - Static figures:
electronic dos|pdos|irandstructure plotwrite PNG/SVG/PDF (--format,--width single|double). The DOS is in states/eV over both spins. - Safer runs: results of different clusters are not mixed in one report, a used pipeline
folder needs
--resume, and each output is checked with its own engine.
What's next
Planned for the next version (subject to change):
- Extended XYZ:
cdft,prescreenandrankwill write.xyzfiles with the energy and its unit and per-atom values (charges, Fukui, dual, ECN), readable by viewers such as MOLE and by ASE. - Plot styles: other forms for bonds, ECN and DOS plots (bars, sticks, curves).
- Definitions per module in the guide;
cadmia.outwill point to them.
Requirements
- Python 3.11 or newer.
- Outputs from ORCA 6 or Gaussian 16. ORCA is needed only to run calculations; analysis works on any machine.
- Optional:
xtb(pre-screening), SLURM (job submission) and MOLE (pip install mole-viewer, a quick viewer for sets of structures).
Installation
python -m venv ~/cadmia-env
source ~/cadmia-env/bin/activate
pip install cadmia # core, from PyPI
pip install "cadmia[full]" # optional: figures and interactive 2D plots
cadmia doctor # checks engines, dependencies and configuration
From a clone of this repository, pip install -e ".[full]" installs the working copy instead.
Quick start
runs the examples in the browser, with nothing to install.
From a clone of the repository, with the sample outputs that ship with the tests:
cadmia doctor # engines, dependencies and configuration
cadmia cdft --n tests/fixtures/1tial_cdft/N.out \
--np1 tests/fixtures/1tial_cdft/N+1.out \
--nm1 tests/fixtures/1tial_cdft/N-1.out # descriptors + ranked reactive sites
cadmia structure report tests/fixtures/1tial_orca/1tial_opt.xyz -o structure.txt # coordination, bonds, rings
cadmia guide # the full user guide
Documentation
cadmia --helpandcadmia <command> --help(English);--ayuda(Spanish).- User guide:
docs/usage_guide_en.txt(English) anddocs/usage_guide.txt(Spanish). - Dictionary of terms and descriptors: docs/descriptor_dictionary.md.
- Validation of the CDFT descriptors against Multiwfn: docs/cdft_vs_multiwfn.md.
- Changes between versions: CHANGELOG.md.
Tests
pip install -e ".[dev]"
pytest tests/ -q
Citation and license
If CADMIA is used in published work, please cite it as described in CITATION.cff. CADMIA is free software, distributed under the GNU General Public License, version 3 or (at your option) any later version (LICENSE).
Acknowledgements
CADMIA was designed, directed and scientifically validated by Pablo Daniel Álvarez Hernández. AI-based coding assistants were used to write and refactor parts of the code, the automated tests and the documentation; every change was reviewed and validated by the author. Numerical results always come from the quantum-chemistry outputs, never from a language model.
Contact
Bugs and questions: GitHub Issues.
Direct contact: Pablo Daniel Alvarez Hernandez — pablo.alvarez@padalher.com — https://padalher.com
Metadata
Release files for cadmia 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cadmia-0.3.1.tar.gz | 534.8 kB | With provenance | Details for cadmia-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cadmia-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for cadmia-0.3.1-py3-none-any.whl |
Total release size: 1.1 MB
Release files / cadmia-0.3.1.tar.gz
| Download URL | cadmia-0.3.1.tar.gz |
|---|---|
| Size | 534.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
76ef015a649304f3fefcf89421ef620349c479e080f2111de4496a1a967a3c74
|
|
BLAKE2b-256 checksum How to use checksums |
5548f8310105b2925a16e2b5e28a3d2870b338ba777b0d30946b5c8c6552b091
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / cadmia-0.3.1-py3-none-any.whl
| Download URL | cadmia-0.3.1-py3-none-any.whl |
|---|---|
| Size | 579.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d181fdd23b2a90a190e88e40158a3d60a3851365eb241cc79192d3964b42ede3
|
|
BLAKE2b-256 checksum How to use checksums |
bbb453845da6b582cac443b434e2ee0c28a16f3999283915645be5bc44a56cbc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for cadmia 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for cadmia-0.3.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.