Skip to content

Installation

The Glacis Python SDK provides cryptographic attestation for AI systems. Install it to prove what your AI did, what data it saw, and what controls were active — with zero data egress.

  • Python 3.9 or higher
  • pip, poetry, or uv (Python package manager)
Terminal window
pip install glacis
import glacis
print(glacis.__version__) # 0.5.0

Install extras to enable provider integrations, controls, and more:

Terminal window
# Single extra
pip install glacis[openai]
# Multiple extras
pip install glacis[openai,anthropic]
# Everything
pip install glacis[all]
ExtraIncludesUse Case
openaiOpenAI SDK (openai>=1.0.0)Auto-attesting OpenAI wrapper
anthropicAnthropic SDK (anthropic>=0.18.0)Auto-attesting Anthropic wrapper
geminiGoogle GenAI SDK (google-genai>=1.0.0)Auto-attesting Gemini wrapper
redactionPresidio, spaCy, PyYAMLPII/PHI detection controls (scan-only, no text modification)
jailbreakTransformers, PyTorch, PyYAMLJailbreak and prompt injection detection
controlsredaction + jailbreak combinedAll input/output controls
allAll of the above + dev toolsFull SDK with every integration and control
  1. Visit glacis.io and sign up
  2. Create an organization
  3. Generate an API key (glsk_live_...)
  4. Pass the key to the SDK when creating a client:
    glacis = Glacis(api_key="glsk_live_your_key_here")