{"repo":"Vishisht16/Humane-Proxy","free":true,"listed":false,"github":"https://github.com/Vishisht16/Humane-Proxy","clone":"git clone https://github.com/Vishisht16/Humane-Proxy.git","description":"Lightweight AI safety middleware that protects humans by intercepting self-harm and criminal intent in LLM prompts. Features a 3-stage safety pipeline, MCP server for agents, and automated care responses.","language":"Python","stars":29,"topics":["ai-safety","crime-prevention","guardrails","llm","mcp","middleware","python","self-harm-prevention"],"license":"Apache-2.0","category":"ai-agents","readme_excerpt":"Lightweight, plug-and-play AI safety middleware that protects humans. HumaneProxy sits between your users and any LLM. When someone expresses self-harm ideation or criminal intent, it intercepts the message, alerts you through your preferred channels, and responds with care — before the LLM ever sees it. --- What it does - Self-harm detected → Blocked with international crisis resources. Operator notified. - Criminal intent detected → Blocked or flagged. Operator notified. - Safe → Forwarded to your LLM transparently. Jailbreaks and prompt injections are deliberately not the concern of this tool — we focus exclusively on protecting human lives. --- Quick Start As a Python library As an MCP server (Claude Desktop, Cursor, any agent) This exposes 3 tools to your AI agent: check message safety , get session risk , and list recent escalations . --- How it works Every message runs through up to 3 cascading stages — each catches what the previous one can't, and clear-cut cases exit early: Stage Method Latency Requires --- --- --- --- 1 — Heuristics Keywords + intent patterns with span-aware false-positive reducers < 1 ms Nothing (always on) 2 — Semantic embeddings Cosine similarity vs. curated anchor sentences, ambiguity dampening 5-100 ms [onnx] or [ml] extra 3 — Reasoning LLM OpenAI Moderation / LlamaGuard / any chat model 1-3 s An API key Stage 2 catches what keywords miss ( \"Nobody would notice if I disappeared\" ); Stage 1's reducers keep \"how do I kill a process in Linux\" from","default_branch":null,"files":null,"tree":[],"storefront":"/r/Vishisht16","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Vishisht16/Humane-Proxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}