Skip to content

CLI

Online: https://thekevinscott.github.io/coaxer/api/cli/

Coaxer exposes a single command: coax.

coax

Compiles a label folder into a reusable prompt artifact.

coax <labels-dir> --out <prompts-dir> [--optimizer {none,gepa}] [--output-name NAME]

Arguments

Argument Required Description
<labels-dir> Yes Path to the directory-per-record label folder.
--out Yes Output folder for trained prompt. Created if missing.
--optimizer No none (default) emits a schema-derived template without network. gepa runs DSPy 3's GEPA pass.
--output-name No Name of the predicted output field in the rendered template. Defaults to output.

Example

coax labels/repo-classification --out prompts/repo-classification --optimizer gepa

Consume the output with CoaxedPrompt.