PROMPT ENGINEERING
Prompt Optimization & DSPy
Structured prompt templates, Stanford DSPy declarative signatures, and Promptfoo evaluation suites.
Declarative DSPy Signatures
AEK translates loose markdown instructions into typed, declarative DSPy signatures for self-optimizing pipelines:
$ aek prompt export-dspy --signature CodeReview
Automated Promptfoo Test Suites
Generate and run behavioral regression assertions (`llm-rubric`, `is-json`, `contains`) before deploying agent prompts:
$ aek prompt eval --config promptfoo.yaml