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.1.tar.gz (745.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.9.1-py3-none-any.whl (128.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.9.1.tar.gz
  • Upload date:
  • Size: 745.3 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.1.tar.gz
Algorithm Hash digest
SHA256 9c74bf8df1b174d179f4f46270456c9a1bde5dd3c784e3af95cc4ab727fb1b2b
MD5 4534f327a36a8ae4c65f7c063d0fbedc
BLAKE2b-256 0d982f6b3715348e486c9fb68f7676275cb7f02de2f3f539f5dba36670917eae

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.9.1-py3-none-any.whl
  • Upload date:
  • Size: 128.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b89de53367ee7f0b467d6fe1bef2231f440c9c643b1a117f59358462b013c15e
MD5 9dde3903b40066997209830233329da1
BLAKE2b-256 2582a320daed81b7f358832cfef7999a1261c4e2bf999fc9186a85a2970dd5fe

See more details on using hashes here.

Provenance

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