Skip to main content

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.

Release files for weftai-providers 0.2.2

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

Source distribution (sdist)

Source distribution for weftai-providers 0.2.2
File Size Uploaded
weftai_providers-0.2.2.tar.gz 24.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for weftai-providers 0.2.2
File Interpreter ABI Platform
weftai_providers-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 50.7 kB

Release files / weftai_providers-0.2.2.tar.gz

Download URL weftai_providers-0.2.2.tar.gz
Size 24.5 kB
Tags Source
SHA-256 checksum
How to use checksums
edeca4950455433f7c4f0b7b9faf38bd4061acd836f2f48d94cec3bdcd0c27c2
BLAKE2b-256 checksum
How to use checksums
e75e210d76a133a94e174f20e077a1523cd95fe7a0d8ac7b4af5fd4778285014
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 log

Release files / weftai_providers-0.2.2-py3-none-any.whl

Download URL weftai_providers-0.2.2-py3-none-any.whl
Size 26.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61b0d2649df20db1b6467fe2c9ef262979568f4364abc8bb05c028b6dd4f5245
BLAKE2b-256 checksum
How to use checksums
f153bea6044edad26811a7e92c95546cfb9dfe03f9b6c4731df3a60407406626
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 log

Release history Release notifications | RSS feed

0.2.4

1 release file

0.2.3

1 release file

This release

0.2.2 This release

2 release files

0.2.1

1 release file

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