Molkit 0.28.0
Released October 25, 2026
Ten days of work. Molkit Script, a language for building figures from typed commands, is merged into the app, with a recorder that writes what you do by hand as script. An AI chat writes and runs those scripts for you through five providers. Both are turned on per account and are available only to the admin account for now. The depiction engine behind Derive view was refactored and audited against the IUPAC 2006 and 2008 recommendations, so derived Lewis, VSEPR, condensed and Fischer views follow the Preferred rules. Mechanism arrows can take a natural default curve. The docs site was audited against a new style guide, and app text is now in US English with the serial comma.
New Features
- Molkit Script (accounts with scripting on): a script window that draws, writes, places, arranges, derives and exports figures from typed commands, with one undo step per run
- Script editor with syntax colors, problems as you type, hover help, autocomplete, Step, explain, describe and Open/Save for .mkscript files
- Record writes what you do by hand as script, and marks anything not scriptable yet with a '# not scriptable yet:' comment
- AI chat (accounts with the AI on): writes and runs Molkit Script from a request in plain words, through Anthropic, OpenAI, Gemini, OpenRouter or Z.ai
- AI chat streams its replies, shows code as cards with Copy, Insert and Run, and has Ask first or Do it, point and ask, and a Thinking choice for Gemini 3
- Script window and AI chat dock at the bottom or right, float, or pop out into their own window, with a shared text size setting
- Structure > Perspective Drawing draws a bridged ring or cage as its 3D shape from a textbook view
- Bridged bicycles (norbornane, camphor) are drawn from the IUPAC templates, in the source and in every derived view
- A crowded derived Lewis or VSEPR view falls back to a skeletal drawing instead of piling labels up
- Structure Settings > Lone Pairs > In VSEPR views: Auto, All or None
- Curved mechanism arrows get one-click bow steps
Charges and Ions
- Deleting an ion's square bracket puts its charge back on the atoms, in Lewis and bond-line drawings, and removes the bracket's charge mark with it
- A charge sign follows IUPAC GR-5.1: top right first, then above, below and the other corners, never on a lone pair
- The circle charge style draws single charges only; larger charges are written (2+, 3-)
- Scripts draw small inorganic ions in square brackets and salts as their ions side by side, as IUPAC GR-5.7 and GR-7 recommend
- Pasting an ion keeps its charges matched to its new atoms
Drawing Rules (IUPAC)
- Derived views were audited against the IUPAC 2006 and 2008 recommendations and follow the Preferred rules, with Acceptable ones only as a fallback
- VSEPR wedge and hash pairs are 60 degrees apart, the larger group on the right (GR-4.1.3, ST-1.1)
- NH3 and other lone centers: three bonds 120 degrees apart with the lone pair straight above in the Lewis view; XeF4 is square planar (ST-2.5, ST-2.6)
- CCl4, CHCl3 and CH2Cl2 are drawn as a 90-degree cross, and a cross with two double bonds draws them opposite, as in a sulfonyl group (GR-4.1.3)
- Branch arms zig-zag through every sp3 atom, and a C=O off a horizontal chain points up (GR-4.1, GR-3.2.2)
- Rings in condensed views stay regular polygons, isolated or fused (GR-3.3.1, GR-3.3.3)
- A C=C whose cis/trans is unknown gets a wavy bond, and derived views keep it (ST-4.4)
- Ring-fusion H, bridgehead configurations and cis/trans decalin are drawn so the drawing gives the configuration (ST-1.3.2, ST-1.3.3)
- A ring CH never puts its H inside the ring (GR-4.2.3)
- Fischer left-arm groups read in reverse (HOH2C) (GR-2.1.6)
- Ethane, ethene and ethyne in bond-line show both carbons (H3C-CH3) (GR-2.1.2)
- A bond leaving below a subscript (CH2, NH2) stops under the digit (GR-2.1.5)
- A radical dot follows its atom's label, and a CH3 radical is planar in VSEPR (GR-5.3, ST-2.4)
- Bond crossings are cut square to the bond underneath, only as wide as needed, with no short stubs
- Hiding implicit hydrogens hides only carbon's; OH and NH2 keep theirs (GR-2.1.1)
- The lone pair Lines style is marked (not IUPAC) in Structure Settings (GR-5.2)
- Hypervalent molecules from SMILES (ClF3, BrF3, XeF4) are drawn in their textbook shapes
Accessibility
- F6 and Shift+F6 move focus between the canvas, the script window and the AI chat; Ctrl+J and Ctrl+Alt+B show and hide the docked windows
- Each window's More menu works from the keyboard, the script and log divider moves with the arrow keys, and Escape closes a popup first, then the window
- The AI chat never takes focus from where you are: its requests to run a script and your accept or reject decisions are announced to screen readers
- AI chat cards are labeled groups, each Accept and Reject names its change, and focus moves to the next undecided change
- The Key panel has a visible Close button that returns focus to the model button
- A text size setting for the script window and the AI chat (85 to 150%), with Ctrl+=, Ctrl+- and Ctrl+0
- Toggle buttons such as Record report their on or off state to screen readers
Improvements
- Derived views keep every configuration the drawing gives (cis/trans, allene axes, ring fusions, bridgeheads, aziridine N, D/T centers, Fischer forms) and never claim one it does not
- VSEPR views zig-zag everywhere, draw rings and hypervalent centers with depth, and match the house drawings of NH3, H3O+, CH4 and NH4+
- Lone pairs sit at their VSEPR angles, between two H when they can (methylamine), and clear of OH and NH2 label text
- Linear sp centers stay straight, cumulene and condensed double bonds are centered, and straight chains lie level
- Derived atoms are never drawn on top of each other, methyl H turn to clear their neighbors, and labels that would read as one word are kept apart
- Two wedges meeting at a bridge atom are joined cleanly, and a wedge meeting a bold bond is mitered onto it
- Fischer projections are drawn the textbook way, work across ether and ester O, carry no lone pairs, and read back their labels
- Derive All skips cards that show nothing new and says which views failed
- Implicit hydrogens shown by default, in the atom's color (OH all red, NH2 all blue), and always beside a terminal atom
- SMILES [2H]/[3H] show D/T, and D and T keep their place in condensed labels and 3D
- SMILES import retries another layout when atoms land on each other (triptycene)
- A pasted set or group whose name is taken gets the next free one (Water 2, Water 3)
- App text in US English with the serial comma; the docs site follows a new style guide and has a new front page
- Outside scripts pinned with integrity checks, RDKit pinned to 2026.9.1, and a report-only Content Security Policy
Bug Fixes
- XYZ import no longer puts lone pairs on bonds
- The Flip tools mirror every stereo mark, hashes included
- Autosave never saves a script run half done
- The zoom slider's thumb is centered on its track in Chrome and Edge