Litmus
Your platform for hardware test and measurement.
Open source, pytest-native, AI-ready. Adopt one piece at a time.
What it takes to test hardware
Mapping product specs to a test plan. Designing stations and selecting instruments. Developing test code across multiple test phases. Verifying measurements against spec-traced limits. Analyzing results in their captured context.
That’s what Litmus is built for.
What you get
Pytest-native start
pytestpasses after install — no server, no account, no hardware. You control your tests, config, and data.Configuration in YAML
Stations, products, fixtures, profiles. Reviewable on a PR, editable by anything that reads text.
Capability matching
Your product spec needs DC voltage measured; your station has a DMM that can; the matcher routes it. No hand-wired channel maps per test.
Open data formats
Results in Parquet, events and channels in Arrow IPC. Queryable from DuckDB, Polars, pandas, Spark — anything that reads the format.
Operator UI
Browse runs, edit config, launch tests, watch live measurements — all from
litmus serve.AI surfaces
A built-in MCP server and a full CLI that agents can drive end-to-end.
Principles
Batteries included, nothing imposed
Storage, validation, querying, and a UI come decided and wired together — no stack to assemble to get a working platform. The choices that touch your own workflow stay yours.
Configuration is text
Stations, products, fixtures, profiles are YAML. Reviewable on a PR, editable by anything that handles text.
AI-ready, not AI-dependent
Agents can drive every operation through MCP or the CLI. Nothing about the platform requires one.
Runs anywhere, including offline
Local execution by default. No required server, no required account, no cloud dependency. Works on an air-gapped bench.
Open source, Apache-2.0
The code is yours to read, run, fork, and extend. No paid tier of the same software waiting to take it over once you depend on it.
Try it
Install
pip install litmus-testThe PyPI distribution is litmus-test; the Python import is litmus.
Apache-2.0 · pre-1.0 · public on GitHub. APIs may shift before 1.0; pin a version, fork if you have to. Nothing in your code or data is locked in.