<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>CUE Labs Blog: Case studies</title>
    <link>https://cue.dev/blog/topics/case-studies/</link>
    <description>How teams and open source projects use CUE, and what it changed for them.</description>
    <language>en-us</language>
    <lastBuildDate>Thu, 19 Mar 2026 11:00:00 +0000</lastBuildDate>
    <atom:link href="https://cue.dev/blog/topics/case-studies/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How OSS projects Perses and Gemara make configuration user-friendly</title>
      <link>https://cue.dev/blog/make-configuration-user-friendly/</link>
      <guid isPermaLink="true">https://cue.dev/blog/make-configuration-user-friendly/</guid>
      <pubDate>Thu, 19 Mar 2026 11:00:00 +0000</pubDate>
      <dc:creator>Dominik Mayer</dc:creator>
      <dc:creator>Paul Jolly</dc:creator>
      <category>Case studies</category>
      <category domain="reading-level">For everyone</category>
      <description>Most tools lose new users at the configuration step. Perses and Gemara show how a schema makes that first hour easier.</description>
      <content:encoded>&lt;p&gt;Adoption and contribution keep open-source tools alive. When you’ve started a&#xA;promising project, chances are engineers want to try it out. The easier it is&#xA;to get started, the more people play with it, and recommend what you are&#xA;building.&lt;/p&gt;&#xA;&lt;p&gt;For most tools, however, getting started involves some level of configuration …&#xA;and that’s exactly where users drop off.&lt;/p&gt;&#xA;&lt;p&gt;All tools need to be configured, but the information on “how to” is usually&#xA;spread across code, documentation, YAML files, or specific examples. Users have&#xA;to deal with a manual, trial-and-error process where they only find out if&#xA;their configuration is valid after deploying it. When it isn’t, troubleshooting&#xA;begins.&lt;/p&gt;&#xA;&lt;p&gt;It could be much simpler. Projects invest heavily in designing APIs with clear&#xA;contracts, versioning, and tooling support. Configuration, which is often just&#xA;as critical, rarely gets the same treatment. But it should.&lt;/p&gt;&#xA;&lt;p&gt;In this article, we will explain how OpenSSF project&#xA;&lt;a href=&#34;https://gemara.openssf.org/&#34;&gt;Gemara&lt;/a&gt; and CNCF project&#xA;&lt;a href=&#34;https://perses.dev/&#34;&gt;Perses&lt;/a&gt; make configuration user-friendly, by providing a&#xA;clean interface, the ability to validate configuration, and a standardized&#xA;configuration process.&lt;/p&gt;&#xA;&lt;h3 id=&#34;using-schema-for-validation&#34;&gt;&#xA;    &lt;a href=&#34;#using-schema-for-validation&#34; class=&#34;anchor&#34; aria-label=&#34;Anchor&#34;&gt;&#xA;&#xA;&#xA;&#xA;&lt;svg class=&#34;icon anchor__icon&#34; aria-hidden=&#34;true&#34;&gt;&#xA;    &lt;use xmlns:xlink=&#34;http://www.w3.org/1999/xlink&#34;&#xA;         xlink:href=&#34;https://cue.dev/img/ui.svg#icon--link&#34;&gt;&lt;/use&gt;&#xA;&lt;/svg&gt;&#xA;&lt;/a&gt;Using schema for validation&lt;/h3&gt;&#xA;&lt;p&gt;Previously, we outlined that &lt;a href=&#34;https://cue.dev/blog/what-is-configuration/&#34;&gt;configuration translates intent into a&#xA;specification&lt;/a&gt; that delivers a&#xA;desired outcome. It is a process that can get very complicated when it involves&#xA;multiple actors or systems. Most configuration-related errors result from&#xA;mistakes in this configuration process.&lt;/p&gt;&#xA;&lt;p&gt;The best way to ensure a configuration is valid is to introduce a schema into&#xA;the process. It gives users a blueprint on how to translate their intent and&#xA;validate their configuration (before deploying it). While this is more&#xA;practical for your users, it also makes their systems safer.&lt;/p&gt;&#xA;&lt;p&gt;Using a schema also replaces a lot of hidden work maintainers do today. Today,&#xA;most projects already maintain parts of a schema, e.g., in documentation, YAML&#xA;examples, validation scripts, or tests. These are often duplicated and drift&#xA;over time. A schema consolidates this into a single source of truth. It also&#xA;drastically reduces the number of “Why doesn’t my config work?” issues on&#xA;GitHub.&lt;/p&gt;&#xA;&lt;p&gt;To define the schema, Gemara and Perses use &lt;a href=&#34;https://cuelang.org/&#34;&gt;CUE&lt;/a&gt;.&#xA;Designed for configuration, CUE schemas can validate configurations in a&#xA;variety of formats, including YAML, JSON, XML or TOML. CUE comes with extensive&#xA;ways to express logic, implement policy directly in the schema, and integrate&#xA;with IDEs for autocomplete.&lt;/p&gt;&#xA;&lt;p&gt;While a schema allows a user to reliably create a more robust configuration, it&#xA;takes more to make configuration user-friendly: a standardized configuration&#xA;process.&lt;/p&gt;&#xA;&lt;h3 id=&#34;meet-the-central-registry&#34;&gt;&#xA;    &lt;a href=&#34;#meet-the-central-registry&#34; class=&#34;anchor&#34; aria-label=&#34;Anchor&#34;&gt;&#xA;&#xA;&#xA;&#xA;&lt;svg class=&#34;icon anchor__icon&#34; aria-hidden=&#34;true&#34;&gt;&#xA;    &lt;use xmlns:xlink=&#34;http://www.w3.org/1999/xlink&#34;&#xA;         xlink:href=&#34;https://cue.dev/img/ui.svg#icon--link&#34;&gt;&lt;/use&gt;&#xA;&lt;/svg&gt;&#xA;&lt;/a&gt;Meet the Central Registry&lt;/h3&gt;&#xA;&lt;p&gt;While there are countless ways to provide a schema (a file in your GitHub repo,&#xA;a description, or code blocks in your documentation), they carry a risk: they&#xA;bit rot over time. Users copy them, fork them, adapt them, and over time,&#xA;different versions emerge. Tools implement their own interpretation. The&#xA;result? Multiple sources of truth, which is exactly what the use of schemas&#xA;tries to prevent in the first place.&lt;/p&gt;&#xA;&lt;p&gt;To be effective, only one source of truth should exist. That’s why we built the&#xA;Central Registry. The Central Registry is a platform that makes it easy to&#xA;provide configuration schemas to your users via CUE modules. It versions the&#xA;schema, keeps track of updates and dependencies, and allows you to manage&#xA;access control. Your users can import it directly into their development&#xA;process. As CUE modules are built on the OCI standard, you can easily make them&#xA;available on-prem for your enterprise users.&lt;/p&gt;&#xA;&lt;p&gt;By providing schemas via Central Registry to your users, you give them a clear&#xA;interface to validate their configuration through a standardized process.&#xA;Configuration becomes user-friendly, and easy to manage. Not just for your&#xA;users, but also for you as a project owner.&lt;/p&gt;&#xA;&lt;p&gt;Perses and Gemara provide CUE schemas to their users for very different use&#xA;cases, but both via Central Registry to benefit from the features and&#xA;infrastructure it provides. Let’s look at it in detail.&lt;/p&gt;&#xA;&lt;h3 id=&#34;gemara&#34;&gt;&#xA;    &lt;a href=&#34;#gemara&#34; class=&#34;anchor&#34; aria-label=&#34;Anchor&#34;&gt;&#xA;&#xA;&#xA;&#xA;&lt;svg class=&#34;icon anchor__icon&#34; aria-hidden=&#34;true&#34;&gt;&#xA;    &lt;use xmlns:xlink=&#34;http://www.w3.org/1999/xlink&#34;&#xA;         xlink:href=&#34;https://cue.dev/img/ui.svg#icon--link&#34;&gt;&lt;/use&gt;&#xA;&lt;/svg&gt;&#xA;&lt;/a&gt;Gemara&lt;/h3&gt;&#xA;&lt;p&gt;Open Source Security Foundation (OpenSSF) project Gemara develops a layered&#xA;Governance, Risk, and Compliance (GRC) model, which enables developers to&#xA;introduce GRC consistency to their development process. They separate the model&#xA;into seven layers, from high-level governance to technical evidence. If all&#xA;layers, e.g., across security tools and compliance systems, are consistent, the&#xA;GRC goal is met.&lt;/p&gt;&#xA;&lt;p&gt;Six of the layers in the Gemara model are made available as CUE schemas, giving&#xA;tool developers and end users a consistent expectation for inputs and outputs.&#xA;Users can simply validate the schemas against their systems. Gemara published&#xA;the schemas to the Central Registry thereby making it easy for their users to&#xA;import schemas, get IDE support, and cover dependency management.&lt;/p&gt;&#xA;&lt;h3 id=&#34;perses&#34;&gt;&#xA;    &lt;a href=&#34;#perses&#34; class=&#34;anchor&#34; aria-label=&#34;Anchor&#34;&gt;&#xA;&#xA;&#xA;&#xA;&lt;svg class=&#34;icon anchor__icon&#34; aria-hidden=&#34;true&#34;&gt;&#xA;    &lt;use xmlns:xlink=&#34;http://www.w3.org/1999/xlink&#34;&#xA;         xlink:href=&#34;https://cue.dev/img/ui.svg#icon--link&#34;&gt;&lt;/use&gt;&#xA;&lt;/svg&gt;&#xA;&lt;/a&gt;Perses&lt;/h3&gt;&#xA;&lt;p&gt;CNCF project Perses is an open dashboard that can display a variety of&#xA;observability data (Prometheus, Tempo, Loki, and others). In Perses, both data&#xA;sources and visualization types are implemented as plugins, whose models are&#xA;written in CUE. Beyond the built‑in plugins, users can implement their own to&#xA;extend the native capabilities of the dashboard.&lt;/p&gt;&#xA;&lt;p&gt;The plugin ecosystem runs on the Central Registry. As the plugins are schemas,&#xA;users can discover and use any plugin directly from the Central Registry.&#xA;Plugin developers can publish directly to the Central Registry. Having a home&#xA;for their entire plugin ecosystem, Perses avoids fragmentation, and via Central&#xA;Registry, offers versioning, dependency management, access control, and search&#xA;to its developers and users.&lt;/p&gt;&#xA;&lt;h3 id=&#34;conclusions&#34;&gt;&#xA;    &lt;a href=&#34;#conclusions&#34; class=&#34;anchor&#34; aria-label=&#34;Anchor&#34;&gt;&#xA;&#xA;&#xA;&#xA;&lt;svg class=&#34;icon anchor__icon&#34; aria-hidden=&#34;true&#34;&gt;&#xA;    &lt;use xmlns:xlink=&#34;http://www.w3.org/1999/xlink&#34;&#xA;         xlink:href=&#34;https://cue.dev/img/ui.svg#icon--link&#34;&gt;&lt;/use&gt;&#xA;&lt;/svg&gt;&#xA;&lt;/a&gt;Conclusions&lt;/h3&gt;&#xA;&lt;p&gt;While both projects publish CUE schema to the Central Registry for their users,&#xA;their use cases differ vastly. Perses runs a plugin ecosystem; Gemara expresses&#xA;a logical model.&lt;/p&gt;&#xA;&lt;p&gt;However, there is a lot of common ground. Both provide schema to their users to&#xA;make configuration user-friendly. Both tell users exactly what a correct&#xA;configuration looks like and how to validate it. Both use the Central Registry&#xA;to standardize the configuration process and provide a single source of truth.&lt;/p&gt;&#xA;&lt;p&gt;Configuration is a simple concept that can get complicated quickly. By&#xA;providing your users with schemas for your tool, configuration becomes a lot&#xA;simpler, which directly drives adoption.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;🚀 &lt;a href=&#34;https://cue.dev/docs/publishing-modules-to-the-central-registry/&#34;&gt;Publish a schema to the Central Registry in two&#xA;minutes.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;📖 Learn more about &lt;a href=&#34;https://cue.dev/products/central-registry/&#34;&gt;the Central&#xA;Registry.&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;💬 Have questions? &lt;a href=&#34;https://cue.dev/get-in-touch/&#34;&gt;Get in touch with us&lt;/a&gt;.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</content:encoded>
    </item>
  </channel>
</rss>
