Evaluating Agent Behavior

Build agent behavioral evals — tool choice, steerability, constraint compliance. Triggers on "behavioral eval".

build-with-dhiraj 0f2a3ed 1005 B Updated

File contents

Evaluating Agent Behavior

Behavioral evaluations (evals) validate the agent's decision-making, such as tool choice and steerability.

Workflow Decision Tree

  1. Does it need validation?: If a prompt or tool change affects decision-making, it requires an eval.
  2. Choosing the Rig:
    • appEvalTest (AppRig): For UI-heavy or complex interactive flows.
    • evalTest (TestRig): For logic-focused behavior.
  3. Policy Setting:
    • USUALLY_PASSES: For new tests.
    • ALWAYS_PASSES: For established tests to lock in regressions.

Checklist

  • Setup Workspace: Initialize the test environment.
  • Write Assertions: Define the expected tool calls or behavioral markers.
  • Verify: Run the eval suite and analyze failures.

google-gemini/gemini-cli

build-with-dhiraj/ai-workflow-framework-portability-kit/tree/main/Skills/evaluating-agent-behavior commit 0f2a3ed1fd

Frequently asked questions

npx skillmds@latest add build-with-dhiraj/evaluating-agent-behavior