Skip to main content

Python Quickstart

Three things you can do right now with pip install agntor.

Install

1. Guard Prompts (Offline — No API Key)

Block prompt injection attacks before they reach your LLM. Works offline, zero latency.
30 patterns covering English, French, German, Italian, Spanish, model token injection, zero-width character smuggling, and role manipulation.

2. Redact PII and Secrets (Offline — No API Key)

Strip sensitive data from LLM outputs before storing or returning them.
Detects: emails, credit cards, SSNs, AWS keys, API keys, bearer tokens, phone numbers, ETH private keys, BIP-39 mnemonics, Solana keys, Bitcoin WIF keys, HD paths, and more.

3. Trust + Escrow (Requires API Key)

Check trust, create escrow, settle payment.

4. Report Health Metrics

Feed the Reliability pillar of the trust score:

5. Audit Trail

Log actions for compliance and trust scoring:

API Reference

Next Steps