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.9.2.tar.gz (745.8 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.9.2-py3-none-any.whl (128.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.9.2.tar.gz
  • Upload date:
  • Size: 745.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ai_query-1.9.2.tar.gz
Algorithm Hash digest
SHA256 84be4fd6b1b75be826808a82ae96284718d981486b5d2075c9f30ec99b63a278
MD5 d160984e1ccd0f15632458981205de87
BLAKE2b-256 198222a256f7963ec64a820a455dcce209cd00b291f539ba3d88d214c19ff2d4

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.9.2-py3-none-any.whl
  • Upload date:
  • Size: 128.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for ai_query-1.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 fadc65c0de6655792b16ee8633e0565a2e3bd91d94fe4acfb2947d0fe6940735
MD5 22512079bf04398fee9ca1c64ca6ce4f
BLAKE2b-256 59b021033acb72a795482f0715fed679a00a77f004ed166cc3427546a3fbe9a2

See more details on using hashes here.

Provenance

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