Skip to main content

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.

Metadata

Release files for aqven-llm 0.0.4

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

Source distribution (sdist)

Source distribution for aqven-llm 0.0.4
File Size Uploaded
aqven_llm-0.0.4.tar.gz 21.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aqven-llm 0.0.4
File Interpreter ABI Platform
aqven_llm-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 51.7 kB

Release files / aqven_llm-0.0.4.tar.gz

Download URL aqven_llm-0.0.4.tar.gz
Size 21.8 kB
Tags Source
SHA-256 checksum
How to use checksums
0cf396e0c68361d97fc98dbe70fe5ae4c984599d582bfa1c5205b71cecdd0491
BLAKE2b-256 checksum
How to use checksums
f56a722489611064c9257ec7d561fde9082904c566ddf5f2ac77b7198f2c27e7
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.4-py3-none-any.whl

Download URL aqven_llm-0.0.4-py3-none-any.whl
Size 29.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e0a292985d74212d32341af7d22dfab3432c34a373978fbda200873a89ea5752
BLAKE2b-256 checksum
How to use checksums
012675416ba6e7e4507de1d49c5b21c17c0cce16ad73d49b0c82805cd514362f
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 history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

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