GuardFlow — An Open-Source Python SDK for LLM Input Guardrails An independent developer released GuardFlow, an open-source Python SDK that inspects untrusted inputs before they reach LLM applications, and published an interactive demo called GuardFlow Agent Prompt Firewall as a Hugging Face Space. GuardFlow provides modular components for PII detection and redaction using Presidio and Flair, prompt-injection detection, secrets detection, input sanitization, and token-limit checks. The developer says the project is in early stages and is seeking collaborators on detection coverage, adversarial test cases and benchmarks, agent-framework integrations, and performance. Hi Hugging Face community I’ve released GuardFlow , an open-source Python SDK for inspecting untrusted inputs before they reach LLM applications. To make it easier to explore, I’ve now published GuardFlow Agent Prompt Firewall , an interactive Hugging Face Space. Try the live demo: GitHub: Consider an AI assistant receiving a user prompt containing personal information, an exposed credential, or instructions intended to override its original behavior. Instead of forwarding every input directly to a model, applications can introduce a configurable guardrail layer. GuardFlow provides components for: PII detection and redaction using Presidio and Flair Prompt-injection detection Secrets detection Input sanitization Token-limit checks The aim is to make these checks modular and reusable in Python-based AI applications. GuardFlow is still in its early stages, and I’d love to collaborate with developers working on Python, NLP, LLM security, and agent frameworks. Potential contribution areas include: Improving detection coverage and reducing false positives Adding adversarial test cases and benchmarks Building integrations with agent frameworks Improving performance and developer experience If you’re exploring input safety for AI agents, I’d be interested to hear which controls you consider most important.