07
Guardrails & Safety
Stops the bad input before it, and the bad output after.
- NeMo GuardrailslibraryProgrammable rails that constrain conversational flow.More about NeMo Guardrails in this index
- Guardrails AIlibraryValidators that check model output against a defined schema.More about Guardrails AI in this index
- Llama GuardlibrarySafety classifier for prompt and response moderation.More about Llama Guard in this index
- Microsoft PresidiolibraryPII detection and anonymization for text and images.More about Microsoft Presidio in this index
- Lakera GuardservicePrompt injection and jailbreak detection at the gateway.More about Lakera Guard in this index
- garaklibraryScanner that probes models for known vulnerability classes.More about garak in this index
- PyRITlibraryMicrosoft's red-team tool for generating and scoring attack prompts.More about PyRIT in this index
- Invariant GuardrailsplatformGuardrails as code, enforced inline in the call path.More about Invariant Guardrails in this index
By Lattice editorial · Layer boundaries and entries verified · method
Also relevant here
These tools are indexed in another layer, but they also do guardrails & safety's job. Each carries its home layer's colour.
- PortkeyRoutingIts guardrails run inline in the request path, which is where safety checks belong rather than after the response.
- TrueFoundryRoutingIts guardrails enforce in the call path alongside the gateway rather than as a separate service.
- OpenAI Agents SDKAgentsGuardrails are a first-party primitive on the runner rather than a proxy in front of it.