kcl-lang/kcl

KCL Language Core and API

Hosted by Cloud Native Computing Foundation · part of Linux Foundation

View on GitHub ↗Jump to charts ↓Open shareable report →

kcl-lang/kcl has 2k+ stars and 150+ forks on GitHub, is written in Rust, and was last pushed on Oct 16, 2026. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 29 minutes ago
Added to GitGenius on October 19th, 2024
Created on May 5th, 2022
Open Issues & Pull Requests: 12 (+0)
GitHub issues: Enabled
Number of forks: 172
Total Stargazers: 2,431 (+0)
Total Subscribers: 17 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 7.1 hours
Mean response time: 50.3 days
90th percentile: 167.1 days
Tracked items: 386

Maintainer activity

11 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 11, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits. How this is counted.

How this project is maintained

Practically every issue opened in the past year has drawn a reply. 91% of issues opened in the past year have since been closed. Three people close 89% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 19
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 504 days
Stale 30+ days: 10
Stale 90+ days: 8

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (180)
  • enhancement (134)
  • help wanted (110)
  • lsp (93)
  • tool (75)
  • good first issue (68)
  • resolver (60)
  • semantic (43)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

KCL is an open-source, constraint-based record and functional programming language designed to simplify the creation of complex configurations in cloud-native environments. Implemented primarily in Rust, it is a CNCF Sandbox Project that combines programming language technology with configuration management practices to enhance modularity, scalability, and stability. The language draws inspiration from high-level languages like Python and Golang while incorporating functional programming features with minimal side effects.

The core purpose of KCL is to generate low-level static configuration data such as JSON and YAML while reducing boilerplate through schema modeling and constraint-based validation. Users can define schemas with rule constraints for configuration data and validate them automatically, organize large configurations across different environments using isolated configuration blocks, and integrate with existing data systems. The language supports mutation and validation of Kubernetes resources through cloud-native configuration tool plugins and serves as a platform engineering programming language for delivering modern applications via KusionStack.

KCL provides a rich feature set including a static type system, constraint validation, and rule-based configuration. It supports Config operations, Schema definitions, Lambda functions, and Rule constructs. The language includes an automatic merge mechanism for isolated config blocks to ensure high scalability and offers fast automation through CRUD APIs, multilingual SDKs in Rust, Go, Python, .NET, Java, and Node.js, and language plugins. Performance is optimized through Rust and C implementation with support for native code compilation and WebAssembly.

The repository demonstrates active development and community engagement.

KCL integrates extensively with the Kubernetes ecosystem through multiple plugins including Kubectl KCL Plugin, Kustomize KCL Plugin, Helm KCL Plugin, KPT KCL SDK, and Crossplane KCL Function. The language supports native API specifications such as OpenAPI, Kubernetes CRD, and the Kubernetes Resource Model specification. Developer experience is prioritized through comprehensive language tools including Format, Lint, Test, Vet, and Doc utilities, along with package management tools and IDE extensions across multiple editors.

The project emphasizes safety and maintainability by design, excluding system-level functions such as native threads and IO operations to reduce security risks and simplify governance. It has achieved production-ready status through widespread adoption in platform engineering and automation practices at Ant Group. The repository is classified across multiple domains including DSL implementation, compiler development, type system design, and functional programming, reflecting its comprehensive approach to configuration language design.