yera.dsl

The DSL surface for writing Yera apps.

Three concerns, three modules:

  • functions — prompting, input widgets, output blocks, layout, and lifecycle helpers. The building blocks an app function calls into directly.
  • struct — base class for structured-generation specs. Subclass Struct to declare the shape of a value the LLM should produce.
  • workspace — an app's memory: chat history and programmatic state shared across the app's model contexts.