Gu

Guardrails – A Contextual Security Layer for Agentic AI Systems

Hacker News

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, pipelined 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

Share card

Actual performance

1points
Did not reach leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: agents, agent, agentic · Missing: mac, macos, cursor
92%92% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: supports · Missing: reddit linkedin, podcasting, created
64%64% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
TrustMRRFits verified-revenue profile · Missing: mobile apps, ios, personal
61%61% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
Hacker NewsMay not resonate with HN audience · Strong signals: just released, ide, pipe · Missing: https docs, excited, exist
49%49% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
34%34% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
16%16% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

Sa
SagaShield – ACID transactions and security guardrails for AI agents30%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

SagaShield – ACID transactions and security guardrails for AI agents

Hacker News1
Insyte Security
Insyte Security17%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Security Systems

Indie Hackerscommitment-full-time
Agentline
Agentline67%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Build Smarter with Agentic AI Systems

Product Hunt
DeepExa
DeepExa8%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Agentic AI For Ancestry Research

Indie Hackerscommitment-full-time
SecureNow
SecureNow57%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Agentic AI that takes care of your app security

Product Hunt
Pr
Praval Agentic AI Framework39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Praval Agentic AI Framework

Hacker News3
An
An Agentic AI dataset for deepfake detection38%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

An Agentic AI dataset for deepfake detection

Hacker News1
SoulBuffer
SoulBuffer51%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Agentic AI mediator for couples & conflict de-escalation

Indie Hackers1ai
qBotica
qBotica19%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Agentic AI That Runs Your Business

Indie Hackers
Oraczen AI
Oraczen AI53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Agentic AI

Product Hunt+1