Safety Guardrails for Large Language Model Workflows
Overview
A model-agnostic safety layer for developers building with large language model (LLM) applications. Maps starter controls to the Open Worldwide Application Security Project Top 10 for Large Language Model Applications 2025 risk categories https://genai.owasp.org/llm-top-10/ via a modular rule engine. Supports regular-expression rules, lightweight natural language processing (NLP) intent checks, optional scanners, and semantic large language model reviewer checks on prompts, conversations, retrieved context, tool inputs and outputs, streaming chunks, and model outputs. Supports workflows with the 'Ollama' local web service https://ollama.com/ via 'ellmer', remote reviewer endpoints, and other chat interfaces callable from 'R'. Intended as an experimental guardrail layer that teams should evaluate against their own workflows before relying on it in production.
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK7 OK2026-05-29
Documentation
- Help pages
- 41 (5 internal)includes a package overview page
- Examples that run
- 85%29 run in a plain check · 5 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Architecture HTML
- Custom Rules HTML
- Ecosystem Context HTML
- Evaluation and Evidence HTML
- Getting Started HTML
- Ollama and Local Strategies HTML
- Operations and Audit Logs HTML
- OWASP Coverage HTML
- Policy Design HTML
- RAG Pipeline HTML
Show 1 moreHide 1 vignette
- Threat Model HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Issues over time
9 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/ineelhere/llmshieldr on 2026-10-18.
The R CMD check workflow runs on Linux and Windows
GitHub Pages site last deployed 2026-10-10 · The repository has a site deploy workflow
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
- 0.1.0Latest2026-05-28 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-05-28
- Total releases
- 1 / 1 yrs
- License
- Apache License (>= 2)
- Minimum R
- ≥ 4.1.0
- Download size
- 1.4 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("llmshieldr")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.