agentskit.js
Examples

DSPy

Baseline prompt vs DSPy-optimized prompt, scored side-by-side against the AgentsKit eval pipeline.

Side-by-side scoring of a baseline ReAct prompt vs a DSPy-optimized variant, run through the 8 bundled scorers (4 quality + 4 robustness).

pnpm --filter @agentskit/example-dspy start

Output: a markdown table comparing both prompts across every scorer.

#What it shows

  • Baseline ReAct prompt at prompts/baseline.txt β€” short, cheap, day-one prompt.
  • DSPy-optimized variant produced via BootstrapFewShot.
  • AgentsKit eval pipeline scoring both with the same harness.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page