All Kherve Tools
KhervePaint icon

KhervePaint

Available

Draw anything scientific — by hand, from the library, or by AI.

Everything you expect from a graphics program — every drawing tool, raster and vector layers, grid and snapping, precise dimension lines, and editable-SVG files — and a great deal more. KhervePaint ships a vast library of ready-made objects covering most fields of science, and it draws molecules and crystal unit cells, even stacking unit cells into full superstructures. And its built-in AI assistant will draw for you from a plain-language prompt — ask for a bed, a piece of apparatus, or almost any molecule, and it appears as real, editable shapes on the canvas.

Download for Windows Portable zip (no install) Download for macOS (Apple Silicon) Download for macOS (Intel) View source on GitHub Cite: DOI 10.5281/zenodo.23314372Free & open source · unsigned installer — Windows may warn on first run (choose “More info” → “Run anyway”). Step-by-step install guide.macOS build is v0.1.166, Apple Silicon and Intel — the Windows build is v0.1.164. Not signed by Apple, so macOS blocks it the first time: open System Settings → Privacy & Security and press Open Anyway (on macOS 14 and older, right-click the app → Open). Step-by-step guide with pictures.

Watch KhervePaint

KhervePaint + AI — Drawing, Molecules and Lab Figures by Prompt

The AI side of KhervePaint: ask in plain language for a molecule, a piece of lab apparatus or a whole figure, and it lands on the canvas as real, editable, undoable shapes — not a flat image.

Open on YouTube

Attributes

AI built in

A dockable AI assistant draws for you: ask in plain language for almost anything — a bed, a piece of lab apparatus, or most molecules — and it arrives as real, editable, undoable shapes on the canvas. Choose Claude, ChatGPT, Mistral, Ollama, or a local endpoint.

How to install

KhervePaint is free and its source is public, but it is not signed with a paid Microsoft or Apple developer certificate. So the first time you open it, Windows and macOS say they cannot verify it and may even call it possible malware. That is the standard warning for every unsigned app, not a detection of anything. You approve it once, as shown below, and it then opens normally. Only this one app is allowed; nothing else on your computer is changed.

macOS (Apple Silicon and Intel)

  1. 1Open the .dmg and drag KhervePaint into Applications

    Double-click the downloaded .dmg file (in your Downloads folder). In the window that opens, drag the KhervePaint icon onto the Applications folder. Then eject the disk image.

    KhervePaintkKhervePaintAApplications
  2. 2Open KhervePaint once — macOS blocks it. Click “Done”

    Open your Applications folder and double-click KhervePaint. macOS shows “KhervePaint” Not Opened — Apple could not verify “KhervePaint” is free of malware…

    Click Done. Do not click Move to Bin. This attempt is needed: it is what makes the Open Anyway button appear in the next step.

    k“KhervePaint” Not OpenedApple could not verify “KhervePaint” is freeof malware that may harm your Mac orcompromise your privacy.DoneMove to Bin
  3. 3Open System Settings → Privacy & Security

    Click the Apple menu at the top-left of the screen, choose System Settings…, then click Privacy & Security in the left-hand list (scroll the list down if you don’t see it).

    About This MacSystem Settings…App Store…Recent ItemsWi-FiBluetoothGeneralAppearancePrivacy & SecurityDesktop & DockPrivacy & Security
  4. 4Scroll down to “Security” and click “Open Anyway”

    Scroll the right-hand side all the way down, past the Privacy items, to the Security heading. Under it you will see “KhervePaint” was blocked to protect your Mac. Click Open Anyway.

    The button appears only for about an hour after step 2. If it is missing, repeat step 2 and come back.

    Privacy & Security… scroll down past Privacy …SecurityAllow applications fromApp Store & Known Developers“KhervePaint” was blocked to protect yourMac.Open Anyway
  5. 5Confirm with “Open Anyway” and your password

    macOS asks once more: click Open Anyway, then type your Mac login password (or use Touch ID) and confirm.

    KhervePaint starts. From now on it opens normally with a double-click, and updates install without asking again.

    kOpen “KhervePaint”?Apple is not able to verify thatit is free of malware…Open AnywayDonePrivacy & Securityis trying to modify your settings.Your Mac passwordor Touch IDModify Settings

macOS 14 Sonoma and older: instead of steps 3–5, right-click (or Control-click) KhervePaint in Applications, choose Open, then Open again.

Message says the app “is damaged and can’t be opened”? That is the same block. Open Terminal (Applications → Utilities), paste this line, press Return, and open the app again:

xattr -dr com.apple.quarantine "/Applications/KhervePaint.app"

Windows (64-bit)

  1. 1If your browser warns about the download, choose “Keep”

    Chrome or Edge may say the setup file isn’t commonly downloaded. Open the downloads list, click ⋯ next to the file and choose Keep (in Edge: Keep → Show more → Keep anyway).

    DownloadsSetup.exe isn’t commonly downloaded.Make sure you trust it before you open it.⋯DeleteKeepEdge: ⋯ → Keep → Show more → Keep anyway
  2. 2Run the setup file — click “More info”

    Double-click the downloaded setup file. Microsoft Defender SmartScreen shows a blue Windows protected your PC window. Click the small More info link.

    Windows protected your PCMicrosoft Defender SmartScreen prevented anunrecognised app from starting.More infoDon’t run
  3. 3Click “Run anyway”, then follow the installer

    A Run anyway button appears at the bottom. Click it, answer Yes if Windows asks to allow changes, then click Next through the installer and Finish. KhervePaint is in the Start menu and opens normally from then on.

    Windows protected your PCMicrosoft Defender SmartScreen prevented anunrecognised app from starting.App: Setup.exePublisher: Unknown publisherRun anywayDon’t run

Built with

A modern stack of well-known scientific Python libraries.

PyQt5qtawesome

Documentation

Getting started

Install the requirements and run python KhervePaint.py. You draw on one canvas that mixes a raster layer and a vector layer; pick a tool from the toolbar and start drawing, or drop a PNG in to fill and edit its pixels.

Raster and vector together

Open a PNG and bucket-fill regions into the raster layer, then draw fully editable vector shapes — pencil strokes, lines, arrows, dimension lines (with a live length label in mm), rectangles, circles, ellipses, polygons and text — on top. Select, move, resize, rotate, and group items; the grid overlay snaps as you draw.

Scientific stencils & molecules

Drop in ready-made chemistry, biology, and electrical symbols, or place molecule and crystal ball-and-stick models (like a benzene ring or a diamond unit cell) straight onto the canvas as editable items.

File formats

Documents save as editable SVG by default — reopening one breaks it back into editable items. A lossless .kpaint (JSON) format is also available, and Export writes a flattened PNG or a single-page PDF.

Versions

v0.1.166macOS2026-09-08

Disk image for Apple Silicon and Intel.

v0.1.164Latest2026-09-08

Crystals get a toolbar palette of their own — supercells up to 30 repeats per axis, per-cell tilts that model a defect rather than a detached grain, and VESTA-style translucent coordination polyhedra. KhervePaint is now an MCP server too: connect Claude and it drives the real application through 26 tools, and can see a PNG of the canvas to check its own work.

v0.1.1392026-07-19

New Measure menu — scale bar, mm edge rulers, protractor, and a live shape-size readout in mm. Right-click the canvas for tools and the symbol library. The eraser and pencil now edit the pixels of imported images.

v0.1.1382026-07-13

Hybrid raster + vector drawing for scientific figures.

Part of the Kherve Tools family

Applications made by a scientist, for scientists.

Explore all tools