CUE (Configure, Unify, Execute) is another well-regarded schema language, useful for defining valid fields, types, and values for a config. CUE was developed at Google by Marcel van Lohuizen, one of the original creators of Go. The original motivation stemmed from Google’s internal struggles in managing complex, large-scale configurations for infrastructure and applications. JSON and YAML were too weak for expressing constraints, logic, or composition, so CUE set out to solve that. Instead of building and managing external tools to validate, patch, or generate configs, CUE itself is a fully programmable config engine. This means CUE wholly encapsulates the configuration data, the schema, and the logic (how to derive those config values).Documentation Index
Fetch the complete documentation index at: https://docs.mirurobotics.com/llms.txt
Use this file to discover all available pages before exploring further.
Example
Below is an example CUE schema:CUE
- type specification -
number,string,bool, etc. - numeric constraints-
>=,<=,==,!=,=~,!~, etc. - default values -
| *value - enumerations -
| "value1" | "value2" | "value3" - intersection of constraints -
&
CUE version
Miru fully supports CUE and stays up to date with the latest CUE features and syntax. Currently, Miru uses CUE APIv0.14.2.
File formats
Unlike JSON Schema, CUE can only be written in the CUE file format and must have the.cue extension:
- CUE (
.cue)
- JSON (
.json) - YAML (
.yaml,.yml)
YAML support requires Miru Agent v0.7.0 or newer

