AmbientMeta Documentation
Use any AI without exposing sensitive data. Strip PII before the LLM, restore it after.
🚀 Quickstart
Get your first API call working in 5 minutes.
📖 API Reference
Complete endpoint documentation.
🐍 Python SDK
Install and use the official SDK.
🔗 Integrations
LangChain, LlamaIndex, and more.
How It Works
AmbientMeta Privacy Gateway sits between your application and external LLMs:
- Sanitize — Send text to our API. We detect and replace PII with placeholders like
[PERSON_1]. - Call your LLM — Send the sanitized text to Claude, GPT-4, or any model. The LLM never sees real PII.
- Rehydrate — Send the LLM's response back to us. We restore the original entities.
from ambientmeta import AmbientMeta import openai client = AmbientMeta(api_key="am_live_xxx") # 1. Sanitize user input result = client.sanitize("Email john@acme.com about the project") # 2. Call your LLM (with safe text) response = openai.chat.completions.create( model="gpt-4", messages=[{"role": "user", "content": result.sanitized}] ) # 3. Rehydrate the response final = client.rehydrate(response.choices[0].message.content, result.session_id)
Supported Entity Types
| Entity | Examples | Detection |
|---|---|---|
PERSON | John Smith, Dr. Jane Doe | NER + patterns |
EMAIL | john@acme.com | Regex + validation |
PHONE | (555) 123-4567 | Multi-format regex |
SSN | 123-45-6789 | Regex + checksum |
CREDIT_CARD | 4532-1234-5678-9012 | Regex + Luhn |
LOCATION | NYC, 123 Main St | NER |
Base URL
https://api.ambientmeta.com/v1
Authentication
Include your API key in the Authorization header:
Authorization: Bearer am_live_your_key_here
Ready to start? Follow the Quickstart guide to make your first API call in 5 minutes.