Skip to main content
Agent evals help you keep an agent reliable after prompts, skills, tools, wiki folders, or backends change. Use them before inviting an agent into important channels and after every meaningful edit. Open an agent → SettingsEvals.

The mental model

An eval is a repeatable test of whether an AI system still does the job you expect. For ordinary chatbots, that often means checking the final answer. For agents, it also means checking the path the agent took: which tool it chose, whether it avoided unsafe actions, whether it used the right context, and whether the final response was useful. SlackHive follows the same evaluation shape used by modern agent platforms:
  • Start with traces while debugging one run. A trace shows the full sequence of model calls, tool calls, handoffs, and safety markers. OpenAI’s agent-eval guidance recommends traces first when diagnosing workflow-level issues, then moving to datasets and eval runs when repeatability matters.
  • Convert important traces or Slack questions into repeatable cases. A case is a real user question plus checks for the behavior that must hold.
  • Prefer the cheapest reliable grader. Anthropic recommends code/string checks when possible, LLM judges for nuanced criteria, and human review only where automation is not reliable enough.
  • Keep an online → offline loop. Production traces and feedback reveal failures; regression cases make sure the same failure does not come back.
In SlackHive terms: Observability is online monitoring, Test Mode is interactive debugging, and Agent Evals are offline regression tests.

What to evaluate

Agent quality is multidimensional. A good eval suite usually has a mix of:
DimensionQuestion it answersSlackHive check
Final responseDid the answer contain the right facts, caveats, and format?Required / forbidden phrases, LLM judge
TrajectoryDid the agent take the expected path to get the answer?Required / forbidden tool calls
Tool safetyDid the agent avoid costly, destructive, or unauthorized tools?Forbidden tool calls, Tier 1 MCP coverage
Context useDid it use assigned wiki, memory, or tools instead of guessing?Tool-call checks, rubric checks
Style and policyDid it follow tone, escalation, privacy, or refusal rules?LLM judge with a specific rubric
Privacy preservationDid it avoid exposing secrets or PII?Tier 1 PII & secrets, Sensitive Data
LangSmith’s agent-eval guidance describes the same split as final-response, trajectory, and single-step evaluation. SlackHive’s current UI focuses on final-response and trajectory checks, with static healthchecks for configuration safety.

What evals cover

SlackHive has two eval layers:
LayerWhat it checksWhen to use it
Tier 1 · Static healthcheckConfiguration quality without running the agentEvery time you change instructions, skills, tools, or wiki assignments
Tier 2 · Regression evalReal agent answers against approved test casesBefore releases, after Coach changes, and when you need confidence an agent still behaves correctly
Tier 1 is instant and does not call the agent. Tier 2 runs the agent through approved cases and may call the configured judge model.

Tier 1 healthcheck

The healthcheck runs automatically when you open the Evals section. Click Re-run after making changes. It checks:
CheckWhat it catches
MCP coverageTool references in the agent instructions that are not assigned to the agent
Cross-refsMissing skill links or wiki references
Skill overlapSkills with very similar descriptions that should probably be merged
Persona hygieneRisky prompt patterns such as unsafe shell instructions or prompt-injection markers
PII & secretsPossible keys, tokens, card numbers, SSNs, emails, or phone numbers inside prompts and skills
Issues are shown as warnings or errors with the file and line when available.

Tier 2 regression cases

A regression case is a real question plus checks the answer must satisfy.
  1. Open agent → SettingsEvals
  2. Click Add your first case or Manage cases
  3. Write the user question
  4. Add one or more checks
  5. Set the case to approved
  6. Click Run regression
Only approved cases run. Proposed cases are drafts that stay out of the regression suite until reviewed.

Check types

CheckUse it when
Phrases that must appearThe answer must include specific facts, numbers, headings, or caveats
Phrases that must not appearThe agent must avoid a banned claim, tone, or unsafe instruction
Tools the agent must callThe answer is only valid if the agent used a specific MCP or tool
Tools the agent must not callThe agent should answer from context and avoid a costly or unsafe tool
LLM judges against rubricThe desired behavior is semantic and cannot be reduced to exact phrases
Tool checks use full tool IDs such as mcp__redshift__query. A trailing * matches any tool from a server, for example mcp__redshift__*.

Verdicts

VerdictMeaning
PASSEvery check passed
FAILA deterministic check failed, or the judge says the answer diverged
SUSPECTThe judge could not confidently decide, or there was no final reply to judge
INFRAThe runner, backend, or tool infrastructure failed; this is not counted as agent behavior
Open a failed row to see the final reply, tool calls, check results, and judge reasoning when available.

Judge model

LLM-judge checks use the active backend’s judge model. Admins can change it in Settings → AI Backend → Evals Judge Model. Pick a cheaper model for broad regression suites and a stronger model for high-stakes rubrics.

Fixing failures with Coach

When a case fails, click Ask Coach from the failing row. Coach receives the failed case, observed answer, tool calls, and check results. It can then suggest either:
  • A real agent fix, such as a prompt or skill change
  • A test correction when the case expectation is wrong
Review Coach proposals before applying them, then rerun the regression.

Good eval cases

Write cases from real Slack questions. A useful case includes:
  • The exact question a teammate would ask
  • One clear expected behavior
  • A check that catches the regression you care about
  • A small number of assertions, not a giant checklist
Start with 5-10 cases for the workflows that would hurt most if the agent regressed. Add more from real failures over time.

Designing a suite

Use this pattern:
  1. Define success before writing checks. Be specific: “queries Redshift and reports GMV with date range” is better than “answers correctly.”
  2. Cover normal, edge, and refusal cases. Include the happy path, ambiguous inputs, missing permissions, and things the agent must not do.
  3. Use deterministic checks first. Phrase and tool-call checks are fast, cheap, and less subjective.
  4. Use LLM judges for judgment-heavy behavior. Write rubrics with concrete pass/fail criteria, not broad impressions.
  5. Keep cases small. One case should catch one kind of failure.
  6. Promote real incidents. When Slack or Observability reveals a bad answer, turn that trace into a proposed case.
Evals do not prove an agent is safe or correct in every situation. They are regression protection: they make known important behaviors measurable and repeatable.

External evaluation theory

These are the product ideas SlackHive’s Evals page is built around:

Test Mode

Try one-off prompts before turning them into regression cases.

Coach

Use Coach to repair failed evals and improve prompts or skills.