Skip to main content

Ultra-low latency LLM routing based on Kolmogorov Complexity and Compression.

Project description

kolmo 🧠

Ultra-low latency LLM routing based on Kolmogorov Complexity and Statistical Compression.

kolmo is a zero-VRAM, microsecond-latency router for Large Language Models. Instead of using neural networks (embeddings) to classify user intent, it uses Information Theory and Normalized Compression Distance (NCD) to route prompts to the most efficient model.

🚀 The Vision

  • Zero VRAM: Runs entirely on CPU, freeing up your GPU for what matters.
  • Explainable: No black-box embeddings. Understand exactly why a prompt was routed based on compression ratios.
  • Language Agnostic: Works at the byte level. Supports any human language or programming language natively.
  • Blazing Fast: $O(n)$ complexity based on text length.

🛠 Installation

pip install kolmo

🏗 Status

kolmo is currently in Pre-Alpha. The current release (v0.0.1) is a placeholder for the upcoming information-theoretic routing engine.


Created by Carlos Bustamante & KODEX.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kolmo-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kolmo-0.0.1-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file kolmo-0.0.1.tar.gz.

File metadata

  • Download URL: kolmo-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kolmo-0.0.1.tar.gz
Algorithm Hash digest
SHA256 375abe3c59e3d5f123bd322d35e41eb998b525d4da1db893725ce1d2713828e0
MD5 bcda77a6a797b3dfa416338b84c84860
BLAKE2b-256 51792413305cf8f33a40ae842910146f32c9d142a0a3ea86570f4f67fbc21b1f

See more details on using hashes here.

File details

Details for the file kolmo-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: kolmo-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for kolmo-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4f803931fc04467f8390c3a040662c7cf9dc025ead6b80cefaea08b81f6cc745
MD5 d1825be24fe00ffd2ab3930b9da171ad
BLAKE2b-256 b770a7c55973c89d9f513f09eb8471a96ec758896dd871736eb9b54e405d6d1e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page