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.
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.
Release files for tachyroute 0.1.0
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.0.tar.gz | 10.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tachyroute-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.1 kB
Release files / tachyroute-0.1.0.tar.gz
| Download URL | tachyroute-0.1.0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
174a856ff566fcef3ffa92d2adcb245f198d79c259a181d6f3b81d9c010b6b9e
|
|
BLAKE2b-256 checksum How to use checksums |
9d8b635c74aba7e897bb340fed0b38af15dd70a093a3123b7ef8e4455e9f2fff
|
| 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.0-py3-none-any.whl
| Download URL | tachyroute-0.1.0-py3-none-any.whl |
|---|---|
| Size | 10.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15f1e4319568eac8336d7d6f9aac6dfaf13ce52ee09625137a778ac4306c8451
|
|
BLAKE2b-256 checksum How to use checksums |
3a435ce76a30275d3f33c997151159a754187dcd9568b7c94f5cd9dc52c34e27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.2
|