# KCL

> An open-source constraint-based record and functional language for configuration and policy

Source: https://talira.ai/catalog/kcl-hq9kgy2r
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]
- Typing: Gradual[^2]
- Paradigms: Functional, configuration[^3]
- Package registries: Artifact Hub[^3]
- Latest release: 0.13.3 (17 Nov 2026)[^4]
- Backed by: [Cloud Native Computing Foundation](https://talira.ai/orgs/cncf.md)
- Funding: non-profit[^5][^6]

KCL (short for Kusion Configuration Language) is a configuration and policy language, hosted by the Cloud Native Computing Foundation as a Sandbox project. It's a Python-like, constraint-based record and functional language: schemas define configuration types with attribute requirements, type checks, range constraints and rules, config blocks merge automatically with several strategies, and values stay immutable. It aims at cloud-native configuration, cutting the per-environment sprawl of Kubernetes YAML with abstractions, and can mutate and validate existing manifests (`kcl vet` checks Terraform plan files, among others). It supports OpenAPI, Kubernetes CRDs and KRM, has SDKs for Rust, Go, Python, Java and Node.js, IDE extensions, and a package manager whose modules are published to OCI registries and listed on Artifact Hub. Originally developed for the Kusion platform. Apache-2.0 licensed.

## Links

- Website: https://kcl-lang.io/
- GitHub: https://github.com/https://github.com/kcl-lang/kcl
- Docs: https://kcl-lang.io/docs/user_docs/getting-started/intro

## Libraries for KCL

Talira doesn't list any yet.

## Problems it solves

- stop maintaining separate Kubernetes YAML files for every environment
- validate Kubernetes manifests or Terraform plans against policy rules
- a typed configuration language for cloud-native config
- which config language should we use for our platform's application config
- give developers simple abstractions over Kubernetes configuration

## Features

- schemas with type checks, attribute requirements and range constraints
- automatic merging of isolated config blocks with several strategies
- immutable values
- mutation and validation of existing manifests (kcl vet)
- OpenAPI, Kubernetes CRD and KRM support
- SDKs for Rust, Go, Python, Java and Node.js
- package manager with modules in OCI registries

## 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.68, momentum 0.50, community 0.73, backing 0.55, extensibility 0.20.

- last commit today
- 118 commits in the last 90 days
- latest release v0.13.3 7 days ago
- 2.4k GitHub stars
- 67 contributors
- backed by Cloud Native Computing Foundation
- funding: non-profit

## Alternatives

- [Pkl](https://talira.ai/catalog/pkl-85gnh4vy.md): A configuration-as-code language with rich validation and tooling
- [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
- [Nickel](https://talira.ai/catalog/nickel-6h57zkq8.md): Better configuration for less
- [CUE](https://talira.ai/catalog/cue-3grjf0fr.md): Validate, define, and use dynamic and text-based data
- [Starlark](https://talira.ai/catalog/starlark-wvv3bmfb.md): A Python dialect designed as a configuration language, made for Bazel

## Sources

[^1]: https://github.com/kcl-lang/kcl/blob/main/LICENSE (checked 24 Nov 2026)
[^2]: https://kcl-lang.io/docs/user_docs/getting-started/intro (checked 24 Nov 2026)
[^3]: https://kcl-lang.io/ (checked 24 Nov 2026)
[^4]: https://github.com/kcl-lang/kcl/releases/tag/v0.13.3 (checked 24 Nov 2026)
[^5]: https://www.cncf.io/about/charter/ (checked 20 Nov 2026)
[^6]: https://www.cncf.io/ (checked 20 Nov 2026)
