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.44.tar.gz (691.2 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.44-py3-none-any.whl (107.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.7.44.tar.gz
  • Upload date:
  • Size: 691.2 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.44.tar.gz
Algorithm Hash digest
SHA256 b3dea6ab0a865290fcac5e76dd12b1ed3efcd159cfb39c59d9a7dae43c877648
MD5 50e8f537aee000acf69406b45a0062f0
BLAKE2b-256 117f08306b1c1b9edf4c541d950cf9b9e8a9d5c96cfc548454aabaaf7b783c5e

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.7.44-py3-none-any.whl
  • Upload date:
  • Size: 107.0 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.44-py3-none-any.whl
Algorithm Hash digest
SHA256 35e180fb79bb3ae14e814d80c63fc7bc9cb798fa94e997b01dda2cec7957af53
MD5 ad8e48007648d4f2a914cecf4d953cbe
BLAKE2b-256 5522d0ae266f210b3f7260c9125d803d921e11fab625e5772b6d9a9292b2f57c

See more details on using hashes here.

Provenance

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