Skip to main content

shunt

Early development — APIs will change.

Shunt is a small, self-hosted router with an OpenAI-compatible API. It classifies every request — coding, reasoning, light chat — and forwards it to the cheapest open-source model that can handle it.

from shunt import Router

router = Router()
track = router.classify("Refactor this function to be async")
# -> "coding"

Planned for upcoming releases:

  • shunt serve — local OpenAI-compatible proxy server
  • Ordered fallback chains per track ("light", "general", "coding", "coding_heavy", "reasoning")
  • YAML configuration and a local SQLite cost ledger

Status

v0.0.1 is a name-holding stub for the project under active development. Follow progress at the project repository.

License

MIT

Metadata

Release files for shunt 0.0.1

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

Source distribution (sdist)

Source distribution for shunt 0.0.1
File Size Uploaded
shunt-0.0.1.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for shunt 0.0.1
File Interpreter ABI Platform
shunt-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 9.9 kB

Release files / shunt-0.0.1.tar.gz

Download URL shunt-0.0.1.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
da2037251195e52a46523b252e40d91317ce2c1c82ea84cc3a61b5208adb94f8
BLAKE2b-256 checksum
How to use checksums
2cd832313f8c673b91ee98c74321394c8aa584e0027e8a6fb311647ea789a42f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release files / shunt-0.0.1-py3-none-any.whl

Download URL shunt-0.0.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1e02ae24b3c756da8eeb0019003f9e28928a57bd57c9745c63791b81b75bd6f9
BLAKE2b-256 checksum
How to use checksums
20abe414fad8f667f41a8f0e584aa183e85082a7e9ca66ec8a1eda34cd11e9a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.7

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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