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.3.tar.gz (748.5 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.3-py3-none-any.whl (130.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ai_query-1.9.3.tar.gz
  • Upload date:
  • Size: 748.5 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.3.tar.gz
Algorithm Hash digest
SHA256 233bac595f61530940d47cb451cc7cbd5ae7d11bd74f24f60e81f80e2eebadcb
MD5 231159b0e63c0022967ec62aa2de4cac
BLAKE2b-256 a413a8e77dd0d7ee9148fd44efb91e5425e40ef247c1f2d8184124a1b2d8f16a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: ai_query-1.9.3-py3-none-any.whl
  • Upload date:
  • Size: 130.5 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 06dd841aeee7e37618b9bfe6fafe67a3d0d46eb67c507744d148c34a4251e365
MD5 9057404253747c491218fbf999847466
BLAKE2b-256 36655136530db8ff22887c849ece997860a328ab8b1174a33406b06c5ec4260f

See more details on using hashes here.

Provenance

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