node-native, edge-ready, MIT-licensed.
How BonkLM sits next to Guardrails AI, Lakera Guard, NVIDIA NeMo Guardrails, and OpenAI’s Moderation API. Cyan ✓ ours; muted dash competitive; red ✕ absent. Last verified 2026-05-24 · methodology in /docs/compare.
Four products, honestly framed.
Feature parity isn’t the whole story. Below is the same matrix lens that ships in the upstream README: for each tool, what surface does it actually cover, what mechanism does it use, and what does it genuinely do well today — plus an honest caveat for each, including BonkLM’s own.
BonkLM
OURS · NODE · MIT- Surface coverage
- 7-surface canonical taxonomy: text_input, text_output, tool_call, retrieved_doc, memory_write, composed_context (v0.4.0); audio_partial in v0.6.
- Approach
- Deterministic pattern + structural defence. No ML in the hot path — every verdict is reproducible and runs in-process in microseconds.
- Strengths
- TypeScript-native, zero-deps core, framework / provider / platform agnostic
- Dedicated tool_call walker + handoff inputFilter + sealed wrapMemory for web3 agents
- ~0.05 ms p50 in-process (full engine, short prompt — single-core M-series, see `packages/core/benchmarks/RESULTS.md`)
- Honest caveats
- Pattern engine, not ML — multilingual coverage is regex breadth, not depth
- Stream partial-leak prevention requires full-response mode in current shape
Lakera
SAAS · CLOSED- Surface coverage
- Categorical scanners (prompt injection, harmful content, PII, etc.) via cloud API. Exact category count varies by tier — consult Lakera’s own docs.
- Approach
- Trained ML models, cloud-managed.
- Strengths
- Stronger multilingual recall via ML
- No infrastructure to run — managed service
- Honest caveats
- Network round-trip per call adds latency + new failure mode
- Vendor lock-in, per-request pricing, closed-source
LLM Guard
OSS · PYTHON- Surface coverage
- Broad scanner catalogue in a Python ecosystem; primarily input / output (exact count varies — consult upstream docs).
- Approach
- Hybrid ML + rules, Python-first.
- Strengths
- Broad scanner catalogue out of the box
- Apache-2.0, self-hostable
- Honest caveats
- Not Node.js or TypeScript-native — wrong runtime for many LLM stacks
- Fewer surface-specific factories (no dedicated tool_call / memory_write walker)
NeMo Guardrails
OSS · COLANG- Surface coverage
- Colang DSL for programmable conversation flow + rails.
- Approach
- Domain-specific DSL on top of an agentic engine.
- Strengths
- Excellent for conversational policy + rails — NVIDIA-backed
- Apache-2.0, self-hostable
- Honest caveats
- Colang learning curve; less deterministic than regex / structural rules
- Python-first — same runtime mismatch as LLM Guard for Node.js stacks
BonkLM is the deterministic Node.js-native pick for apps that need fast, predictable, composable guardrails wired into a specific connector / framework. It complements ML-based services — layer both: BonkLM for short-circuit, ML for what regex doesn’t catch.