KAME: AI-Assisted Automation Program for Physical Property Measurements

KAME is an open-source, multi-threaded program for automated physical property measurements,
developed at Kitagawa Laboratory, ISSP, University of Tokyo.
It is particularly suited to NMR and ODMR experiments, and supports AI-assisted measurement
orchestration across compatible instruments.
License: GPL v2 or later (prior to 8.0: LGPL v2 or later)
Authors: Kentaro Kitagawa, Shota Suetsugu
Platforms: macOS, Windows (64-bit), Linux (x86-64, supported from 8.5 — see INSTALL.linux)
Manual: 日本語 · English (doc/manual/kame-9-en.md in the source archive)
Paper: K. Kitagawa, Formally Verified Lock-Free Software Transactional Memory for Scientific Measurement, arXiv:2608.12024 (2026)

Features
- Transactional, lock-free node/data model (Software Transactional Memory) —
spun out as the dual-licensed reusable libraries
kamestm/ (STM core) and
kamepoolalloc/ (four-tier pool allocator) — see
Reusable subsystems
- Python (+Jupyter notebook) and Ruby scripting — nearly full control from scripts
- AI-assisted experiment automation via MCP — Claude Code, Codex, Antigravity, Claude Desktop, LM Studio / Bionic and any other MCP client (local models included, through Pydantic AI) can read instruments, control parameters, and run measurement sequences through natural language, with the instrument-safety rules delivered by the server itself
- OpenGL-based 2-D / 1-D graph display; arbitrary scalar combinations (T, V, …)
- Real-time NMR relaxation fitting (T1, T2, Tst.e.), Inverse Laplace Transform
- Fourier step-sum spectrum measurement with field / frequency sweeping
- Complete data logging with post-measurement re-analysis
- Save / restore full measurement config to
.kam files
- Provenance journal: settings and every change to them in
.kamj, raw records in .kamb, either file replayable (9.0)
- Modular driver plug-in architecture; Python drivers redefinable at runtime
- Calibration curves (cspline, Chebyshev, polynomial) for resistance thermometers and generic sensors; calibrated entries feed into graphs, charts, and data recording like any native scalar
Released versions/Binaries
Source: kame-9.1.zip (4.4MB, Oct. 2026).
All other source archives.
Windows 64-bit binaries: 9.1 (22.5MB) · 9.0 (22.1MB) · 8.6.1 (21.8MB) · 8.6 (21.8MB) · 8.5 (20.4MB) · 8.4. At least Qt is additionally needed, follow instructions below to install.
Builds before 8.6.1 carry the double-allocation defect described under 8.6.1 in Earlier releases on Windows and Linux.
Supported instruments