The VectorShift Python SDK lets you build, run, and manage Pipelines, Agents, and Knowledge Bases from Python. It targets the same backend as the platform UI, so anything you build in the SDK is editable in the visual editor and vice versa.Documentation Index
Fetch the complete documentation index at: https://docs.vectorshift.ai/llms.txt
Use this file to discover all available pages before exploring further.
Requirements
- Python 3.10 or newer
- A VectorShift account and API key
Setup
Install the package
Set your API key
Generate one in the platform under Account → API Keys, then export it:See Authentication for programmatic setup and key rotation.
Optional extras
httpx for async transport. Recommended if you use astream, arun, or any other async method.
Type checking with mypy
The SDK ships a mypy plugin that validates pipeline node wiring and agent tool definitions at static-check time. It catches things plain type hints can’t — wrong field names on a node builder, type mismatches between connected pipeline nodes, agent tools missing requiredToolInputs, and so on — before you save and run.
Enable the plugin
Add a The plugin name is the dotted import path. It works whether you installed
mypy.ini to your project root (or merge into your existing one):vectorshift from PyPI or as an editable install.What’s next
Pipeline
Build and run pipelines.
Agent
Agents with tools and multi-turn sessions.
Session
Stream tool events and multi-turn replies.
