HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
invariantlabs-ai
invariant
Python2024–2025
invariantlabs-ai / invariant

invariant

Guardrails for secure and robust agent development

2Distinct people
12Mentions
0Explicit recommenders
476GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Guardrails for secure and robust agent development

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 9–Nov 16 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/16/2026, 8:59:02 AM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month12 dated mentions

Observed mentions: 2024-08-20 19:32:25 UTC to 2025-04-18 17:37:45 UTC.

012342024-08-01 00:00:00 UTC to 2024-09-01 00:00:00 UTC (exclusive): 2 mentions; 1 submissions, 1 commentsAug 20242024-09-01 00:00:00 UTC to 2024-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-10-01 00:00:00 UTC to 2024-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-01 00:00:00 UTC to 2024-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 4 mentions; 3 submissions, 1 commentsDec 20242025-01-01 00:00:00 UTC to 2025-02-01 00:00:00 UTC (exclusive): 2 mentions; 2 submissions, 0 comments2025-02-01 00:00:00 UTC to 2025-03-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2025-03-01 00:00:00 UTC to 2025-04-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-04-01 00:00:00 UTC to 2025-05-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 commentsApr 2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 20242024-08-01 00:00:00 UTC2024-09-01 00:00:00 UTC211
Sep 20242024-09-01 00:00:00 UTC2024-10-01 00:00:00 UTC000
Oct 20242024-10-01 00:00:00 UTC2024-11-01 00:00:00 UTC000
Nov 20242024-11-01 00:00:00 UTC2024-12-01 00:00:00 UTC000
Dec 20242024-12-01 00:00:00 UTC2025-01-01 00:00:00 UTC431
Jan 20252025-01-01 00:00:00 UTC2025-02-01 00:00:00 UTC220
Feb 20252025-02-01 00:00:00 UTC2025-03-01 00:00:00 UTC110
Mar 20252025-03-01 00:00:00 UTC2025-04-01 00:00:00 UTC202
Apr 20252025-04-01 00:00:00 UTC2025-05-01 00:00:00 UTC110

What Hacker News says

1 sources

Show HN: Guardrails – A Contextual Security Layer for Agentic AI Systems

Hey HN, we are a small team from Europe building in agent security and we have just released Invariant Guardrails, our open-source system to enforce contextual security in AI agents and MCP-powered applications. Guardrails acts as a transparent layer between your LLM/MCP server and your agent. It lets you define deterministic rules that block risky behavior: secret leakage, unsafe tool use, PII exposure, malicious code patterns, jailbreaks, loops, and more. Rules are written in a Python-inspired DSL, enabling powerful contextual logic like below. The origins of this idea go back to OPA/Rego, i.e. policy languages used for authentication. raise "PII leakage in email" if: (out: ToolOutput) -> (call: ToolCall) any(pii(out.content)) call is tool:send_email({ to: "^(?!.*@ourcompany.com$).*$" }) It’s fast (low-latency, pipelin
Read the rest
ed execution), supports both hosted and local deployments, and integrates via simple proxies. You keep your agent code unchanged. Let us know what you think. We found it quite helpful for MCP debugging and security analysis so far. Happy to answer questions! Docs: https://explorer.invariantlabs.ai/docs Repo: https://github.com/invariantlabs-ai/invariant Blog post: https://invariantlabs.ai/blog/guardrails Playground: https://explorer.invariantlabs.ai/playground
1 points · Open discussion

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.