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.43.tar.gz (687.6 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.43-py3-none-any.whl (105.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.7.43.tar.gz
  • Upload date:
  • Size: 687.6 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.43.tar.gz
Algorithm Hash digest
SHA256 53c18944c885c4659fa700171c05333bf40b1a2a94d3d8e9e9314a01c8c2ddf0
MD5 6d82e17a9f171fa9ce4c077c21814516
BLAKE2b-256 42331920c1e1d1ffef7286845e90adac6514de8f73a505e12215c29bb3e935e0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.7.43-py3-none-any.whl
  • Upload date:
  • Size: 105.3 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.43-py3-none-any.whl
Algorithm Hash digest
SHA256 613916cc1c5ed132b5805aa387be0b6301009c1ec398bdc81147e6266c0f6c39
MD5 a971086525d42c143398d8fd7c43d579
BLAKE2b-256 49984264afe2433a5e9bffbe251d45dc6cd06e8a9c811afe90eb68aa16be4c9d

See more details on using hashes here.

Provenance

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