Comparison
guardrails-ai vs llm-guard vs nemoguardrails
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Adding guardrails to large language models.
Actively maintained. Last release 4 months ago, commits in 9 of the last 26 weeks. A safe choice.
pip install guardrails-aiLLM-Guard is a comprehensive tool designed to fortify the security of Large Language Models (LLMs). By offering sanitization, detection of harmful language, prevention of data leakage, and resistance against prompt injection attacks, LLM-Guard ensures that your interactions with LLMs remain safe and secure.
Archived. The repository is read-only: no more fixes or releases will come.
pip install llm-guardNeMo Guardrails is an open-source library for applying programmable safety and security controls to LLM and agentic applications.
Actively maintained. Last release 2 weeks ago, commits in 26 of the last 26 weeks. A safe choice.
pip install nemoguardrailsIn short
- llm-guard is archived: avoid it for new projects.
- nemoguardrails is the most used: 475.4K downloads a month, 3.9× more than llm-guard.
- nemoguardrails also has the best Pythie’s Index (84).
- Safe default for a new project: nemoguardrails.
Side by side
| Metric | guardrails-ai | llm-guard | nemoguardrails |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 73 | Pythie’s Index: 5 | Pythie’s Index: 84 |
| Verdict | Actively maintained | Archived | Actively maintained |
| Downloads / month | 97.5K | 122.3K | 475.4K |
| Downloads, month over month | -20% | -2% | -11% |
| GitHub stars | 7.7K | 3.2K | 7.6K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 80 | 6 | 11 |
| Last release | Aug 14, 2026 | May 19, 2025 | Nov 19, 2026 |
| Releases, 12 months | 20 | 0 | 8 |
| Weeks with commits | 9 / 26 | 1 / 26 | 26 / 26 |
| Recent contributors | 5 | 14 | 10 |
| First release | Mar 2023 | Aug 2023 | Apr 2023 |
| Python versions | 3.10 – 3.13 | 3.10 – 3.12 | 3.11 – 3.13 |
| License | Apache-2.0 | MIT | Apache-2.0 |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.