Python
Scan prompts, RAG content, and agent tool traffic from Python.
tawaguard-sdk is the official Python client for Tawa Guard — sync
(TawaGuard) and async (AsyncTawaGuard) clients, plus OpenAI Agents SDK
guardrails.
from tawaguard import TawaGuard
client = TawaGuard("YOUR_API_KEY")
result = client.analyze(user_input)
if result.action != "allow":
... # don't forward this prompt to your model