Skip to main content

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

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.8.0.tar.gz (737.7 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.8.0-py3-none-any.whl (124.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.8.0.tar.gz
  • Upload date:
  • Size: 737.7 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.8.0.tar.gz
Algorithm Hash digest
SHA256 230c2cc05e164ed0e585f1746b7983eae6933b2a931485646fea274b4bbb73a2
MD5 38d3a91334126f1970a06a2805a3fd6e
BLAKE2b-256 e302cbb2eb6f3c0b7d9c9aa45fbeb7128948be042e08b159d163e053113f6723

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 124.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.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 942936fe9a3e2db49885699480fab39e9dffccc87d8413e31df0e40eb66513af
MD5 b550afdba78e98eff64b1645ce76c920
BLAKE2b-256 03c234bfc88148a4d911ee355d5799e57ec3f341275e7ac00470bc7db8297682

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

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