langsmith-evaluator

Create and run LangSmith evaluation pipelines for AI agents.

1|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/dhar174/langgraph_system_generator --skill langsmith-evaluator-dhar174
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: langsmith-evaluator
Source: https://github.com/dhar174/langgraph_system_generator/tree/main/.github/skills/langsmith-evaluator
Command: npx skills add https://github.com/dhar174/langgraph_system_generator --skill langsmith-evaluator-dhar174

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of evaluating AI agent performance by providing tools and guidance for creating, defining, and running evaluations within the LangSmith platform.

Core Features & Use Cases

  • Create Evaluators: Supports both LLM-as-Judge and custom code evaluators for diverse evaluation needs.
  • Define Run Functions: Guides on capturing agent outputs and trajectories for accurate evaluation.
  • Run Evaluations: Facilitates local execution with evaluate() and automatic execution via LangSmith uploads.
  • Use Case: You've built a customer support chatbot and want to ensure its responses are accurate and helpful. Use this Skill to set up an LLM-as-Judge evaluator that grades responses against expected outcomes and a custom code evaluator to check for adherence to specific response formats.

Quick Start

Use the langsmith-evaluator skill to upload a Python evaluator script named 'evaluators.py' with the function 'accuracy_evaluator' to your LangSmith project named 'My Project'.

Frequently Asked Questions about langsmith-evaluator

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

FAQPage Schema
How do I evaluate AI agent performance using LangSmith?

You can evaluate AI agent performance using LangSmith by creating evaluation pipelines that capture agent outputs and trajectories. This involves defining LLM-as-Judge or custom code evaluators and running them locally via the evaluate() function.

How do I create custom code evaluators for LangChain agent testing?

To create custom code evaluators for LangChain agent testing, define specific evaluation criteria in Python or TypeScript scripts. These evaluators check agent run outputs against expected formats or outcomes, which can then be uploaded to LangSmith via CLI integration.

What is the difference between LLM-as-Judge and custom code evaluators in LangSmith?

LLM-as-Judge evaluators use a language model to grade agent responses against expected outcomes, while custom code evaluators programmatically check for adherence to specific response formats or logic. Both can be defined and executed within LangSmith evaluation pipelines.

Can I run LangSmith evaluations locally without uploading to the cloud?

Yes, you can run LangSmith evaluations locally without uploading to the cloud. The Skill supports local execution using the evaluate() function, allowing you to test agent outputs and trajectories directly in your Python or TypeScript environment.

How do I upload Python evaluator scripts to a LangSmith project?

To upload Python evaluator scripts to a LangSmith project, use the provided CLI integration. This allows you to automatically execute evaluations by uploading scripts containing your custom evaluator functions directly to your specified LangSmith project.

Does this LangSmith evaluation Skill support TypeScript as well as Python?

Yes, this LangSmith evaluation Skill supports both TypeScript and Python. It provides guidance for defining run functions, capturing agent trajectories, and setting up evaluators in either language environment.