Kinetic for Python
Kinetic: open engine for running AI locally. Runs your GGUF models today, and .ktc models verified and tuned for your hardware.
Windows and Linux, x86-64. Everything runs on your computer. Kinetic never connects to the network, except when you run kinetic pull.
pip install kinetic-engine
import kinetic
model = kinetic.Model("SmolLM2-135M-Instruct-f16.gguf")
# Chat through the model's own template.
print(model.chat([{"role": "user", "content": "Name three rivers."}], max_tokens=64))
# Stream the answer as it is written.
for piece in model.chat([{"role": "user", "content": "Tell me a story."}], stream=True):
print(piece, end="", flush=True)
# Continue a raw prompt; temperature 0 always takes the likeliest token.
print(model.generate("The capital of France is", max_tokens=8, temperature=0))
# Sampled output repeats for the same seed.
print(model.generate("Once upon a time", max_tokens=32, temperature=0.8, seed=42))
# Embedding models turn texts into vectors.
embedder = kinetic.Model("bge-small-en-v1.5-f16.gguf")
vectors = embedder.embed(["a cat", "a dog"])
max_tokens, temperature and seed are optional; without them the model file's recommended sampling is used and the answer runs until it ends. Calls release the GIL, so other Python threads keep running while the model works.
Build from source
pip install maturin
maturin build --release
pip install target/wheels/kinetic_engine-*.whl
Licensed under the Apache License 2.0. Copyright 2026 Velocity.
Metadata
Release files for kinetic-engine 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kinetic_engine-0.1.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details for kinetic_engine-0.1.0-cp39-abi3-win_amd64.whl |
| kinetic_engine-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.28+ x86-64 | Details for kinetic_engine-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl |
Total release size: 4.7 MB
Release files / kinetic_engine-0.1.0-cp39-abi3-win_amd64.whl
| Download URL | kinetic_engine-0.1.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
b94b7534e31f31f46dfd81559b1bf6427cbb38eaebb3301e0b18de926e363a44
|
|
BLAKE2b-256 checksum How to use checksums |
b1781d7dd215f53a596e8d359b1ffebca74ae721bb65b6212ba7abfad9fc6869
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logRelease files / kinetic_engine-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl
| Download URL | kinetic_engine-0.1.0-cp39-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.5 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
7f4ec0d2ba29ded97c33ccc7460d33550540e83a8104e73f98560e039a0e27d0
|
|
BLAKE2b-256 checksum How to use checksums |
f5a1d1baddfce8faafb62761d48430aea9bbc00267462129f6800927b34b0e2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logSecurity for kinetic-engine 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kinetic_engine-0.1.0-cp39-abi3-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 10, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.