Repository navigation
Plugin Chat with Molecule Neo Gemini
Hiromichi Yokoyama edited this page Oct 23, 2026
·
5 revisions
Chat with Molecule Neo (Gemini) embeds Google Gemini directly into MoleditPy as an interactive chemical assistant. It automatically injects the current molecular graph (with atom-mapped indices and SMILES) and leverages LLM function calling to apply chemical reactions, highlight substructures, calculate descriptors, and generate quantum chemical inputs.
| Repository | Bundled in moleditpy-plugins (plugins/Chat_with_Molecule_Neo) |
| Author | HiroYokoyama |
| Supported OS | Windows, macOS, Linux, WSL |
| Supported Python | >=3.9, <3.15 |
| Supported MoleditPy | >=5.0.0, <6.0.0 |
| First-party plugin license | LGPL-3.0-or-later |
| Menu location | Plugin ▸ Chat with Molecule Neo (Gemini) |
| Extra dependencies |
matplotlib (optional, for LaTeX equation rendering) |
See Official Plugins for the full catalogue.
-
Automatic Molecular Context Injection:
- Automatically translates the current 2D/3D structure into an atom-mapped SMILES string (e.g.
[C:1]...) and queries PubChem to attach the IUPAC and common name. - Automatically injects currently selected atoms into the context prompt (e.g.
[User Selection: [5, 6]]) so commands like "brominate here" or "methylate this atom" target precisely the right site.
- Automatically translates the current 2D/3D structure into an atom-mapped SMILES string (e.g.
-
Interactive Tool Calling:
-
apply_transformation: Executes chemical reactions using Reaction SMARTS against mapped atom indices. -
highlight_substructure: Visually highlights pharmacophores or specific atoms matching SMARTS queries. -
calculate_descriptors: Calculates MW, LogP, TPSA, HBD, HBA, rotatable bonds, and ring counts. -
orca_input_generator&gaussian_input_generator: Writes calculation input files tailored to the current molecular coordinates. -
load_molecule_by_name: Queries PubChem to resolve and load requested molecules directly into the workspace.
-
-
LaTeX Math and Chemical Equation Rendering:
- Uses Matplotlib's mathematical typography engine to render LaTeX thermodynamic and kinetic equations cleanly in the chat panel.
-
Model Flexibility:
- Supports Gemini 1.5 Pro, Gemini 1.5 Flash, and Gemini 2.0 models using your own Google AI Studio API key.
- Open
Plugin ▸ Chat with Molecule Neo (Gemini). - Enter your Google Gemini API key in the settings tab (saved locally).
- Select an atom in MoleditPy (e.g. the para-position of a phenyl ring).
- Ask in the chat: "Brominate the selected position and calculate the resulting LogP."
- Gemini calls
apply_transformationto update the structure in MoleditPy and returns the calculated descriptors.
Chat responses support HTTP and HTTPS links.
- Official Plugins — the full plugin catalogue
- Plugin: Chat with Molecule Neo (ChatGPT) — OpenAI ChatGPT variant
- Plugin: Chat with Molecule Neo (Local) — local Ollama / LM Studio variant
- Plugin: MCP Server — external Model Context Protocol server
This page documents Chat with Molecule Neo (Gemini) v2026.10.22, and was last updated on 2026-10-24. See REGISTRY/plugins.json for the current version.