View evaluators
In the LangSmith UI, select Evaluators in the left sidebar to view all evaluators in your workspace. The evaluators table shows the following columns:Create an evaluator
You can create an evaluator in the LangSmith UI or programmatically with the SDK. Evaluators created either way are workspace-level resources that appear in the Evaluators table.Create an evaluator in the UI
- In the LangSmith UI, select Evaluators in the left sidebar.
- Click + Evaluator to open the new evaluator panel.
- The panel lets you:
- Create from scratch: Build a new LLM-as-a-Judge or Code evaluator.
-
Create from a template: Start from a ready-made evaluator (also known as a prebuilt evaluator) for common evaluation patterns. A Recommended section surfaces popular templates first, followed by templates organized by the following categories:
Create an evaluator with the SDK
Use the LangSmith SDK to create evaluators programmatically. The SDK is available for Python and TypeScript. Evaluators created through the SDK appear in the Evaluators table alongside those created in the UI.Managing evaluators through the SDK requires
langsmith>=0.9.8 (Python, PyPI) or langsmith>=0.7.16 (TypeScript, npm).View evaluator details
Click any evaluator in the table to open its detail view. The detail view has four tabs:- Overview: The evaluator’s feedback configuration and prompt or code definition.
- Traces: Traces processed by this evaluator across all attached resources.
- Logs: Execution logs for this evaluator across all attached resources.
- Projects & Datasets: The tracing projects and datasets this evaluator is attached to, with each attachment’s weekly spend and limit.
Edit an evaluator
Open an evaluator. In the Overview tab, click the Edit evaluator icon to open the Configure Evaluator panel. Update the evaluator’s configuration. Click Save. Because the evaluator is shared, changes apply across all tracing projects and datasets it is attached to.Manage evaluator trace retention
When an online evaluator scores a trace, it attaches feedback to that trace, which auto-upgrades the trace to extended retention. Extended retention keeps the trace longer but costs more. When you set up an online evaluator on a tracing project, you can opt out of this upgrade so that scored traces stay at the project’s base retention. This control is available only when the project’s default retention is the base tier. If the project defaults to extended retention (set at the project or workspace level), traces scored by the evaluator follow that default and the option is locked. To opt out of extending retention for scored traces:- When you create or edit an online evaluator, set the source to a tracing project, rather than a dataset.
- Expand the Advanced section in the evaluator configuration panel.
- Clear Extend trace retention.
Delete an evaluator
You cannot delete an evaluator while it is attached to a tracing project or dataset. To delete an evaluator:- In the LangSmith UI, select Evaluators in the left sidebar.
- Select the evaluator you want to delete.
- Open the Projects & Datasets tab. For each attached tracing project and dataset, select Detach in the Actions menu at the right of the row.
- Return to the Evaluators page and click Delete at the top of the page.
Connect these docs to Claude, VSCode, and more via MCP for real-time answers.

