Requirements
- Python 3.10 or newer
- A VectorShift account and API key
Setup
Install the package
Set your API key
Generate one at 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.
