langsmith-evaluator

Evaluate agent outputs with LangSmith evaluators and run functions.

Updated May 25, 2026
One-click install
npx skills add https://github.com/lguibr/fh --skill langsmith-evaluator-lguibr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-evaluator
Source: https://github.com/lguibr/fh/tree/main/.agents/skills/langsmith-evaluator
Command: npx skills add https://github.com/lguibr/fh --skill langsmith-evaluator-lguibr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Streamlines evaluation of agent outputs using LangSmith by providing evaluators, run functions, and evaluation workflows.

Core Features & Use Cases

  • Create Evaluators: LLM-as-Judge or custom code to assess outputs and trajectories from agents.
  • Define Run Functions: Capture agent outputs and execution trajectories for auditing and reproducibility.
  • Run Evaluations: Use local evaluate() for offline datasets or LangSmith online projects for real-time checks; includes Python and TypeScript examples and CLI integration.

Quick Start

Configure LangSmith credentials, implement a simple run function and evaluator, then run your agent against a dataset or project to begin automatic evaluation.

Frequently Asked Questions about langsmith-evaluator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I evaluate agent trajectories using LangSmith?

To evaluate agent trajectories using LangSmith, you can define custom evaluators or use LLM-as-Judge to assess outputs and execution paths. This Skill streamlines the process by providing run functions that capture trajectories for reliable scoring.

What's the best way to run offline dataset evaluations for agent outputs?

The best way to run offline dataset evaluations is using the local evaluate() function. This Skill provides workflows that structure your agent outputs and traces, allowing you to automatically score results against your prepared datasets.

Can I use LangSmith evaluators with both Python and TypeScript?

Yes, LangSmith evaluators support both Python and TypeScript. This Skill includes examples for both languages and integrates with the LangSmith CLI to help you orchestrate and run evaluations seamlessly across your projects.

How do I capture agent execution traces for auditing and reproducibility?

You capture agent execution traces by defining run functions within your evaluation pipeline. These run functions record agent outputs and execution trajectories, ensuring your LangSmith evaluation results are fully auditable and reproducible.

Does LangSmith support online project-based checks for real-time evaluation?

Yes, LangSmith supports online project-based checks for real-time evaluation. This Skill helps you configure evaluation workflows to continuously monitor and score agent outputs directly within your active LangSmith projects.

Do I need to structure outputs and traces differently for LLM-as-Judge evaluators?

Yes, you need to structure outputs and traces properly for reliable scoring by LLM-as-Judge evaluators. This Skill defines the required components and clarifies how to format your agent trajectories and outputs for accurate automated evaluation.