AGPL-3.0-or-later · forever.

the language

schema

JSON Schema · structured output contract. One of 59 words the served contract declares, projected from workflow.schema.json, the same file your editor validates against.

  • 2surfacesinfer · agent
  • optionaleverywherea choice, never a miss
  • objecttypethe declared shape
  • 3skeletonscarry this key

the contract

2 declarations

Descriptions are the schema's own; the deeper invariants (value languages and regexes) ride the same projection. A miss is a nika check finding before anything runs.

infer
objectJSON Schema · structured output contract.inside infer:
agent
objectJSON Schema · validate the agent's final message as structured output.inside agent:

in a real file

from the agent-loop skeleton
agent-loop.nika.yaml
  plan:    infer:      prompt: "Break '${{ inputs.goal }}' into at most 4 concrete steps."   # SLOT      schema:        type: object        required: [steps]        properties:          steps: { type: array, items: { type: string } }

a verbatim slice, real line numbers from agent-loop.nika.yaml, conformance-gated upstream on every spec push. open the full skeleton →

cross-references

accepted by

defined by

The whole grammar in one place: the four verbs · the standard library · the spec. Try it in the playground. Read the reference →