All docs
Docs
API Reference

Python SDK

The Python SDK wraps hosted SQL, sessions, capabilities, proposals, and backups.

Overview

Use the Python SDK when it is available in your beta environment.

The SDK is designed for agent/RAG developers who start in Python.

The core shape is stable: connect, set trusted session values, run SQL, invoke capabilities, and inspect proposal/evidence lookup records.

Developer notes

  • Keep API keys in environment variables or your server-side secret store.
  • Set trusted session values before invoking capabilities.
  • Treat proposal approval and commit as privileged actions.
  • Pin SDK versions for beta apps so breaking changes are deliberate.