SynaptraDocs

    Getting started

    Your first harness

    For a developer with an AI feature and a way to check its outputs. You end with a harness, a baseline and one closed experiment. About 30 minutes

    1. Make an account and a token

      The token lets your evaluation script report results without a browser.

      • Sign up with your email and type the code we send.
      • Open Connect and make a token named after the machine that runs your evals.
      • Store it as SYNAPTRA_TOKEN.

      More: Authentication and tokens

    2. Create the harness

      Naming the metric and the bar up front is what makes every later decision quick.

      • Pick one metric that decides. Pick the bar you'd ship at.
      • Create the harness with the template closest to your project.
      python
      h = Harness.create("Support bot", metric="accuracy", bar=0.8, template="llm_agent",
                         url="https://synaptra.my", token=os.environ["SYNAPTRA_TOKEN"])

      More: Harnesses

    3. Register how it's judged

      Every version should say how it was scored and on what.

      • Register your scorer with @h.scorer.
      • Register the test set: its location and size, or items= for a fingerprint.
      • Register the runner command.

      More: Tools and evaluation hooks

    4. Report a baseline

      You can't tell whether a change helps until you know where you stand.

      • Run your current system on the smoke tier and the dev set.
      • Report the rows with variant="base".
      python
      h.report(rows, variant="base", tier="T1")
      print(h.next_step)
    5. Run one experiment

      One change, one prediction, one verdict: the habit that compounds.

      • Propose the change with predictions for each tier.
      • Check the gate before each tier.
      • Run, report into the experiment, then close: adopt if it passed.

      More: Predictions and experiments

    Something unclear or missing? Email support@synaptra.my.