Skip to main content
The Python SDK provides synchronous and asynchronous clients for VectorAI DB over gRPC, plus optional REST-based auth/admin helpers.

Prerequisites

To use the Python SDK, make sure you have:
  • Python 3.10 or later
  • numpy 1.26 or later
  • grpcio 1.80 or later
  • pydantic 2.10 or later
Follow these steps to install and begin using the SDK:

Install the SDK

Install the core SDK from PyPI.

Optional extras

Install extras when your application needs the related integration.

Configure the client

The SDK reads ACTIAN_VECTORAI_* environment variables and .env files automatically. Constructor arguments take precedence over environment values.

Verify installation

VectorAI DB required: To verify your installation, run VectorAI DB locally first. Follow the local installation guide if you need a server.
Run a health check against the default gRPC endpoint.

Virtual environments

Install the SDK inside a virtual environment to avoid dependency conflicts.

Troubleshooting

Next steps

Quickstart

Create a collection, insert vectors, and run a search.

Python reference

Review namespaces, configuration, filters, batching, and errors.