Skip to content

Playbook

Write evals first

The golden set is the product specification. Architecture waits on it.

When: Before choosing LangGraph vs CrewAI, and again every time a prompt changes.

  1. 01

    Collect real tasks

    From tickets, traces, and the failures you have already paid for.

    Distill Traces into Skills
  2. 02

    Assert on structure

    JSON fields, tool names, forbidden tools. Not 'sounds good'.

    Evaluation
  3. 03

    Put it in CI

    promptfoo, Inspect, or DSPy. A prompt change is a code change.

    Evaluation

Done when

  • 20–50 real tasks in CI, with structured asserts, including at least one injection/refusal case.

Refuse

  • Eval by demo. 20–50 real tasks before the framework. promptfoo, Inspect, DSPy. CI on prompt change.