Built an open-source safety layer for LangChain apps — blocks injections + hallucinations

Been building LLM apps and kept running into two problems:

prompt injections breaking my chains, and hallucinations reaching users.

Built LLMGuard to solve both — wraps any LLM call with:

- Prompt injection classifier (F1: 0.944)

- Hallucination detector using NLI

- Shared agent memory with ChromaDB

pip install neeraj-llmguard

GitHub: https://github.com/Neeraj-Ch0udhary/llmguard

Would love feedback from people building production LangChain apps.

Posted May 22, 2026, 8:43 PM UTC

21
Loading comments…