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.39.tar.gz (685.3 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.39-py3-none-any.whl (104.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.7.39.tar.gz
  • Upload date:
  • Size: 685.3 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.39.tar.gz
Algorithm Hash digest
SHA256 e3cafc2c66390f8333594618cecc0698a4de0a907cde29f655c54a42a2240ece
MD5 d2960364e1f8b87a564e06985c97cef3
BLAKE2b-256 ac749d35788f06d069353c6606d049430ef160346454f1c443af0f74272897fb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.7.39-py3-none-any.whl
  • Upload date:
  • Size: 104.4 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.39-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ff7b9df60735f5bb7bc3eafb6fd909bc9b2bd12de467bbfee638101c11f9eb
MD5 5653c1ac6a4a9d973c83f6c8c5fef1e6
BLAKE2b-256 74dfc90451d0debc95e1eb3169b52a95b0e14bb8901fbdc7fddc61d412ef0a59

See more details on using hashes here.

Provenance

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