Skip to main content

Python bindings for QueryMT Agent

Project description

querymt-agent

Python bindings for QueryMT Agent.

Install

From the repository root:

python -m venv .venv
source .venv/bin/activate
pip install maturin
maturin develop --manifest-path crates/py/querymt-py/Cargo.toml
maturin develop --manifest-path crates/py/querymt-agent-py/Cargo.toml

Quick Start

import asyncio
from querymt_agent import Agent


async def main() -> None:
    agent = await Agent.single(
        provider="openai",
        model="gpt-4o-mini",
        tools=["read_tool", "glob", "search_text"],
    )
    print(await agent.chat("Say hello briefly."))


asyncio.run(main())

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

querymt_agent-0.5.2.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

querymt_agent-0.5.2-cp310-abi3-win_amd64.whl (39.9 MB view details)

Uploaded CPython 3.10+Windows x86-64

querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (48.0 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (47.6 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

querymt_agent-0.5.2-cp310-abi3-macosx_11_0_arm64.whl (41.7 MB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file querymt_agent-0.5.2.tar.gz.

File metadata

  • Download URL: querymt_agent-0.5.2.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for querymt_agent-0.5.2.tar.gz
Algorithm Hash digest
SHA256 030439b956f9fa1de8fb5c0699db05ceddff76e9f8ebb65a9017bf3f4a7d15cf
MD5 986db935d464a29a074de36dcd7576a3
BLAKE2b-256 9faea125f61925069aea7d819c8aed386fe676ec721ca7a9d568dab837da04dc

See more details on using hashes here.

Provenance

The following attestation bundles were made for querymt_agent-0.5.2.tar.gz:

Publisher: publish-querymt-agent-pypi.yml on querymt/querymt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file querymt_agent-0.5.2-cp310-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for querymt_agent-0.5.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 31ba794782235940b60ca9e7cf4cfc902e37c9f3096a8e8b94ac23841307a075
MD5 e7a82920667296c6f431220676effd86
BLAKE2b-256 a05802fae3892f88bb0a98194dcf5012c6a9835508a17371b8055419386c27c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for querymt_agent-0.5.2-cp310-abi3-win_amd64.whl:

Publisher: publish-querymt-agent-pypi.yml on querymt/querymt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 76510210db3d40ec6d6bf34b4ddec065c934896310fc9185115c5a04a5d1a6b5
MD5 9ef5e6684e715326f463c9cdcfb4019d
BLAKE2b-256 b7fc442664f819d72c2eb6fc3b52e0c4e693507f8359e02599b96689ab7c7fac

See more details on using hashes here.

Provenance

The following attestation bundles were made for querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-querymt-agent-pypi.yml on querymt/querymt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 ade999cda520244ec3ddcde20b6efcf7bc1ce8390d49a75e88be471f1217662c
MD5 84d967ecce91f312cbfe6fcc677b5bed
BLAKE2b-256 9b667b56d73e4564f1c517aaddc880230a480e7b5d78b8f52a7de8ff76e88b04

See more details on using hashes here.

Provenance

The following attestation bundles were made for querymt_agent-0.5.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-querymt-agent-pypi.yml on querymt/querymt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file querymt_agent-0.5.2-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for querymt_agent-0.5.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 523431bef3481b40672b9c87dab006892896d5de0fa398739ac3751641789624
MD5 069cba1161e71a732b97c3de1d48d0a4
BLAKE2b-256 6a9abbcc5902c6899a386ab37a463340794b592bbecf62f8268a662e92144c9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for querymt_agent-0.5.2-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: publish-querymt-agent-pypi.yml on querymt/querymt

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