weftai-providers
Provider tool adapters for Weftai. Install with pip install weftai-providers.
Adapters turn a bound Weftai tool into the tool-definition and tool-result shapes expected by a model host; they do not make provider HTTP requests or choose a model on your behalf.
| Module | Tool surface |
|---|---|
openai |
Chat Completions, Responses, legacy functions, Assistants/Realtime helpers, Azure, and OpenAI-compatible presets |
anthropic |
Messages tools and the optional Anthropic tool runner |
google |
Gemini generateContent and Interactions |
bedrock |
Amazon Bedrock Converse |
ollama |
Native /api/chat |
cohere |
Cohere Chat v2 |
dashscope |
Native DashScope Generation and MultiModalConversation |
hunyuan |
Tencent Cloud Hunyuan ChatCompletions |
spark |
Classic iFlytek Spark WebSocket tools |
ai_sdk |
Vercel AI SDK tool() shape |
weftai.providers.openai.PRESETS covers the current OpenAI-shaped hosted, local, and regional
hosts. The capability catalog validates known model/API combinations and points callers to an
explicit API override when a model is unknown.
See the provider guide
and run uv run --package weftai-example-chat python -m chat_examples.openai from a clone for a
small OpenAI wire-shape example.
Laya decisions
The Laya adapter implements the shared Decider interface for a long-running HTTP service. Python: from weftai.providers.laya import LayaDecider; npm: import { LayaDecider } from "@weftai/providers/laya". Supply an operator-owned endpoint, and an httpx.AsyncClient in Python. Failures abstain; permissions remain the host's responsibility.
Metadata
Release files for weftai-providers 0.5.0
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 |
|---|---|---|---|---|
| weftai_providers-0.5.0.tar.gz | 27.2 kB | With provenance | Details for weftai_providers-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| weftai_providers-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for weftai_providers-0.5.0-py3-none-any.whl |
Total release size: 55.9 kB
Release files / weftai_providers-0.5.0.tar.gz
| Download URL | weftai_providers-0.5.0.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa72e5f97acf1442da3db71b7798c3668d444c9620d842f1bdcadbf38d27023e
|
|
BLAKE2b-256 checksum How to use checksums |
5d59f6a01464104ca1e2e39a50c9c3f55894d042d8e0c56f9f6e330134831431
|
| 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 30, 2026.
Transparency logRelease files / weftai_providers-0.5.0-py3-none-any.whl
| Download URL | weftai_providers-0.5.0-py3-none-any.whl |
|---|---|
| Size | 28.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fd2b461d8f140beb434bea0438bd949f2c7dbee33bad2f24b23e5b6281e03a7c
|
|
BLAKE2b-256 checksum How to use checksums |
a6c4c5de687479f7c00a9a79bef9698f82ecf04d299c4abedb7f50759a8732c7
|
| 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 30, 2026.
Transparency logSecurity for weftai-providers 0.5.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for weftai_providers-0.5.0.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 30, 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.