Examples#
Each example is one runnable file in examples/ and prints what each party sees. All but the brokerage agent use a scripted stand-in model, so they need only ENKRYPTAI_API_KEY, set in the environment or in .env.
Example |
Shows |
|---|---|
an attack refused before the model runs |
|
local |
|
one rule checked on the prompt and on the answer |
|
a guardrail saved in Enkrypt, by name |
|
personal data hidden from the model, restored for the tool and the user |
|
a tool call carrying the user’s name out, refused |
|
other customers’ data in a tool result, redacted for good |
|
personal data in the answer, sent back for another try |
|
every guard in one agent, with a real model |