Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_query-1.7.51.tar.gz (702.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_query-1.7.51-py3-none-any.whl (111.7 kB view details)

Uploaded Python 3

File details

Details for the file ai_query-1.7.51.tar.gz.

File metadata

  • Download URL: ai_query-1.7.51.tar.gz
  • Upload date:
  • Size: 702.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ai_query-1.7.51.tar.gz
Algorithm Hash digest
SHA256 eda5517af5a4c7ccc17b1c49590c9e4b9a4aad5ba1244604cf59b262d3c5d8bd
MD5 e097cf72ba658b87e3d35c2f6ef3c664
BLAKE2b-256 bf034c3e5d32ccff83a4856a0d72983e0fd9051da93c6e46d2a677b1b9a30fe2

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_query-1.7.51.tar.gz:

Publisher: release.yml on Abdulmumin1/ai-query

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_query-1.7.51-py3-none-any.whl.

File metadata

  • Download URL: ai_query-1.7.51-py3-none-any.whl
  • Upload date:
  • Size: 111.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ai_query-1.7.51-py3-none-any.whl
Algorithm Hash digest
SHA256 e340299104f65897b7efa848c16c8050a3a9aa303601e28d508efd0f4e89531e
MD5 daf508272e6135a0f5d50cd532f329bc
BLAKE2b-256 749cd3c52a7110129f219f6e4523e2670407529e791b5acf0cc8d1fc9325bc5e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_query-1.7.51-py3-none-any.whl:

Publisher: release.yml on Abdulmumin1/ai-query

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page