Dyva is a dynamic proxy that transparently routes to insecure Ollama, vLLM, LM Studio, LocalAI, SGLang, KTransformers, MLX, llama.cpp, ds4 (DwarfStar), Fooocus, Strata, A1111 (stable-diffusion-webui), Gradio, and ComfyUI hosts from Shodan, ZoomEye, Censys, hunter.how and FOFA with graceful failover, context-window scaling, and honeypot detection.
Capable of text generation, embeddings, systemone style decision models, vision, tool calling, image generation and editing, video generatoin, TTS, and music generation in a unified interface with state of the art, real-time tunable router providing sub 1s latency.
Dyva supports unified workflows for stable diffusion, minimax h3, z-image, ltx 2.2, 2.3, 2.5, qwen-image, loras, iris, flux.1, 2 and 3, including the klein variations, and much more. You can just chat with the agent and have it do it for you.
See a demo or run it yourself with a few keystrokes on Linux, Windows, Mac, and even Android.
uvx dyva
Along with being so ollama-compatible the ollama client doesn't know the difference, dyva has a feature-rich front-end with chat that includes image generation, web search, sub agent, documents, host drilldown and exploration, video generation, tts, stats, geomaps, and even graphically tweaking the routing algorithm.
Memory footprint is under 1GB:
Querying for models
The massive varieties of models and installations are unified through a model query syntax which allows any tool to leverage any subslice of the pool by specifying as the model to use.
This is designed so you can slice and dice the pool in any application. Place it AS the model.
For instance * means use any model. >2026 means anything released after 2026, qwen>2026>10gb,gemma4 means 'use any qwen released in 2026 over 10gb and fallback to Gemma4 if you can't find any"
The details:
- Specified as partial strings or globs such as
qwen*27bor evenabliteratedfor the times you want to slip into something more comfortable. - As fallbacks with a comma such as
gemma3,qwen3.6(try the first, fall back to the second) - By size like
qwen >10gb - By release date like
qwen>2026.
They can be stacked so qwen>2026>5gb means the newer large qwens. You can also slice by many other fields.
Finding new hosts
You can multi-source host lists or bring your own. There's a separate survey tool called graflex.
That means dyva can sit on top of your own infrastructure as well as strangers from the Internet.
There's also a simple command line.
Notes
- Dyva's architecture draws a hard line at incurring any additional costs. Only unused time on idle machines.
- Other dyva servers get flagged and excluded from the survey so this will not just become a hall of mirrors. You can avoid getting picked up by other scanners in the wild by adding a
base_path, this is configurable in settings on the dash. - Running this might get you blocked temporarily from numerous sites on CDNs such as Cloudflare. This includes IoT networks, imdb, huggingface, cloud storage, all kinds of stuff... even banks. The public surveys have honeypots with tripwires that get the
srcaddr(you) put in some temporary ban pool with an expiry merely by atcp_connect(). These are also called canaries in the literature.- There's a rich testing and probing harness in dyva to block these based on an ensemble of techniques. You can also sweep and mark based on model queries to quarantine them but it's a slightly moving target because a static list of honeypots defeats the purpose. There is a protocol called gossiper that's intended to mostly mitigate this. YMMV. Also see the survey for more notes.
Pet the feral llama
\\
l'> Bahhhhh
ll
llama~
|| ||
'' ''
Metadata
Release files for dyva 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| dyva-0.6.5.tar.gz | 814.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dyva-0.6.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.6 MB
Release files / dyva-0.6.5.tar.gz
| Download URL | dyva-0.6.5.tar.gz |
|---|---|
| Size | 814.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
84b432b703ca6345525e84c7623e97cb51f67e56c9b3a89facfba6d7098b84b9
|
|
BLAKE2b-256 checksum How to use checksums |
ac6c6d36cfc17875ad135079b6b19e78a2fc5aa033ff978b708922dd25a3d373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.11
|
Release files / dyva-0.6.5-py3-none-any.whl
| Download URL | dyva-0.6.5-py3-none-any.whl |
|---|---|
| Size | 782.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e6b8df68aeec733729578d00262d1cb7ec06c9ba5ae92bd69d23dd976c35627
|
|
BLAKE2b-256 checksum How to use checksums |
9dce2fad28521d15e3a52ae6258f28dc019ffff9910c59e423393dc476c7bb13
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.11
|
Security for dyva 0.6.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.