Skip to navigation

Colang 2.0 Guide

View as MarkdownOpen in Claude

Colang 2.0 is a beta version of the Colang language and runtime. Use this guide to review what changed from Colang 1.0, migrate existing configurations, work through the getting started examples, and explore the language reference.

The Colang 1.0 and Colang 2.x runtimes are deprecated in 0.25.0; removal is planned no earlier than 0.27.0. The IORails engine will not support Colang 2.x, so Colang 2.x has no replacement. Every construction of LLMRails on a Colang 2.x configuration emits an LLMRailsRemovalWarning, except in nemoguardrails chat, which prints the notice to standard error, and in the Guardrails API server, which logs it. For the steps, refer to Migrating to 0.25.