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.40.tar.gz (685.8 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.40-py3-none-any.whl (104.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.7.40.tar.gz
  • Upload date:
  • Size: 685.8 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.40.tar.gz
Algorithm Hash digest
SHA256 33eba9b063105b3f8b6f8670c2a3c85042fd2841dfa7edf052b544cdbe88d6d1
MD5 dbb442590e985674e4cdea8c9e5e83ae
BLAKE2b-256 bd7dafa7c616bf9aa607562ee6f44a1fa7e21570961d632d8e233d0deeb5809e

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_query-1.7.40.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.40-py3-none-any.whl.

File metadata

  • Download URL: ai_query-1.7.40-py3-none-any.whl
  • Upload date:
  • Size: 104.5 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.40-py3-none-any.whl
Algorithm Hash digest
SHA256 60e7838460635242dbd4c8c5ec9e1b95ddacbb2e17dc8971ac4176e02b59b94c
MD5 aa80aed417a1973167d878126334ccc5
BLAKE2b-256 7dfed1a13f206e621dbb4b672150eacc62cc2b216befda2d03937a7b4ea025f8

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_query-1.7.40-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