Scope: Runtime firewall + cryptographic audit
Use when: You need pre-execution mediation of tool calls with tamper-evident evidence. Only open-source runtime firewall with a peer-reviewed cost-aware cascade (arXiv:2603.12621). 99.9% block at 1.06 ms P50 and $0.05 total cost on ToolGuard-Bench.
Caveat: Content-safety detectors are English-centric today; multi-lingual detectors are on the roadmap.
github.com/Justin0504/Aegis →
Guardrails AI
Apache-2.0 · 5k+
Scope: Structured-output validation + validator hub
Use when: You want Pydantic-style validation of LLM output and a community marketplace of 100+ validators. Best complement to a runtime firewall — validators feed signals into the gateway.
Caveat: Not a tool-call gateway; validates output rather than mediating execution.
github.com/guardrails-ai/guardrails →
NeMo Guardrails
Apache-2.0 · 4.5k+
Scope: Conversational flow rails (Colang DSL)
Use when: You want topical / input / output / retrieval / execution rails expressed as Colang rules. Strong for content shaping and conversation constraints; particularly good for chatbot use cases.
Caveat: Colang is a novel DSL; ramp-up cost non-trivial. Not primarily designed as a tool-call gateway.
github.com/NVIDIA/NeMo-Guardrails →
Llama Guard
Llama Community License · model card
Scope: Content-safety classifier (trained)
Use when: You want a self-hosted classifier for prompt / output content safety. Meta ships model weights; deploy via HF Inference or vLLM. Blocks 67.1% of malicious tool calls at 73 ms P50 in our benchmark — good baseline signal, not a full gateway.
Caveat: Requires GPU inference; classifies text, does not enforce policy on tool execution.
huggingface.co/meta-llama/Llama-Guard-3-8B →
Rebuff
Apache-2.0 · 1.3k+
Scope: Prompt-injection detection (canary tokens)
Use when: You want a lightweight prompt-injection detector that uses canary tokens + heuristic + LLM check. Complements a gateway; not a gateway itself.
Caveat: Narrower scope than a runtime firewall; recent commit velocity has slowed.
github.com/protectai/rebuff →
Scope: LLM observability (post-execution)
Use when: You want to record every LLM + tool call for offline analysis, prompt versioning, and evaluation. Different category from a firewall — deploy alongside a runtime gateway to log its decisions.
Caveat: Does not enforce; observes after the fact. No cryptographic audit chain — traces are in Postgres/ClickHouse.
github.com/langfuse/langfuse →
Helicone
Apache-2.0 · 3.5k+
Scope: LLM observability proxy
Use when: You want a simpler drop-in observability proxy focused on OpenAI-style APIs. Deploy alongside a runtime gateway for offline analysis.
Caveat: Same "observation not enforcement" caveat as Langfuse; smaller scope.
github.com/Helicone/helicone →