shellward
AI security and guardrails
Scanner and runtime guard that checks AI projects against Chinese compliance rules
140 23 2 months ago Active Apache-2.0
Self-hosted proxy that filters prompts and responses between your app and LLM APIs
Listed by Alston Antony, founder & editor
Health
DormantStars
181
Last commit
17 months ago
Jun 2025
Repository age
1 year
since Jun 2025
Latest version
–
Contributors
–
Releases
0
last 12 months
Language
Python
Trylon Gateway is a FastAPI proxy that sits between your application and models from OpenAI, Google Gemini and Anthropic Claude. It checks requests and responses against policies you define, then validates, sanitizes or blocks them.
The guardrails target prompt injection, PII leakage, and toxic or off-brand output. You define them in a policies.yaml file. The default policy blocks any request containing an email address. Because the proxy exposes a chat completions endpoint, you can point an application at it and keep the same safety rules when you switch models.
You deploy it with Docker Compose. The first launch downloads machine learning models of roughly 1.5GB or more, which are cached in a persistent Docker volume. It runs on your own infrastructure, so data is filtered before it leaves your network.
The code is under BUSL-1.1, which is source-available rather than open source. It is a self-hosted option for teams comparing hosted LLM guardrail services.
It can block sensitive input and toxic output before they reach users or the model provider.
Skip if: You need a project with ongoing maintenance, since there has been no recent activity.
It redacts PII locally and supports logging policies as a base for compliance work.
Skip if: Your legal team requires an OSI-approved open source license.
One policy file applies the same rules across OpenAI, Gemini and Claude.
Skip if: You rely on providers beyond those three.
Apps that call hosted LLMs can leak personal data, accept prompt injections or return toxic text. This gateway puts a policy layer in front of the model on your own infrastructure.
git clone https://github.com/trylonai/gateway.git
cd gateway From the project's own install instructions. Check the docs for production settings.
The code is under the Business Source License 1.1, which is source-available. Check its terms before commercial use.
Yes. Deploy it with Docker and Docker Compose on your own infrastructure.
OpenAI, Google Gemini and Anthropic Claude.
It downloads machine learning models of about 1.5GB or more into a persistent Docker volume, so later starts are faster.
No. The last commit was in June 2025 and there are no recent contributors.
AI security and guardrails
Scanner and runtime guard that checks AI projects against Chinese compliance rules
140 23 2 months ago Active Apache-2.0
AI security and guardrails
115 18 2 months ago Dormant Unknown
AI security and guardrails
Offline moderation API that flags toxicity, PII, spam and prompt injection in text and
116 22 32 days ago Slowing MIT
AI security and guardrails
Script that finds OpenClaw AI agent installs on endpoints for IT security teams
89 8 9 months ago Dormant MIT
AI security and guardrails
63 3 10 months ago Dormant Unknown
AI security and guardrails
Security scanner for OpenClaw agent skills, checked against the OWASP ASI Top 10
41 4 2 months ago Slowing MIT