PAPablo Daniel Álvarez Hernández

What is CADMIA?

A command-line suite for the reactivity and adsorption of nanoclusters. It reads ORCA and Gaussian outputs, computes conceptual-DFT, structural and electronic descriptors, builds and pre-screens adsorption configurations, and prepares the next calculations. Every result records the file it came from, the exact command and the program version.

Screenshots

Real output, real example.

Features

Eight tools, one command.

ω

Conceptual DFT

I, A, η, μ and ω by finite differences, with Koopmans values for comparison; condensed Fukui functions and the dual descriptor.

ΔG

Adsorption

Starting configurations for seven built-in probes on the most reactive sites, GFN2-xTB pre-screening, and ΔE, ΔH, ΔG, deformation and interaction.

Emix

Stability

Mixing and binding energies against the pure oxides, size series, isomers and Boltzmann populations.

CN

Structure

Coordination numbers (CN, ECN), bond lengths, coordination polyhedra and their shape, rings and point-group symmetry.

ρ

Electronic structure

DOS and PDOS, electrostatic potential on the density isosurface, IR spectra and volumetric maps (density, Fukui, Δρ).

⇶

Calculations

Input preparation, a local sequential queue and SLURM submission, with resumable pipelines.

#

Provenance

Results in a local SQLite database (cadmia.db) with file hash, exact command and program version.

EN·ES

Bilingual

--help in English and --ayuda in Spanish, plus a usage guide in both languages.

How it works

From outputs to answers.

Real output from the bundled example: Al2TiO5, PBE0/def2-TZVP with D4.

$ cadmia cdft --n 1tial_N.out --np1 1tial_anion.out \
      --nm1 1tial_cation.out --cluster Al2TiO5
CADMIA — CDFT Agent  |  cluster: Al2TiO5  |  scheme: hirshfeld

  rank  atom      f⁺      f⁻       Δf   character
     1  O(2)   0.0661  0.3204  -0.2543   nucleophilic
     2  Al(5)  0.3539  0.1128  +0.2412   electrophilic
     3  Al(7)  0.3538  0.1128  +0.2410   electrophilic
     4  Ti(1)  0.1058  0.1838  -0.0779   nucleophilic
     5  O(3)   0.0371  0.0996  -0.0625   nucleophilic

Global descriptors
  IP  +10.0968 eV    η  +7.7415 eV    ω  +2.5036 eV
  EA   +2.3553 eV    μ  -6.2260 eV    N  +0.8284 eV
Lewis sites  acid Al(5)  |  base O(2)
IIonization potential10.10 eV
AElectron affinity2.36 eV
ηHardness7.74 eV
μChemical potential−6.23 eV
ωElectrophilicity2.50 eV
f⁺Most electrophilicAl(5) 0.354
f⁻Most nucleophilicO(2) 0.320
ΔfDual descriptorO(2) −0.254
Eads −34.08 kcal/molΔGads −20.55 kcal/mol
Interpretive · Al2TiO5 + CO2, bundled example
cadmia.db · provenance
source_file1tial_N.out
file_hashsha256:…
commandcadmia cdft --n 1tial_N.out …
software_versioncadmia 0.3.0
timestamp2026-10-23T19:19:54+00:00
reports/cadmia.out
╔════════════════════════════════════════════╗
║  MODULE 2  ·  CDFT                         ║
║  Conceptual DFT: global descriptors        ║
║  and reactive sites                        ║
╚════════════════════════════════════════════╝

Modules
  1 Structure   2 CDFT
  3 Adsorption  4 Stability

Reads ORCA 6 and Gaussian 16 outputs.

An engine is needed only to run new calculations; the analysis needs Python alone.

Global and local descriptors.

From the N, N+1 and N−1 states; global values match Multiwfn on the bundled example.

Probes on the most reactive sites.

Probe configurations, GFN2-xTB pre-screening, then ΔE, ΔH, ΔG, deformation and interaction from the DFT outputs.

Every number knows where it came from.

Every result is stored in a local SQLite database with the file hash, the exact command and the program version.

One output per study.

reports/cadmia.out: each module in its own numbered frame, with the level of theory and how to cite.

<10−4 eVDifference in global CDFT descriptors vs Multiwfn, bundled example
32Commands in one program
1345Automated tests
4Python versions, 3.11 to 3.14, in CI

What's new in 0.3.1

One source per module.

Highlights only; the full detail is in CHANGELOG.md.

CADMIA follows 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.

1One source per module

Each module saves its data and full report to results/; cadmia report assembles them into one output without recomputing.

2Counterpoise BSSE for ORCA

prepare bsse writes the four Boys–Bernardi single points; checked against Gaussian Counterpoise=2 (1.49 vs 1.52 kcal/mol).

3Spin and charge carried through

charge= and mult= travel from geometry to prescreen, rank, prepare and pipeline: an O2 adduct stays a triplet.

4Publication figures

DOS, PDOS, IR and structural plots as 300-dpi PNG, SVG or PDF, at one- or two-column width.

5Safer studies

Results from other inputs are kept as copies, never overwritten; a used pipeline folder needs --resume.

Get started

Install, check, try the example.

Install

From PyPI. [full] adds static figures, interactive plots and shape descriptors.

$ pip install cadmia
$ pip install "cadmia[full]"

Check

Version, engines, dependencies and configuration.

$ cadmia --version
$ cadmia doctor

Try the example

The bundled outputs live in the repository, not in the PyPI package.

$ git clone https://github.com/Padalher/CADMIA.git
$ cd CADMIA
$ 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 --cluster Al2TiO5

Or open the quick-start notebook in Colab — nothing to install.

Requirements: Python 3.11–3.14 on Linux (macOS and Windows not yet tested); outputs from ORCA 6 or Gaussian 16, whose engine is needed only to run new calculations. Optional: xtb, SLURM and orca_plot.

Source

Every release, kept.

Source archives as published on PyPI, with their SHA-256. Each version has its own Zenodo DOI.

0.3.1Latest
sha256 76ef015a649304f3fefcf89421ef620349c479e080f2111de4496a1a967a3c74
0.3.0
sha256 ae48642ef02783d4a40540841212f381465cc623a492c4fb958cad7546d1287a

Cite & download

Free to use, free to cite.

GNU GPL v3 or later. If CADMIA is used in published work, please cite it:

@software{alvarez_hernandez_cadmia_2026,
  author  = {{\'A}lvarez Hern{\'a}ndez, Pablo Daniel},
  title   = {{CADMIA}: Computational Agent-Driven
             Molecular Intelligence Architecture},
  version = {0.3.1},
  year    = {2026},
  url     = {https://github.com/Padalher/CADMIA},
  doi     = {10.5281/zenodo.23608477},
  license = {GPL-3.0-or-later}
}
How it was built. 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.