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.

Release files for aqven-llm 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 aqven-llm 0.0.1
File Size Uploaded
aqven_llm-0.0.1.tar.gz 16.5 kB Details

Built distribution (wheel)

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

Total release size: 38.2 kB

Release files / aqven_llm-0.0.1.tar.gz

Download URL aqven_llm-0.0.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e5a1dc790999572ab9a816f7258fe04501ba598dcee48c9ca871aab7b6349773
BLAKE2b-256 checksum
How to use checksums
77f32373e1698e31812f857bf42715125c4442061ad9276a1b726806bc2de899
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.1-py3-none-any.whl

Download URL aqven_llm-0.0.1-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99469a45b31f6a44a2e84e5b7d4046cddc6ee60ea709e97f9846b5e2006fb3a2
BLAKE2b-256 checksum
How to use checksums
5e1f713209a00e3f764edf82404b1cfe3cc5e798eb2bb61a75a80f625e0513b8
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

0.0.3

2 release files

0.0.2

2 release files

This release

0.0.1 This release

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