Skip to main content

Weaviate Agents Python Client

Main Branch PyPI version

This package is a sub-package to be used in conjunction with the Weaviate Python Client. Rather than installing this package directly, you should install it as an optional extra when installing the Weaviate Python Client.

pip install weaviate-client[agents]

Query Agent

Query Agent is a Weaviate-native agent that turns natural-language questions into precise database operations, making full use of dynamic filters, cross-collection routing, query optimization, and aggregations. It returns accurate and relevant results with source citations. It replaces manual query construction and ad-hoc logic with runtime, context-aware planning that optimizes and executes queries across user collections.

Query Agent supports two modes:

  • Ask mode: for building agentic applications that require conversational interactions and answers backed by data stored in Weaviate. This can be accessed using the ask() and ask_stream() methods, depending on whether your application needs streaming tokens and progress messages.
  • Search mode: for building agentic applications that require high quality information retrieval with strong recall and controlled precision, without the final-answer generation. This can be accessed using the search() method.

The QueryAgent and AsyncQueryAgent clients provide sync and async versions of the same methods.

The Weviate Query Agent is Generally Available. For more information, see the Weaviate Agents - Query Agent Docs.

Transformation Agent

The Weaviate Transformation Agent is an agentic service designed to augment and transform data using generative models. Use the Transformation Agent to append new properties and/or update existing properties of data on existing objects in Weaviate.

⚠️ Alpha Release: Weaviate Transformation Agent is currently in alpha and is subject to change. Features may be modified or removed without notice. Please check that you are using the latest version of the package.

For more information, see the Weaviate Agents - Transformation Agent Docs.

Personalization Agent

The Weaviate Personalization Agent is an agentic service designed to return personalized recommendations tailored to each user. The developer would simply provide a user profile with a history of interactions, and the Personalization Agent takes care of all intervening steps to provide a set of personalized recommendations from Weaviate.

⚠️ Alpha Release: Weaviate Personalization Agent is currently in alpha and is subject to change. Features may be modified or removed without notice. Please check that you are using the latest version of the package.

For more information, see the Weaviate Agents - Personalization Agent Docs.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weaviate_agents-1.8.0.tar.gz (112.4 kB view details)

Uploaded Source

Built Distribution

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

weaviate_agents-1.8.0-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: weaviate_agents-1.8.0.tar.gz
  • Upload date:
  • Size: 112.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.8

File hashes

Hashes for weaviate_agents-1.8.0.tar.gz
Algorithm Hash digest
SHA256 878a4e0892ba028417389abf1caaea5947e8b76c6edcd706946c06093239bcfa
MD5 e99e4e8b4b985bedf818dc83eeae2872
BLAKE2b-256 6cfac392cbad0cd088070e9200e12a13d6cb3b8f33ee68e2afddec405c58e24d

See more details on using hashes here.

File details

Details for the file weaviate_agents-1.8.0-py3-none-any.whl.

File metadata

File hashes

Hashes for weaviate_agents-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 40b93991bba26f3931c105e3d6f2c71604f3d74f7801a6e9382562751cc9b3b3
MD5 693c5f849d3e23825f8c02ca81a49f99
BLAKE2b-256 657197060d755c6e88b65371a13791704497841543b2267c27feef597e468d34

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page