Open-source libraryOpen source · PyPI v0.5.0
NeuroSym-AI
Deterministic, auditable guardrails for LLM apps, voice agents and agent pipelines.
injection attack categories
9
built-in rule types
13
API keys needed for core rules
0
The problem
LLM apps and agents need checks on untrusted input, on model output and on the actions an agent takes. Most guardrail tools only cover chat output.
What I built
Input rules. Prompt-injection detection across 9 attack categories, with severity scoring and a semantic-embedding fallback.
Output and streaming rules. Block leaked secrets (AWS keys, JWTs, private keys) and system-prompt regurgitation, aborting a stream the moment a secret appears. PII is redacted instead of blocked.
Action policies. Validate what an agent is about to do (path sandboxing, destructive-action confirmation, step limits), with rules composed using AllOf / AnyOf / Not / Implies.
Config, not code. Load a full guard stack from YAML with 13 built-in rule types, plus LangChain and LlamaIndex adapters.
Repair and audit. An optional LLM repair loop with any provider, and a full trace for every decision.
Result
Published on PyPI and strictly type-checked. It's the reliability layer I add to AI workflows.

Pipeline architecture
0 likes · 0 views · Nov 26, 2026
Built and published an auditable guardrail library for LLM apps, agents, and workflows, with input, output, and action policies.