Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for kinetic-engine 0.1.1
File Interpreter ABI Platform Actions
kinetic_engine-0.1.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details for kinetic_engine-0.1.1-cp39-abi3-win_amd64.whl
kinetic_engine-0.1.1-cp39-abi3-manylinux_2_28_x86_64.whl CPython 3.9 abi3 Linux glibc 2.28+ x86-64 Details for kinetic_engine-0.1.1-cp39-abi3-manylinux_2_28_x86_64.whl
kinetic_engine-0.1.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details for kinetic_engine-0.1.1-cp39-abi3-macosx_11_0_arm64.whl

Total release size: 7.7 MB

Release files / kinetic_engine-0.1.1-cp39-abi3-win_amd64.whl

Download URL kinetic_engine-0.1.1-cp39-abi3-win_amd64.whl
Size 2.5 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c0fc3f3a45a56b972a991b53db0cc463ffc2c7325b75c395edd49157c5fa97ec
BLAKE2b-256 checksum
How to use checksums
350d2f73713575e4c4e7c06aed2b418e309c2ec87b180effa3b7c0d20d030fb8
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 27, 2026.

Transparency log

Release files / kinetic_engine-0.1.1-cp39-abi3-manylinux_2_28_x86_64.whl

Download URL kinetic_engine-0.1.1-cp39-abi3-manylinux_2_28_x86_64.whl
Size 2.8 MB
Tags CPython 3.9 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
7529effa2a9023c5f61a7a39fe8c0b25a2c163aa53cf4808af3b3a4f0567d57b
BLAKE2b-256 checksum
How to use checksums
bf5e682d1beef72ac0e8083914d723dcd4312467d9b1d1f86c6ba1f87d47d124
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 27, 2026.

Transparency log

Release files / kinetic_engine-0.1.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL kinetic_engine-0.1.1-cp39-abi3-macosx_11_0_arm64.whl
Size 2.4 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1a52819c276f72b4f97e009d5fe60f12ad24afebeab4045ac03694aed2009455
BLAKE2b-256 checksum
How to use checksums
558f821a796f62aab0e6a87f4bb81b97c90f8d86529eb51c11782bec57dd6ef3
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 27, 2026.

Transparency log

Security for kinetic-engine 0.1.1

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

All 3 files in this release have been uploaded with provenance metadata.

Select from 3 files

Attestation for kinetic_engine-0.1.1-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 27, 2026.

Transparency log

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

3 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page