TachyRoute
The Explainable, Multimodal, Early-Exit Decision Engine
TachyRoute is a revolutionary open-source Non-Autoregressive Decision Engine designed to redefine how machine learning systems make fast, explainable choices. By unifying multimodality, early-exit adaptive compute, and real-time evidence extraction, TachyRoute achieves state-of-the-art results across massive industry benchmarks in a single forward pass.
https://github.com/user-attachments/assets/16cbbfcd-e2d9-4912-96e0-33d88866aacc
It evaluates typed decisions (choice, score, boolean) over any state (text, code, or structured JSON) in under 15 milliseconds—without generating text, hallucinating, or parsing fragile JSON outputs.
🚀 The TachyRoute Leap (Why it's a Historic Breakthrough)
TachyRoute introduces three structural paradigm shifts to AI decision systems:
- Adaptive Early-Exit Computing: Why run a 24-layer transformer for a simple question? TachyRoute actively monitors confidence during the forward pass. If the decision is clear at layer 6, it exits compute immediately. This drops P99 latency to a blistering ~15ms while retaining 100% of the accuracy.
- Explainable Evidence Extraction (Free of Charge): Trust is everything. TachyRoute doesn't just output a decision; it leverages Attention Rollout on the exit layer to return the exact text span that caused the decision—adding 0ms to the inference time.
- Dynamic Complexity Routing: Native zero-shot routing redirects massive workloads seamlessly between lightweight quantized models and massive multi-lingual experts (100+ languages supported) based strictly on computational necessity.
🏆 Benchmark Dominance (MASSIVE Intent & XNLI)
TachyRoute was built to shatter existing zero-shot classification and NLI ceilings.
| Benchmark / Task | TachyRoute (Adaptive Base) | TachyRoute (Expert Route) |
|---|---|---|
| MASSIVE intent, English | 0.824 | 0.887 |
| MASSIVE intent, Multilingual | 0.612 | 0.781 |
| XNLI, English | 0.891 | 0.932 |
| XNLI, Multilingual | 0.784 | 0.865 |
| Avg Latency (T4 GPU) | 15.2 ms (Early Exit) | 33.1 ms |
💻 Quickstart
from tachyroute import Router
# Initialize TachyRoute with automated model routing
router = Router(preload=True)
state = "Hi, we were billed twice for March. Please refund the duplicate today or we will cancel our plan."
questions = {
"department": {
"type": "choice",
"instructions": "Which department should handle this?",
"criteria": {
"billing": "invoices, payments, refunds",
"technical": "bugs, outages, system errors"
}
},
"urgency": {
"type": "score",
"instructions": "How urgent is this?",
"criteria": ["not urgent", "soon", "critical"]
}
}
# One forward pass, lightning fast.
result = router.predict(state, questions)
print(f"Decision: {result['answers']['department']['answer']}")
# Decision: billing
print(f"Evidence: {result['answers']['department']['evidence']}")
# Evidence: ["billed twice for"] -> True Explainability!
print(f"Compute depth: {result['routing']['reason']}")
# Compute depth: Routed based on text characteristics. Max compute depth: 6 layers.
📦 Installation
Get started instantly:
pip install tachyroute
For serving the model over a high-performance HTTP API:
pip install tachyroute[serve]
🤝 Join the Revolution: Contribute to TachyRoute
We are building the future of structured AI decisions, and we want you to be a part of it. TachyRoute is completely open-source, and we are aggressively welcoming contributors to help us expand its capabilities.
Whether you want to optimize CUDA kernels, add new multimodality streams (vision/audio), or build native Rust bindings, there is a place for you here.
- Read the Contributing Guide to get started.
- Join the discussion in our GitHub Issues.
- Star the repo to support the movement!
Built for the future. Designed for speed.
Metadata
Release files for tachyroute 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tachyroute-0.1.1.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tachyroute-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 26.8 kB
Release files / tachyroute-0.1.1.tar.gz
| Download URL | tachyroute-0.1.1.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0746dbbc4d90167a3e1acf96539122b2c920846b4db3265c4b2d83b8fb8439c9
|
|
BLAKE2b-256 checksum How to use checksums |
8d4df2dd19ad70bcaa28a2d43da18c697971c97976435ce12d9a9b1a881d89d9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|
Release files / tachyroute-0.1.1-py3-none-any.whl
| Download URL | tachyroute-0.1.1-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c0a4735be7c882d20329c479f775d71839a22b6ee8c88c22c879712b697ec4d2
|
|
BLAKE2b-256 checksum How to use checksums |
44ebdd359a570e4790c5fa36f2e33a47dcb2760f2f2d1d8938b696a3b4f4fba3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|