Computational chemistry with Alembic
Alembic is CLIO’s computational chemistry agent. It finds compounds in PubChem, builds and edits structures, computes energies, frequencies and thermochemistry with xTB, MACE or NWChem, computes X-ray absorption spectra with FDMNES, and shows structures in a 3D viewer that you can click, mark and edit. Each request below was typed as a plain question, with no tools or steps named. Everything ran on one Linux machine.
Before you start
Section titled “Before you start”Choose the Alembic agent for the conversation. The chemistry connectors are in Settings, under Chemistry: ASE (calculators), Burette (the 3D viewer and sketcher), PubChem, FDMNES and Avogadro. When a request needs one that is off, CLIO shows a card that turns it on. Programs that are not installed, such as NWChem, FDMNES or Avogadro, are installed only after you agree.
An imaginary mode you can watch
Section titled “An imaginary mode you can watch”“Take ethane in the eclipsed conformation, optimize it with MACE keeping that conformation, and compute its frequencies.”
The optimized eclipsed structure has one imaginary frequency, 287.29i cm⁻¹. Asked to “Show me the spectrum and play the imaginary mode”, the agent played the mode in the viewer.
With a rectangle drawn over one methyl group (the viewer’s Region button), the question was “What is this motion?”. The agent named the marked atoms, measured their rotation from the animation frames in code (about ±13.9°, the other methyl turning the opposite way) and called it the torsion that leads from the eclipsed form to the staggered one.
Pushed along that mode and re-optimized without constraints, ethane became staggered, with no imaginary frequency. The staggered form is 0.1078 eV (10.4 kJ/mol) lower, or 8.5 kJ/mol with zero-point energy, both at the same MACE level.
A conformer you edit by hand
Section titled “A conformer you edit by hand”“Build ethylene glycol and optimize it with MACE.” The optimization landed in the anti conformer. In the viewer’s Edit mode, picking the O–C–C–O atoms shows the dihedral, −178°. Typing 60 and choosing Apply writes the edited structure as a new file and reports it to the agent.
“Re-optimize from this geometry and tell me which conformer is lower and by how much.” The agent started from the edited file, re-optimized with frequencies and found the gauche conformer lower by 5.95 kJ/mol (5.7 kJ/mol with zero-point energy).
For more than bond, angle and dihedral edits, the same structure can be opened in Avogadro 2. Asked to open it there, the agent found Avogadro was not installed, asked before installing it, then opened the conformer. The full Avogadro window runs inside the conversation.
A reaction energy across three methods
Section titled “A reaction energy across three methods”“What is the Gibbs energy of CH4 + 2 O2 → CO2 + 2 H2O at 298 K? Start with xTB.” The agent balanced the reaction, ran O2 as a triplet and said so, and summed the per-species results in code. Then “Now do it with MACE too, and show both on one energy diagram”, “Confirm the two biggest disagreements with DFT in NWChem” and “Redo the whole thing at 500 K”.
| Method | ΔG at 298 K (kJ/mol) |
|---|---|
| GFN2-xTB | −1220.6 |
| MACE-OFF23 small | −898.0 |
| B3LYP/6-31G* (NWChem) | −624.9 |
The agent asked before installing NWChem, installed it in the workspace and ran DFT on all four species. It reported that none of the three methods matches the tabulated value it remembered (about −800 kJ/mol for gas-phase water), so this DFT level confirms neither of the cheaper results. At 500 K it reused the optimized structures and recomputed only the frequencies and thermochemistry; ΔG moved by less than 1 kJ/mol, because the reaction has the same number of gas molecules on each side.
XANES of magnetite
Section titled “XANES of magnetite”“Get magnetite from the Materials Project and show me the structure.” The first time, CLIO asked for a Materials Project API key in the FDMNES connector’s card; the key is typed into the card and never into the conversation. The agent chose the cubic Fd-3m entry, the lowest above the convex hull, and opened it with its unit cell.
“Compute the Fe K-edge XANES for each inequivalent iron site.” From the structure the agent identified the tetrahedral iron (Fe–O 1.92 Å) and the octahedral iron (2.06 Å) and ran FDMNES once per site. The self-consistent potential did not converge for this cell, so it ran without one and said that the spectra are therefore less reliable. Asked “Why is the pre-edge stronger for one of them?”, it answered from the computed pre-edge heights (0.30 for the tetrahedral site, 0.08 for the octahedral one) and the site geometry: the tetrahedral site has no inversion centre. With one iron atom selected in the viewer, “Which site is this one, and what is its coordination?” got the octahedral site, six oxygens at 2.06 Å.
Open the sessions
Section titled “Open the sessions”The session pages above are archives of the recorded conversations. Opening them does not run the agent or contact any service. The 3D viewer and Avogadro run only in a live session, so they appear on this page as captures.