← All frameworks

ShieldGemma

Google's open safety classifiers, small enough to run beside your own model.

Guardrails

Google's open safety classifiers, small enough to run beside your own model. Built by Google.

Others in guardrails

Common questions

Is ShieldGemma free to use?

ShieldGemma is open source and free to run yourself. You still pay whichever model provider you point it at, and this tutorial is free with no signup.

Do I need to know Python to use ShieldGemma?

Basic Python is enough. Functions, dictionaries and imports cover most of what ShieldGemma asks of you.

When should I not use ShieldGemma?

When something else in guardrails fits the job better. The others in that group are listed below.

Lessons for ShieldGemma are being written. Meanwhile the APIs for AI tutorial covers the same ground: state, tools, loops, memory and human approval. Most of it carries straight over.

Start the APIs for AI tutorial →