A unified Python SDK for querying AI models from multiple providers
Project description
ai-query
Python SDK for model calls, tools, and stateful agents.
Install
pip install ai-query
Docs
The full documentation lives in docs/.
Start here:
Quick Example
from ai_query.agents import Agent
from ai_query.providers import openai
agent = Agent("assistant", model=openai("gpt-4o"))
async with agent:
print(await agent.chat("Hello"))
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ai_query-1.7.49.tar.gz.
File metadata
- Download URL: ai_query-1.7.49.tar.gz
- Upload date:
- Size: 700.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4af8add53b10e9481d36a8ced3d9661c5459bfdde19a9c93e55d869b485970eb
|
|
| MD5 |
29c23c74ed062d3142bdeafddd7ad91a
|
|
| BLAKE2b-256 |
07e287a5ee441bdf20c76eaec70b9b5d878141b5251d8f8234527f3680a467a2
|
Provenance
The following attestation bundles were made for ai_query-1.7.49.tar.gz:
Publisher:
release.yml on Abdulmumin1/ai-query
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_query-1.7.49.tar.gz -
Subject digest:
4af8add53b10e9481d36a8ced3d9661c5459bfdde19a9c93e55d869b485970eb - Sigstore transparency entry: 1607023006
- Sigstore integration time:
-
Permalink:
Abdulmumin1/ai-query@c9dbf2aa0a39b78abce7baf921e54e807c3d37a8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Abdulmumin1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c9dbf2aa0a39b78abce7baf921e54e807c3d37a8 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ai_query-1.7.49-py3-none-any.whl.
File metadata
- Download URL: ai_query-1.7.49-py3-none-any.whl
- Upload date:
- Size: 110.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2ae37bd7a3b33166e391afa8364c01243aecb366e0528e2c4db0ceea8eb532e
|
|
| MD5 |
0267da43a1623953e9a323f78bce01a8
|
|
| BLAKE2b-256 |
1f92bdb868535b61b4676638ef0208eed61bcf40aa5a22de4e5d9e42d62cde6f
|
Provenance
The following attestation bundles were made for ai_query-1.7.49-py3-none-any.whl:
Publisher:
release.yml on Abdulmumin1/ai-query
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ai_query-1.7.49-py3-none-any.whl -
Subject digest:
a2ae37bd7a3b33166e391afa8364c01243aecb366e0528e2c4db0ceea8eb532e - Sigstore transparency entry: 1607023114
- Sigstore integration time:
-
Permalink:
Abdulmumin1/ai-query@c9dbf2aa0a39b78abce7baf921e54e807c3d37a8 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Abdulmumin1
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@c9dbf2aa0a39b78abce7baf921e54e807c3d37a8 -
Trigger Event:
push
-
Statement type: