# CUE

> Validate, define, and use dynamic and text-based data

Source: https://talira.ai/catalog/cue-3grjf0fr
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Programming language
- Categories: [developer tools / programming languages / configuration](https://talira.ai/categories/developer-tools/programming-languages/configuration)
- Licence: Apache-2.0[^1]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Paradigms: Logic, configuration[^2]
- Package registries: CUE Central Registry[^3]
- Latest release: 0.18.0 (24 Nov 2026)[^4]
- Backed by: [The CUE Project](https://talira.ai/orgs/cue-project.md)

CUE is an open source data validation language and inference engine with its roots in logic programming. It merges types and values into one hierarchy, so the same file can be a schema, a set of constraints and the data itself, and combining CUE values in any order gives the same result. Teams use it to validate JSON and YAML, define and check large configurations, template values and defaults to cut boilerplate, generate code and schemas (Go, Protobuf, OpenAPI) and script workflows. The `cue` command line tool and a Go API do the work, and modules are shared through OCI registries such as the CUE Central Registry. Its roots lie in GCL, Google's internal configuration language. Apache-2.0 licensed.

## Links

- Website: https://cuelang.org/
- GitHub: https://github.com/https://github.com/cue-lang/cue
- Docs: https://cuelang.org/docs/

## Libraries for CUE

Talira doesn't list any yet.

## Problems it solves

- validate my YAML and JSON config files against a schema in CI
- a typed configuration language for large Kubernetes configurations
- which config language should we use to replace templated YAML
- merge configuration from several teams without conflicts
- keep my OpenAPI, Protobuf and Go definitions in sync from one schema
- check that a new version of a schema is backwards compatible

## Features

- types and values in one lattice: schemas, constraints and data in one language
- validate JSON and YAML against CUE schemas
- order-independent unification of configuration from many sources
- templates and defaults to remove boilerplate
- generate and extract code and schemas (Go, Protobuf, OpenAPI)
- modules published to OCI registries such as the CUE Central Registry
- Go API and cue command line tool

## Capabilities

- Has a command line tool: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.71 out of 1.
Signals: maintenance 1.00, adoption 0.76, momentum 0.60, community 0.86, backing 0.30, extensibility 0.20.

- last commit yesterday
- 1466 commits in the last 90 days
- latest release v0.18.0 today
- 6.3k GitHub stars
- 141 contributors
- backed by The CUE Project

## Alternatives

- [Pkl](https://talira.ai/catalog/pkl-85gnh4vy.md): A configuration-as-code language with rich validation and tooling
- [KCL](https://talira.ai/catalog/kcl-hq9kgy2r.md): An open-source constraint-based record and functional language for configuration and policy
- [Nickel](https://talira.ai/catalog/nickel-6h57zkq8.md): Better configuration for less
- [Jsonnet](https://talira.ai/catalog/jsonnet-j43k4twn.md): A configuration language for app and tool developers
- [HCL](https://talira.ai/catalog/hcl-pczpmjqa.md): The HashiCorp configuration language
- [Starlark](https://talira.ai/catalog/starlark-wvv3bmfb.md): A Python dialect designed as a configuration language, made for Bazel

## Sources

[^1]: https://github.com/cue-lang/cue/blob/master/LICENSE (checked 24 Nov 2026)
[^2]: https://cuelang.org/docs/introduction/ (checked 24 Nov 2026)
[^3]: https://cuelang.org/docs/reference/modules/ (checked 24 Nov 2026)
[^4]: https://github.com/cue-lang/cue/releases/tag/v0.18.0 (checked 24 Nov 2026)
