observability
Connect your LangSmith workspace to let agents query traces, open failing runs, and compare error rates, latency, tokens, and cost across your tracing projects. Polylane watches each project for changes in errors, latency, and cost, and your LangSmith alert rules reach Polylane the moment they fire.

Connect

Connect LangSmith from the terminal. Pass --help for the flags LangSmith accepts.

Terminal
polylane integration connect --type langsmith

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what LangSmith's API lets it remove. The following stays until you remove it yourself:

  • LangSmith API key
Terminal
polylane integration disconnect <id>

Tools

8

Operations agents can perform in threads.

List Projects
List LangSmith tracing projects with run counts, error rates, latency, tokens and cost
Query Runs
Search LangSmith runs and traces by project, time window, status, run type and filter
Get Trace
Read one LangSmith trace as a run tree with latency, tokens, cost and errors
Get Project Metrics
Read LangSmith project metrics over time: traces, errors, latency, LLM calls, tokens and cost
List Feedback
List LangSmith feedback scores and comments on runs
List Datasets
List LangSmith datasets and read dataset examples
List Alert Rules
List LangSmith alert rules and where each rule sends its alerts
Api
Call the connected LangSmith REST API