Skip to content

Add rai-guard — runtime Responsible AI compliance engine (OWASP LLM Top 10, EU AI Act, NIST AI RMF)#3158

Closed
ashish993 wants to merge 1 commit into
vinta:masterfrom
ashish993:add-rai-guard
Closed

Add rai-guard — runtime Responsible AI compliance engine (OWASP LLM Top 10, EU AI Act, NIST AI RMF)#3158
ashish993 wants to merge 1 commit into
vinta:masterfrom
ashish993:add-rai-guard

Conversation

@ashish993
Copy link
Copy Markdown

What is rai-guard?

rai-guard is an open-source runtime Responsible AI compliance engine for Python.

Compliance frameworks enforced at runtime:

  • OWASP LLM Top 10 (LLM01–LLM10)
  • EU AI Act (Articles 9–17)
  • NIST AI RMF 1.0

Three integration modes — drop it into any stack:

Mode How
OpenAI-compatible proxy raiguard serve
ASGI middleware AIGuardMiddleware for FastAPI/Starlette
Python decorator @guard.protect

Checks: prompt injection, PII (SSN, credit cards, API keys), toxicity, hallucination risk scoring, insecure output (SQL/XSS/shell injection)

Evidence trail: async SQLite audit log (WAL mode), HTML/JSON compliance reports, live dashboard

Why AI and Agents > Agent Skills? It adds safety/compliance enforcement as a skill layer on top of any LLM-backed application or agent framework (LangChain, LlamaIndex, OpenAI SDK, etc.).

Repo: https://github.com/ashish993/rai-guard | License: Apache 2.0 | Python: 3.10+

Copilot AI review requested due to automatic review settings May 24, 2026 17:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Adds a new “Agent Skills” entry to the README’s curated list of AI/LLM development libraries.

Changes:

  • Add rai-guard to the Agent Skills list with a detailed description.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
- Agent Skills
- [django-ai-plugins](https://github.com/vintasoftware/django-ai-plugins) - Django backend agent skills for Django, DRF, Celery, and Django-specific code review.
- [graphify](https://github.com/safishamsi/graphify) - Turn any folder of code, SQL schemas, R scripts, shell scripts, docs, papers, images, or videos into a queryable knowledge graph.
- [rai-guard](https://github.com/ashish993/rai-guard) - Runtime Responsible AI compliance engine that enforces OWASP LLM Top 10, EU AI Act, and NIST AI RMF via proxy, ASGI middleware, or Python decorator. Ships checks for prompt injection, PII, toxicity, hallucination, and insecure output with async SQLite audit logging.
@JinyangWang27
Copy link
Copy Markdown
Collaborator

@ashish993 Thanks for your submission. However, this project does not meet our acceptance criteria:

Repository age: The repository was created 1 day ago. We require a minimum of 3 months (or 6 months for Hidden Gem submissions) to ensure project stability.

GitHub stars: 0 star (minimum 100 required, or strong justification for Hidden Gem).

Please see our CONTRIBUTING.md for full requirements. You're welcome to resubmit once the project has matured and gained community traction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants