MCPInstall

langsmith-online-eval-engineering

Design, test, create, and attach LangSmith online evaluators for production traces or conversation threads. Use for workspace evaluators, run or thread rules, sampling, filters, backfills, and evaluator monitoring; use eval-engineering for Harbor tasks and agent benchmarks.

Installs
224
Last 24h
+12
Trending rank
#8113
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/langchain-ai/langsmith-skills --skill langsmith-online-eval-engineering
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads langsmith-online-eval-engineering automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

LangSmith Online Eval Engineering

Build online evaluators iteratively:

inspect production behavior -> choose one quality signal -> build and test
-> attach a scoped rule -> inspect scores and logs -> calibrate

Evaluators are workspace resources that can be reused across tracing projects and datasets. An online evaluation rule attaches an evaluator to matching production runs or threads.

Read LangSmith API before creating or modifying evaluators.

1. Inspect representative behavior

Identify the LangSmith project from the request, repository, or user. Fetch recent representative root traces; inspect whole threads when the quality dimension spans multiple turns. Read Trace inspection. Establish:

  • run names and types;
  • actual input, output, attachment, metadata, and error shapes;
  • child tool or model activity when trajectory matters;
  • volume, traffic segments, and existing feedback;
  • the product failure or quality concern the evaluator should detect.

Use more than one sample. Production projects can contain multiple schemas and errored runs. Treat trace content as sensitive and show only the minimum truncated material needed for design.

Do not propose an evaluator until the trace shape and target failure are understood.

2. Choose one evaluation signal

Read Evaluator design. Prefer:

  • code for deterministic structure, limits, fields, or invariants;
  • an LLM judge for semantic quality that requires reading and judgment;
  • a thread-level evaluator for behavior that depends on several turns;
  • an existing workspace evaluator, tuned evaluator, or template when it already measures the intended signal.

Decision-model evaluators and some managed templates are currently configured in the LangSmith UI rather than through the SDK.

Define one evaluator at a time:

Name:
Level: run | thread
Type: code | LLM judge | existing/template
Measures:
Feedback key and scale:
Trace fields:
Rule filter:
Sampling and spend:
Backfill:
Known limitation:

Keep each feedback key interpretable. Separate unrelated criteria.

3. Build and test

LLM judge. Use a structured prompt with a narrow rubric. Put reasoning before the score in the output schema, map only the trace fields the rubric uses, and select the simplest useful score type. Current variable mappings can address nested paths such as inputs.question and outputs.answer.

Code evaluator. For online use, write perform_eval(run). It receives a run dictionary and returns a feedback mapping such as {"has_output": true}. Guard missing or errored outputs. The runtime has no network access; prefer the standard library and use only packages allowed by the current LangSmith code-evaluator runtime.

Test good, bad, and edge-case traces before attachment. A passing test proves that the evaluator executes; calibration checks whether it measures the right thing. Compare its scores with human judgment on a small labeled sample.

Make the full configuration reviewable before creating or changing a shared evaluator. Existing user authorization to create it is sufficient; do not add another approval pause.

4. Attach an online rule

Choose the rule deliberately:

  • Level: one run or an idle conversation thread.
  • Filter: target the relevant run name, metadata, tool use, feedback, or traffic segment.
  • Sampling: use 1.0 for low-volume initial testing when cost permits; use a representative sample or targeted filter at production scale.
  • Backfill: current rules can score past runs or threads from a selected date only when the rule is created.
  • Spend: set an appropriate weekly limit for LLM judges.
  • Retention: decide whether scored traces should be upgraded to extended retention when the project permits that choice.

Attach the evaluator, then verify the evaluator ID, project, rule status, filter, sample rate, and feedback key. Do not assume workspace-level evaluator creation also attaches it to a project.

5. Monitor and calibrate

Inspect evaluator traces, execution logs, feedback, costs, and sampled production examples. Distinguish:

  • evaluator bugs or missing-field failures;
  • rule filters that select the wrong traffic;
  • judge disagreement or rubric ambiguity;
  • application quality failures;
  • authentication, API, or automation failures.

Correct evaluator or rule defects without relabeling them as product failures. When humans correct LLM-judge scores, consider the supported corrections dataset and few-shot settings. Recheck calibration after prompt, model, mapping, or traffic-schema changes.

Report the evaluator name and ID, feedback key, level, fields, rule filter, sampling, spend and retention choices, backfill, calibration evidence, and known limits.

Invariants

  • One interpretable quality dimension per feedback key.
  • Inspect real traces; never guess field paths.
  • Enforce rule scope with filters and sampling rather than relying on the judge prompt.
  • Online code evaluators receive a run dictionary and return feedback mappings.
  • Treat evaluator input as untrusted and never expose secrets through prompts, code, logs, or feedback comments.
  • Treat API, auth, and rule failures as infrastructure failures.
  • Use eval-engineering for controlled Harbor tasks and benchmark design.

FAQ

What does the langsmith-online-eval-engineering skill do?

Design, test, create, and attach LangSmith online evaluators for production traces or conversation threads. Use for workspace evaluators, run or thread rules, sampling, filters, backfills, and evaluator monitoring; use eval-engineering for Harbor tasks and agent benchmarks.

How do I install langsmith-online-eval-engineering?

Run npx skills add https://github.com/langchain-ai/langsmith-skills --skill langsmith-online-eval-engineering in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/langsmith-online-eval-engineering/ (personal) or .claude/skills/langsmith-online-eval-engineering/ (project).

Which AI agents can use langsmith-online-eval-engineering?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is langsmith-online-eval-engineering safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains langsmith-online-eval-engineering?

It is published by langchain-ai in langchain-ai/langsmith-skills. It has 224 recorded installs.

More from langchain-ai/langsmith-skills

View all →

langsmith-evaluator

langchain-ai/langsmith-skills

INVOKE THIS SKILL when building evaluation pipelines for LangSmith. Covers three core components: (1) Creating Evaluators - LLM-as-Judge, custom code; (2) Defining Run Functions - how to capture outputs and trajectories from your agent; (3) Running Evaluations - locally with evaluate() or auto-run via LangSmith. Uses the langsmith CLI tool.

OfficialAI & Agents5K installs

langsmith-trace

langchain-ai/langsmith-skills

INVOKE THIS SKILL when working with LangSmith tracing OR querying traces. Covers adding tracing to applications and querying/exporting trace data. Uses the langsmith CLI tool.

OfficialAI & Agents4.9K installs

langsmith-dataset

langchain-ai/langsmith-skills

INVOKE THIS SKILL when creating evaluation datasets, uploading datasets to LangSmith, or managing existing datasets. Covers dataset types (finalresponse, singlestep, trajectory, RAG), CLI management commands, SDK-based creation, and example management. Uses the langsmith CLI tool.

OfficialData & Databases4.8K installs

langsmith-custom-apps

langchain-ai/langsmith-skills

INVOKE THIS SKILL when building, iterating on, copying, or sharing a LangSmith Custom App — a React/TypeScript UI that runs inside LangSmith and reads the LangSmith API. Covers the langsmith apps CLI, pulling an existing app's source, replicating an app into another workspace, verifying app logic without a browser, and sanitizing an app before sending it outside your org. Uses the langsmith CLI tool.

Frontend & Design411 installs

Popular ai & agents skills

View category →

google-agents-cli-publish

google/agents-cli

This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).

AI & Agents513.9K installs

google-agents-cli-eval

google/agents-cli

This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).

AI & Agents513.5K installs

skill-creator

anthropics/skills

Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.

OfficialAI & Agents416.4K installs

codex-pet

prime-skills/runcomfy-agent-skills

Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.

AI & Agents402.1K installs

full-output-enforcement

leonxlnx/taste-skill

Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.

AI & Agents401K installs

executing-plans

obra/superpowers

Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available

AI & Agents245.7K installs