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.55.tar.gz (735.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.55-py3-none-any.whl (124.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.7.55.tar.gz
  • Upload date:
  • Size: 735.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.55.tar.gz
Algorithm Hash digest
SHA256 a2951bd7cb9e56d6d072043664d5537060dc48ce2a7f5240ea075e0f5437c0e3
MD5 f7858f8d2911f5fa84efff0c4f9f8f2d
BLAKE2b-256 fda77736a78c457e1df189106f220ea9f76dd6a2fbf640ac24a6ba74e1b99cbf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.7.55-py3-none-any.whl
  • Upload date:
  • Size: 124.1 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.55-py3-none-any.whl
Algorithm Hash digest
SHA256 451fffc82f4af9311dc05b7f72ec284b1f5061921a08a24601a33d01f9790379
MD5 b9018fef7783bf9ee4e0068b22d93318
BLAKE2b-256 c220309dadb74f507e57481df53986960e861d28f3b380c0af3e3979bdf18189

See more details on using hashes here.

Provenance

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