Colang

Definition

A domain-specific scripting language created by NVIDIA for defining conversational guardrails in NeMo Guardrails. Colang lets developers write dialog rails — rules that control conversation flow, prevent harmful dialog patterns, and enforce topic boundaries. Colang scripts define what models can say; they do not define what models can do.

Why It Matters

Colang is powerful for dialog control but operates at the conversation layer, not the execution layer. A model constrained by Colang can still generate tool calls that bypass dialog rails entirely — because tool execution is a separate surface from conversation.

How Exogram Addresses This

Colang governs dialog. Exogram governs execution. They operate at different layers. Use Colang to keep conversations safe. Use Exogram to keep tool calls safe.

Related Terms

medium severityProduction Risk Level

Key Takeaways

  • This concept is part of the broader AI governance landscape
  • Production AI requires multiple layers of protection
  • Deterministic enforcement provides zero-error-rate guarantees

Governance Checklist

0/4Vulnerable

Frequently Asked Questions