garak
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
What garak is
garak is a command-line scanner that probes large language models and dialog systems for failure modes. Its probes cover prompt injection, jailbreaks, data leakage, hallucination, misinformation and toxic output. It combines static, dynamic and adaptive probes, and detectors score each response. Supported targets include Hugging Face models, Replicate, the OpenAI API, AWS Bedrock, LiteLLM, GGUF models through llama.cpp, and models reachable over REST. Results show a failure rate for each probe and detector pair. Full run details are logged to a JSONL file. It installs from PyPI and is developed on Linux and macOS.
Written from the project's README, read .
- Category
- AI and LLM evaluation, Security testing
- License
- Apache-2.0
- Language
- Python
- Changelog
- Releases on GitHub
Repository metrics
Status
activeLast commit within 90 days of the fetch date.Computed from the last commit date and the archive flag on the fetch date. See the status rules.
Alternatives
Listed AI and LLM evaluation tools, same primary language first, then by GitHub stars. Each line gives one fact from the tool's documentation where it differs from garak's, with its source.
OpenAI Evals: Model providers: Models on the OpenAI API; completion functions in evals/registry/completion_fns or any CompletionFn implementation. source: Docs: How to run evals
DeepEval: Model providers: OpenAI, Azure OpenAI, Ollama, Anthropic, Gemini, LiteLLM; custom models through DeepEvalBaseLLM. source: Docs: Introduction to LLM Metrics
Ragas: Model providers: OpenAI, Anthropic, Google directly; Azure OpenAI, AWS Bedrock, Google Vertex AI and others through LiteLLM. source: Docs: Customise models
Language Model Evaluation Harness: Model providers: Hugging Face transformers, vLLM, SGLang, GGUF via llama.cpp, NeMo, Megatron-LM; OpenAI, Anthropic, LiteLLM, local API servers. source: README
Giskard: Model providers: Provider SDK extras such as openai and anthropic; default judge model openai/gpt-4o-mini. source: README
TruLens: Model providers: OpenAI, Azure OpenAI, LiteLLM, Google Gemini, AWS Bedrock, Snowflake Cortex, HuggingFace, LangChain models, OrcaRouter. source: README
HELM: Model providers: Models from various providers through one interface, such as OpenAI, Anthropic Claude, Google Gemini. source: README
Inspect: Model providers: OpenAI, Anthropic, Google, Grok, Mistral, DeepSeek; AWS Bedrock, Azure AI; Groq, Together AI; local models. source: Docs: Model Providers
How to install
python -m pip install -U garakQuestions
Is garak open source?
Yes. garak is released under Apache-2.0, an OSI-approved license, as reported by the GitHub API on 2026-09-22.
Is garak maintained?
On 2026-09-22, the last commit to the default branch was on 2026-09-16, so the listed status is active. Rule: Last commit within 90 days of the fetch date.
How many GitHub stars does garak have?
9,330 stars on 2026-09-22, from the GitHub API. The number is refreshed at each monthly update.
What language is garak written in?
The repository's primary language, as reported by the GitHub API, is Python.
How do I install garak?
The README gives this command: python -m pip install -U garak
Sources
- GitHub REST API: repository, read
- GitHub REST API: commits, read
- GitHub REST API: latest release, read
- GitHub REST API: contributors, read
- README, read