talira

Compare

KCLPklJsonnetHCL
What it isAn open-source constraint-based record and functional language for configuration and policyA configuration-as-code language with rich validation and toolingA configuration language for app and tool developersThe HashiCorp configuration language
KindOpen sourceOpen sourceOpen sourceOpen source
Trust0.710.770.490.66
Stars24491158876015842
Last commit2026-11-242026-11-242026-03-302026-11-02
LicenceApache-2.0Apache-2.0Apache-2.0MPL-2.0
PricingFree and open sourceFree and open sourceFree and open sourceFree and open source
Free tierYesYesYesYes
Self-hostable————
Ways to run it————
SOC 2————
HIPAA————
SSO————
API————
Plugins————
MCP server————
CompanyCloud Native Computing Foundation
non-profit
Apple
public company (NASDAQ:AAPL)
Google
public company (NASDAQ:GOOGL)
HashiCorp
acquired by IBM (2025)
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
  • generate JSON, YAML, property lists and Java properties from one source
  • classes, type annotations and constraints that validate configuration
  • code generation for Java, Kotlin, Swift and Go
  • embed in applications for runtime configuration (JVM, Swift, Go)
  • packages published to any host and imported by package:// URI
  • pkldoc documentation generator
  • language server and IntelliJ, VS Code and Neovim plugins
  • native CLI executables that start instantly
  • superset of JSON with variables, functions, conditionals and imports
  • object inheritance and mixins to remove duplication
  • output JSON, YAML, INI and other text formats
  • side-effect-free, lazily evaluated
  • official C++ and Go interpreters tested against one suite
  • jsonnetfmt formatter and a linter (Go build)
  • formal specification and standard library
  • native syntax of attributes and nested blocks
  • JSON-based variant for machine-generated configuration
  • expression syntax with application-provided variables and functions
  • application-defined schemas with clear error messages
  • Go API from a simple decoder (hclsimple) down to low-level parsing
  • hclwrite for generating and editing HCL files
  • a written specification
Limitations
    • No 1.0 release yet: the latest release is 0.33.1, and release notes for each 0.x version list breaking changes