xyberos-llm-providers
Remaining LLM providers plugin — RFC-0019, M6. Thin configs, no new
architecture. The long tail of OpenAI-compatible providers are covered by
presets over the core OpenAICompatibleLLM; Azure OpenAI, AWS Bedrock and
Google Vertex AI get dedicated LLMProvider adapters.
Install
pip install xyberos-llm-providers # from PyPI
pip install "xyberos-llm-providers[llm_providers]" # optional: boto3 + google-auth for Bedrock/Vertex
# development (editable, from this repo):
pip install -e ./llm-providers
# (also available as the core extra):
pip install xyberos[llm-providers]
Provider presets (OpenAI-compatible — one line each)
provider |
base URL | default model | API key env |
|---|---|---|---|
openai |
api.openai.com/v1 |
gpt-4o-mini |
OPENAI_API_KEY |
mistral |
api.mistral.ai/v1 |
mistral-small-latest |
MISTRAL_API_KEY |
groq |
api.groq.com/openai/v1 |
llama-3.3-70b-versatile |
GROQ_API_KEY |
deepseek |
api.deepseek.com/v1 |
deepseek-chat |
DEEPSEEK_API_KEY |
cohere |
api.cohere.com/compatibility/v1 |
command-r-plus |
COHERE_API_KEY |
together |
api.together.xyz/v1 |
Llama-3.3-70B-Instruct-Turbo |
TOGETHER_API_KEY |
xai |
api.x.ai/v1 |
grok-2 |
XAI_API_KEY |
openrouter |
openrouter.ai/api/v1 |
openrouter/auto |
OPENROUTER_API_KEY |
from xyberos_llm_providers import get_llm
llm = get_llm("groq") # key from GROQ_API_KEY
print(llm.generate("Say hi"))
Dedicated adapters
- Azure OpenAI —
AzureOpenAILLM(deployment, endpoint=..., api_key=...)posts to the Azure deployments endpoint with anapi-keyheader (AZURE_OPENAI_ENDPOINT,AZURE_OPENAI_API_KEY,AZURE_OPENAI_DEPLOYMENT). - AWS Bedrock —
BedrockLLM(model_id)overbedrock-runtime.converse(lazyboto3; region fromAWS_REGION/AWS_DEFAULT_REGION). - Google Vertex AI —
VertexAILlm(model, project=...)over thegenerateContentREST API (lazygoogle-authtoken;VERTEX_AI_PROJECT/GOOGLE_CLOUD_PROJECT).
Plugin usage
from xyberos import create_app
from xyberos_llm_providers import LlmProvidersPlugin
app = create_app()
app.load_plugin(LlmProvidersPlugin(provider="deepseek")) # or set LLM_PROVIDER=deepseek
print(app.llm.generate("Say hi"))
provider accepts a preset name or azure_openai / bedrock / vertex.
An unconfigured plugin registers nothing (logs a warning); calling
plugin.llm() directly surfaces misconfiguration errors.
Examples
examples/llm_providers.py— lists presets and runs one;--stubfor a no-network demo, otherwise a real call.
Tests
pip install pytest
pytest tests/
All adapters are tested against stub transports / fake clients — no network, no SDKs required. Bedrock/Vertex lazy-import tests skip when their SDK is present.
Ship location
Plugin (xyberos.plugins entry point) / [llm-providers] extra. One
LLMProvider contract; providers are implementations of it.
Metadata
Release files for xyberos-llm-providers 0.1.1
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 | Actions |
|---|---|---|---|---|
| xyberos_llm_providers-0.1.1.tar.gz | 10.6 kB | With provenance | Details for xyberos_llm_providers-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xyberos_llm_providers-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for xyberos_llm_providers-0.1.1-py3-none-any.whl |
Total release size: 21.2 kB
Release files / xyberos_llm_providers-0.1.1.tar.gz
| Download URL | xyberos_llm_providers-0.1.1.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7eb845f4fdcb1a56764953ef2a96fcad2ce6ce996d761e779970683b2e27a337
|
|
BLAKE2b-256 checksum How to use checksums |
992721dd9598686b3beb13d0f1766a8da741e967292bdffd5a9d5c56dc0cb99f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logRelease files / xyberos_llm_providers-0.1.1-py3-none-any.whl
| Download URL | xyberos_llm_providers-0.1.1-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3585e0553911f75793aebccfe0076b05c8d85a7755ffaa583a75a8aa00b8fa3d
|
|
BLAKE2b-256 checksum How to use checksums |
fb8b8352f01490a27929c9cc729a7b552b498d2c2f161921cb93bfd033c60caa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logSecurity for xyberos-llm-providers 0.1.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for xyberos_llm_providers-0.1.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.
Transparency logA 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.