aqven-llm
Provider isolation for AQVEN. Every import of a model provider SDK
lives in this one package, behind a single factory. The rest of the engine receives a ready Model and never
imports openai, anthropic, google.genai or the provider modules of Pydantic AI.
📖 Documentation · 🔌 Models and providers · 📚 API reference
Why a separate package
Provider SDKs are the least stable part of an LLM stack: they change shape, they bring their own HTTP clients, and they each retry differently. Letting them leak across a codebase makes every one of those changes a cross-cutting one.
aqven-llm draws a hard boundary. The engine asks for a model by reference and gets one back; the guarantee
chain — retries, budgets, cassettes, instrumentation — is layered on top of it uniformly, whichever provider
answered. The boundary is enforced, not just documented: a lint rule fails the build if a provider import
appears anywhere else.
Install a provider
Providers are extras, so you only install the SDKs you actually call:
uv add "aqven-llm[anthropic]"
Available extras: anthropic, bedrock, cohere, google, groq, huggingface, mistral, xai.
OpenAI is included by default, and OpenAI-compatible gateways such as OpenRouter and Together go through it.
Custom providers can register themselves through an entry point, without changing this package.
Usually you do not install this directly
aqven-llm is a dependency of aqven and is pinned to the same version. Install
aqven instead — it brings this package with it, along with Studio.
uv tool install aqven
Keywords
LLM provider abstraction · model factory · OpenAI · Anthropic · Google Gemini · Bedrock · Mistral · Cohere · Groq · xAI · OpenRouter · Pydantic AI · structured output · streaming
License
AQVEN License 1.0.0, based on PolyForm Shield 1.0.0 — source-available. Use it for any purpose, including in production and in commercial products you build with it. You may not use it to provide a product that competes with AQVEN, and you may redistribute AQVEN itself only free of charge and for a non-commercial purpose.
Copyright Kirill Burkhanov.
Release files for aqven-llm 0.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aqven_llm-0.0.3.tar.gz | 21.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aqven_llm-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 51.7 kB
Release files / aqven_llm-0.0.3.tar.gz
| Download URL | aqven_llm-0.0.3.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
492b7fa56070428236ea579567aaf873ab12be205a0504b42e3efcfe47c6a05e
|
|
BLAKE2b-256 checksum How to use checksums |
b96b7936d04ddd16f62ca98ff22019b5a4b28c3ee520e13c65cd42c328023404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / aqven_llm-0.0.3-py3-none-any.whl
| Download URL | aqven_llm-0.0.3-py3-none-any.whl |
|---|---|
| Size | 29.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6eb9f380451805a1d2cd20f6f6a0bfe6c9949a98f938fd9eb92c8192ac700f9c
|
|
BLAKE2b-256 checksum How to use checksums |
01932877f1beee9a4c0cd623ee4f76349d955277ef89f6b05beaebb186f89074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.15 {"installer":{"name":"uv","version":"0.12.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|