Python bindings for AX Engine
Project description
AX Engine
High-performance local inference engine for Apple Silicon — Python bindings.
Installation
This package is the Python SDK for AX Engine. For the primary end-user CLI / server install on macOS Apple Silicon, use Homebrew instead:
brew tap defai-digital/ax-engine
brew install defai-digital/ax-engine/ax-engine
ax-engine doctor
See the Getting Started installation guide for brew trust, linkage, and troubleshooting details.
Python (pip) — SDK and library use
python3 -m pip install "ax-engine[download]>=6.9.0,<7"
Requires macOS 26+, Apple Silicon (M2 Max or newer), Python 3.10+.
The current macOS arm64 wheel also includes the ax-engine orchestration CLI
plus bundled ax-engine-server and ax-engine-bench binaries when you need a
wheel-only install. If your package index only shows older ax-engine
versions, those wheels may not expose the top-level CLI commands shown below.
Verify the installed command surface:
ax-engine doctor
ax-engine-server --help
Quick start
import ax_engine
session = ax_engine.Session(mlx=True, mlx_model_artifacts_dir="/path/to/model")
result = session.generate([token_id, ...], max_output_tokens=128)
print(result.output_tokens)
Or use the OpenAI-compatible shim:
python -m ax_engine.openai_server \
--model-id my-model \
--mlx-model-artifacts-dir /path/to/model \
--tokenizer /path/to/tokenizer.json \
--port 31418
Then point any OpenAI client at http://127.0.0.1:31418.
Optional dependencies
Install the OpenAI shim or image/audio helpers with the matching extra:
python3 -m pip install "ax-engine[openai]>=6.9.0,<7"
python3 -m pip install "ax-engine[multimodal]>=6.9.0,<7"
Requirements
- macOS 26 (Tahoe) or later
- Apple Silicon — M2 Max / M2 Ultra / M3 / M4 family (32 GB RAM minimum)
- Python 3.10+
Project
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ax_engine-6.10.0-cp310-abi3-macosx_26_0_arm64.whl.
File metadata
- Download URL: ax_engine-6.10.0-cp310-abi3-macosx_26_0_arm64.whl
- Upload date:
- Size: 68.5 MB
- Tags: CPython 3.10+, macOS 26.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f60a37ce700987c65ccb9a781531a89e0f0076094bd61dd80f1c7abd4ee0e22
|
|
| MD5 |
05fa3ad6ba0d244bb25da6dff6bb1c86
|
|
| BLAKE2b-256 |
68d7dd95806637e3e1ca0a1b10f5b453cd16a1668e96ba0a2ad41da97739ef1e
|
Provenance
The following attestation bundles were made for ax_engine-6.10.0-cp310-abi3-macosx_26_0_arm64.whl:
Publisher:
pypi.yml on defai-digital/ax-engine
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ax_engine-6.10.0-cp310-abi3-macosx_26_0_arm64.whl -
Subject digest:
0f60a37ce700987c65ccb9a781531a89e0f0076094bd61dd80f1c7abd4ee0e22 - Sigstore transparency entry: 2208732672
- Sigstore integration time:
-
Permalink:
defai-digital/ax-engine@480d93b8997e9ed9d78fd80d656b13715879eb71 -
Branch / Tag:
refs/tags/v6.10.0 - Owner: https://github.com/defai-digital
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@480d93b8997e9ed9d78fd80d656b13715879eb71 -
Trigger Event:
push
-
Statement type: