← all repositories
hofstadter-io/hof

CUE's everything bagel: schemas, code gen, and now AI chat

A Go CLI that wraps CUE's configuration language into a Swiss Army knife for developers who want schemas, generators, and LLM-assisted coding in one opinionated stack.

hof
Velocity · 7d
+0.3
★ / day
Trend
steady
star history

What it does

hof is a CLI built around CUE, the configuration language from the Go/Kubernetes lineage. It ties together schema validation, data modeling, code generation, a DAG workflow engine, module management, and—more recently—an LLM chat interface and VS Code extension. You add it to existing workflows rather than replacing them.

The interesting bit

The project treats CUE as a “lattice” to hang everything on: your data models, your generator templates, your task dependencies, even your AI prompts. That’s either elegant overloading or scope creep, depending on your tolerance for monolithic tools. The TUI (hof tui) and YouTube tour suggest they’re serious about discoverability—rare for a 608-star project.

Key highlights

  • Code generation: Data + templates, technology-agnostic output
  • Data modeling: Define, checkpoint, and diff models over time
  • Task engine: hof flow runs CUE-based DAG workflows
  • CUE core: Bundles def, eval, export, vet commands
  • Creators: Bootstrap from any git repo as starter kits
  • Chat (alpha): Combines LLMs with hof’s code generation
  • TUI + VS Code: Two interfaces, terminal and IDE

Caveats

  • The “agentic” and AI features are marked alpha; the README is vague on how LLM integration actually works beyond “co-create”
  • CUE itself has a learning curve; this tool assumes you’re bought in or willing to convert
  • The description mentions “Dagger powered environments” but the README doesn’t explain this integration at all

Verdict

Worth a look if you’re already CUE-curious and want one tool to handle schemas, generators, and light workflow orchestration. Skip it if you prefer composable, single-purpose tools or if the CUE investment feels premature.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.