Welcome to CUE!

CUE is an open-source data validation language and inference engine with its roots in logic programming. Although the language is not a general-purpose programming language it supports and simplifies a wide variety of applications, such as data validation, configuration, querying, and code generation.

The inference engine can be used to validate data in code, or to include it as part of a code generation pipeline.

How to use this documentation

Select a section from the navigation bar on the left hand side of the page, or from this brief explanation of each section:

    A great place to start

    Take a trip through what’s possible with CUE, and learn how to install it on your computer
    Introduction

    New to CUE?

    See CUE’s features and syntax up close in this tour that’s suitable for newcomers to the language
    Tour

    JSON, YAML, Go, and more

    Learn how CUE integrates with a wide ecosystem of formats and tools
    Integrations

    Techniques and tools

    Learn about different language and tooling features through self-contained lessons that you can run on your own computer
    Tutorials

    Directions to specific goals

    Follow practical steps guiding you through completing tasks with CUE
    How-to Guides

    Theory and foundations

    Discover the approaches that CUE makes possible by exploring the ideas and theory that drive the language
    Concept Guides

    References

    Read the CUE language specification, a glossary of terms, the project’s code of conduct, and other core documents
    References