Installation
machinable is available on PyPI:
bash
$ pip install machinablePython version
machinable targets modern Python (3.11+)
Optional extras
| Extra | Install | Adds |
|---|---|---|
all | pip install machinable[all] | numpy + pandas, needed for Collection.as_dataframe() and array analysis |
mcp | pip install machinable[mcp] | fastmcp + scipy + pandas for the Agents & MCP server and reference inferences |
SQLite requirement
machinable's index uses the SQLite json1 extension. If your Python's bundled SQLite lacks it you will see:
sqlite3.OperationalError: no such function: json_extractThe simplest fix is to install sqlean.py, which machinable detects and uses automatically:
bash
$ pip install sqlean.pyVerify
bash
$ machinable versionThen continue with the Quickstart.