langsmith
Client library to connect to the LangSmith Observability and Evaluation Platform.
Description
# LangSmith Client SDK [](https://github.com/langchain-ai/langsmith-sdk/releases) [](https://pypi.org/project/langsmith/) This package contains the Python client for interacting with the [LangSmith platform](https://smith.langchain.com/). To install: ```bash pip install -U langsmith export LANGSMITH_TRACING=true export LANGSMITH_API_KEY=ls_... ``` Then trace: ```python import openai from langsmith.wrappers import wrap_openai from langsmith import traceable # Auto-trace LLM calls in-context client = wrap_openai(openai.Client()) @traceable # Auto-trace this function def pipeline(user_input: str): result = client.chat.completions.create( messages=[{"role": "user", "content": user_input}], model="gpt-3.5-turbo" ) return result.choices[0].message.content pipeline("Hello, world!") ``` See the resulting nested trace [π here](https://smith.langchain.com/public/b37ca9b1-60cd-4a2a-817e-3c4e4443fdc0/r). LangSmith helps you and your team develop and evaluate language models and intelligent agents. It is compatible with any LLM application. > **Cookbook:** For tutorials on how to get more value out of LangSmith, check out the [Langsmith Cookbook](https://github.com/langchain-ai/langsmith-cookbook/tree/main) repo. A typical workflow looks like: 1. Set up an account with LangSmith. 2. Log traces while debugging and prototyping. 3. Run benchmark evaluations and continuously improve with the collected data. We'll walk through these steps in more detail below. ## 1. Connect to LangSmith Sign up for [LangSmith](https://smith.langchain.com/) using your GitHub, Discord accounts, or an email address and password. If you sign up with an email, make sure to verify your email address before logging in. Then, create a unique API key on the [Settings Page](https://smith.langchain.com/settings), which is found in the menu at the top right corner of the page. > [!NOTE] > Save the API Key in a secure location. It will not be shown again. ## 2. Log Traces You can log traces natively using the LangSmith SDK or within your LangChain application. ### Logging Traces with LangChain LangSmith seamlessly integrates with the Python LangChain library to record traces from your LLM applications. 1. **Copy the environment variables from the Settings Page and add them to your application.** Tracing can be activated by setting the following environment variables or by manually specifying the LangChainTracer. ```python import os os.environ["LANGSMITH_TRACING"] = "true" os.environ["LANGSMITH_ENDPOINT"] = "https://api.smith.langchain.com" # os.environ["LANGSMITH_ENDPOINT"] = "https://eu.api.smith.langchain.com" # If signed up in the EU region os.environ["LANGSMITH_API_KEY"] = "<YOUR-LANGSMITH-API-KEY>" # os.environ["LANGSMITH_PROJECT"] = "My Project Name" # Optional: "default" is used if not set # os.environ["LANGSMITH_WORKSPACE_ID"] = "<YOUR-WORKSPACE-ID>" # Required for org-scoped API keys ``` > **Tip:** Projects are groups of traces. All runs are logged to a project. If not specified, the project is set to `default`. 2. **Run an Agent, Chain, or Language Model in LangChain** If the environment variables are correctly set, your application will automatically connect to the LangSmith platform. ```python from langchain_core.runnables import chain @chain def add_val(x: dict) -> dict: return {"val": x["val"] + 1} add_val({"val": 1}) ``` ### Logging Traces Outside LangChain You can still use the LangSmith development platform without depending on any LangChain code. 1. **Copy the environment variables from the Settings Page and add them to your application.** ```python import os os.environ["LANGSMITH_ENDPOINT"] = "https://api.smith.langchain.com" os.environ["LANGSMITH_API_KEY"] = "<YOUR-LANGSMITH-API-KEY>" # os.environ["LANGSMITH_PROJECT"] = "My Project Name" # Optional: "default" is used if not set ``` 2. **Log traces** The easiest way to log traces using the SDK is via the `@traceable` decorator. Below is an example. ```python from datetime import datetime from typing import List, Optional, Tuple import openai from langsmith import traceable from langsmith.wrappers import wrap_openai client = wrap_openai(openai.Client()) @traceable def argument_generator(query: str, additional_description: str = "") -> str: return client.chat.completions.create( [ {"role": "system", "content": "You are a debater making an argument on a topic." f"{additional_description}" f" The current time is {datetime.now()}"}, {"role": "user", "content": f"The discussion topic is {query}"} ] ).choices[0].message.content @traceable def argument_chain(query: str, additional_description: str = "") -> str: argument = argument_generator(query, additional_description) # ... Do othe
Release History
| Version | Changes | Urgency | Date |
|---|---|---|---|
| 0.7.33 | Imported from PyPI (0.7.33) | Low | 4/21/2026 |
| v0.7.33 | ## What's Changed * chore(deps-dev): bump @anthropic-ai/sdk from 0.88.0 to 0.89.0 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2724 * python: pass OTEL config directly to exporter instead of setting env vars by @jkennedyvz in https://github.com/langchain-ai/langsmith-sdk/pull/2726 * chore(deps): bump mako from 1.3.10 to 1.3.11 in /python by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2729 * fix(js): move jest retry config to runtime | High | 4/20/2026 |
| v0.7.32 | ## What's Changed * release(js): 0.5.19 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2715 * feat(python/sandbox): add snapshot API and start/stop lifecycle by @ramon-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2713 * docs: add initial threat model for langsmith-sdk by @jkennedyvz in https://github.com/langchain-ai/langsmith-sdk/pull/2669 * feat(js/sandbox): add snapshot API and start/stop lifecycle by @ramon-langchain in https://github.com/langchain-ai | High | 4/15/2026 |
| v0.7.31 | ## What's Changed * chore(deps-dev): bump langchain-core from 1.2.23 to 1.2.28 in /python by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2692 * chore(deps-dev): bump @anthropic-ai/sdk from 0.82.0 to 0.84.0 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2684 * chore(deps): bump cryptography from 46.0.6 to 46.0.7 in /python by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2693 * chore(deps-dev): bump @anthropic-a | Medium | 4/14/2026 |
| v0.7.30 | ## What's Changed * feat(python): add service feature to sandbox by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2665 * fix(js): Fix prototype pollution bug in anonymizers by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2690 * release(js): 0.5.18 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2691 * chore(js/sandbox): suppress warning log by @hntrl in https://github.com/langchain-ai/langsmith-sdk/pull/2694 * feat(js): Add metadata | Medium | 4/9/2026 |
| v0.7.29 | ## What's Changed * release(js): 0.5.17 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2681 * feat(py): Fix race condition around Claude Agent SDK instrumentation by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2685 * release(py): 0.7.29 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2686 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.28...v0.7.29 | Medium | 4/9/2026 |
| v0.7.28 | ## What's Changed * feat(py): Support subagent tracing in Claude Agents SDK, fix usage and duplicate messages by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2670 * chore(deps-dev): bump the py-minor-and-patch group across 1 directory with 11 updates by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2677 * chore(deps-dev): bump the js-minor-and-patch group across 1 directory with 8 updates by @dependabot[bot] in https://github.com/langchain-ai/langsmi | Medium | 4/8/2026 |
| v0.7.27 | ## What's Changed * chore(js): Vendor Chalk and console-table-printer deps, pin others by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2664 * chore(deps-dev): bump vite from 6.4.1 to 6.4.2 in /js/internal/environment_tests/test-exports-vite in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2666 * feat(js): Add ls_integration metadata to AI SDK and Claude Agents SDK by @tanushree-sharma in https://github.com | Medium | 4/8/2026 |
| v0.7.26 | ## What's Changed * chore(deps-dev): bump @anthropic-ai/sdk from 0.80.0 to 0.81.0 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2646 * feat(sdk): add list_project_issues method by @Palashio in https://github.com/langchain-ai/langsmith-sdk/pull/2654 * chore: bump version to 0.7.26 by @Palashio in https://github.com/langchain-ai/langsmith-sdk/pull/2663 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.25...v0.7.26 | Medium | 4/6/2026 |
| v0.7.25 | ## What's Changed * fix: anthropic parse messages in js by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2644 * chore: bump js by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2647 * chore: remove index_dataset, similar_examples, and sync_indexed_dataset from clients by @open-swe[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2645 * feat(py, js): add description to hub prompts sdk by @asrira428 in https://github.com/langchain-ai | Medium | 4/3/2026 |
| v0.7.24 | ## What's Changed * chore(deps): bump handlebars from 4.7.8 to 4.7.9 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2620 * chore(deps): bump the py-minor-and-patch group across 1 directory with 20 updates by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2629 * chore(deps): bump pygments from 2.19.2 to 2.20.0 in /python by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2633 * chore(deps-dev): bump the js-minor-and- | Medium | 4/1/2026 |
| v0.7.23 | ## What's Changed * chore(deps): bump flatted from 3.3.3 to 3.4.2 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2600 * feat(js): Parse AI SDK reasoning blocks into standard content blocks by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2601 * release(js): 0.5.12 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2602 * feat(js): Add proper aggregation for AI SDK reasoning when streaming by @jacoblee93 in https://github.com | Medium | 3/31/2026 |
| v0.7.22 | ## What's Changed * chore: add experiment id by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/pull/2599 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.21...v0.7.22 | Low | 3/19/2026 |
| v0.7.21 | ## What's Changed * fix(js): Fix AI SDK and Claude Agents SDK in non-Node envs by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2591 * release(js): 0.5.11 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2592 * chore(deps-dev): bump dotenv from 16.4.7 to 17.3.1 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2507 * chore(deps-dev): bump multipart from 1.3.0 to 1.3.1 in /python by @dependabot[bot] in https://github.com/langc | Low | 3/19/2026 |
| v0.7.20 | ## What's Changed * chore: apply auth headers for multipart compressed by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/pull/2589 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.19...v0.7.20 | Low | 3/18/2026 |
| v0.7.19 | ## What's Changed * fix(python): fix flaky test_workspace_error_recovery_flow by @baskaryan in https://github.com/langchain-ai/langsmith-sdk/pull/2583 * feat: set source: "sdk" on SDK-created datasets by @catherine-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2584 * fix(python): add _on_ending to OtelSpanProcessor for opentelemetry-sdk 1.40.0 by @kevinbfrank in https://github.com/langchain-ai/langsmith-sdk/pull/2586 * Bump version: 0.7.18 β 0.7.19 by @kevinbfrank in https:// | Low | 3/17/2026 |
| v0.7.18 | ## What's Changed * fix: fix js missing tz gs by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2569 * chore: js version bump by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2570 * fix(python): replace busy-wait in AsyncExperimentResults.__anext__ by @baskaryan in https://github.com/langchain-ai/langsmith-sdk/pull/2550 * fix(python): propagate exceptions from AsyncExperimentResults._proces⦠by @baskaryan in https://github.com/langchain-ai/l | Low | 3/16/2026 |
| v0.7.17 | ## What's Changed * fix(sandbox): prevent CommandHandle.kill() from hanging by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2557 * feat(sandbox): add yamux multiplexing protocol by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2558 * feat(sandbox): add TCP tunnel support by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2559 * docs(sandbox): add TCP tunnel documentation by @DanielKneipp in https://github.com/langchain-ai/langsmith | Low | 3/12/2026 |
| v0.7.16 | ## What's Changed * fix: gemini wrapper inputs by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2532 * fix: tool calls fix for anthropic wrapper by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2537 * feat: auto populate trace id child runs by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2534 * chore: bump js ver by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2548 * chore: bump ver | Low | 3/9/2026 |
| v0.7.15 | ## What's Changed * fix(js): use UUID v7 for evaluator run IDs and feedback IDs by @bwhiting2356 in https://github.com/langchain-ai/langsmith-sdk/pull/2536 * release(js): 0.5.8 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2538 * fix: add async create support for sandboxes by @langchain-infra in https://github.com/langchain-ai/langsmith-sdk/pull/2539 * fix(python): Fix pytest behavior with fixtures by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2543 * | Low | 3/9/2026 |
| v0.7.14 | ## What's Changed * fix: sum Anthropic cache tokens into input_tokens for correct cost calculation by @QuentinBrosse in https://github.com/langchain-ai/langsmith-sdk/pull/2519 * chore(py): Bump version: 0.7.13 β 0.7.14 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2535 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.13...v0.7.14 | Low | 3/6/2026 |
| v0.7.13 | ## What's Changed * fix: initialize otel exporter before background thread by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2526 * fix: convert non primitive types to JSON strings by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2527 * fix: missing await by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2528 * fix: bump minimatch to resolve CVE-2026-27903 by @jkennedyvz in https://github.com/langchain-ai/langsmith | Low | 3/6/2026 |
| v0.7.12 | ## What's Changed * fix: sample before transform in ingest by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2488 * chore: bump version by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2521 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.11...v0.7.12 | Low | 3/4/2026 |
| v0.7.11 | ## What's Changed * add get insights reports with runs by @Palashio in https://github.com/langchain-ai/langsmith-sdk/pull/2517 * bump version for insights sdk changes by @Palashio in https://github.com/langchain-ai/langsmith-sdk/pull/2520 ## New Contributors * @Palashio made their first contribution in https://github.com/langchain-ai/langsmith-sdk/pull/2517 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.10...v0.7.11 | Low | 3/3/2026 |
| v0.7.10 | ## What's Changed * chore(deps-dev): bump the js-minor-and-patch group across 1 directory with 9 updates by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2490 * fix: update deprecated model and re-record VCR cassettes by @jkennedyvz in https://github.com/langchain-ai/langsmith-sdk/pull/2503 * chore(deps): bump minimatch from 3.1.2 to 3.1.5 in /js/internal/environment_tests/test-exports-metro in the npm_and_yarn group across 1 directory by @dependabot[bot] in https://gith | Low | 3/3/2026 |
| v0.7.9 | ## What's Changed * fix: catch blocksize typeError by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2499 * chore: bump py ver by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2501 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.8...v0.7.9 | Low | 2/27/2026 |
| v0.7.8 | ## What's Changed * fix(ci): replace mistakenly pinned Node 22.4.1 with 22.x by @jkennedyvz in https://github.com/langchain-ai/langsmith-sdk/pull/2477 * chore: bump GitHub workflow Node.js versions to 24.x by @jkennedyvz in https://github.com/langchain-ai/langsmith-sdk/pull/2485 * chore(deps): bump the py-minor-and-patch group across 1 directory with 15 updates by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2475 * chore(deps): bump rollup from 4.57.1 to 4.59.0 in /js/i | Low | 2/27/2026 |
| v0.7.7 | ## What's Changed * fix(js): subagent tool calls tracking for latest claude agent sdk by @dqbd in https://github.com/langchain-ai/langsmith-sdk/pull/2463 * release(js): 0.5.5 by @dqbd in https://github.com/langchain-ai/langsmith-sdk/pull/2464 * fix(js): Respect traceRawHttp for tracing streaming AI SDK calls by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2466 * release(js): 0.5.6 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2467 * feat(python): add W | Low | 2/25/2026 |
| v0.7.6 | ## What's Changed * feat(python): add sandbox exception types and client plumbing by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2442 * fix(py, claude agent sdk): Correctly parent spans in asyncio context by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2457 * perf(py): Improve retry logic for tracing ops by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2459 * feat(py, claude agent sdk): Add wrapping for PostToolUseFailure | Low | 2/21/2026 |
| v0.7.5 | ## What's Changed * chore(deps): bump chalk from 4.1.2 to 5.6.2 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2416 * chore(deps-dev): bump @jest/reporters from 29.7.0 to 30.2.0 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2417 * chore(deps): bump the py-minor-and-patch group across 1 directory with 16 updates by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2440 * chore(deps-dev): bump pandas-stubs fr | Low | 2/19/2026 |
| v0.7.4 | ## What's Changed * fix(google-adk): add wrapt dependency by @QuentinBrosse in https://github.com/langchain-ai/langsmith-sdk/pull/2436 * chore: lock dependencies by @QuentinBrosse in https://github.com/langchain-ai/langsmith-sdk/pull/2439 * release(py): 0.7.4 by @QuentinBrosse in https://github.com/langchain-ai/langsmith-sdk/pull/2441 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.3...v0.7.4 | Low | 2/18/2026 |
| v0.7.3 | ## What's Changed * fix: propagate tracingEnabled to nested traceables by @hntrl in https://github.com/langchain-ai/langsmith-sdk/pull/2427 * chore(python): openai agents: delay span start for spans without inputs on start event by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2424 * release(py): 0.7.3 by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2428 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.7.2...v0.7.3 | Low | 2/13/2026 |
| v0.7.2 | ## What's Changed * release(js): 0.5.1 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2389 * fix(js): Remove @internal by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2391 * release(js): 0.5.2 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2392 * chore(deps-dev): bump openai from 5.8.2 to 6.18.0 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2378 * chore(deps-dev): bump cross-env from 7.0.3 to 10.1 | Low | 2/13/2026 |
| v0.7.1 | ## What's Changed * release(js): 0.5.0 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2381 * fix(ci): Convert JS release workflow to use OIDC by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2383 * feat(js): run evaluations as examples complete by @bees in https://github.com/langchain-ai/langsmith-sdk/pull/2349 * fix(js): Restore default concurrency behavior for JS eval runner by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2385 * fi | Low | 2/10/2026 |
| v0.7.0 | ## What's Changed * chore(deps): bump form-data from 4.0.3 to 4.0.5 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2282 * chore(deps-dev): bump langchain from 0.3.29 to 0.3.37 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2283 * chore(deps): bump vite from 6.3.5 to 6.4.1 in /js by @dependabot[bot] in https://github.com/langchain-ai/langsmith-sdk/pull/2284 * chore:deps by @jkennedyvz in https://github.com/langchain-ai/langsmith- | Low | 2/9/2026 |
| v0.6.9 | ## What's Changed * feat: add pre-commit by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2339 * fix(sandbox): endpoint for python async by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2340 * feat(sandbox): add js lib by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2335 * prevent claude agent sdk double wrapping by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2344 * don't set parent context on span star | Low | 2/5/2026 |
| v0.6.8 | ## What's Changed * feat(python): Non-otel google adk wrapper by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2330 * chore: add chat_name and completions_name optional parameter by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2332 * Bump version: 0.6.7 β 0.6.8 by @ericdong-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2334 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.6.7...v0.6.8 | Low | 2/2/2026 |
| v0.6.7 | ## What's Changed * export google gen ai wrapper by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2316 * bump js sdk (0.4.11) by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2318 * feat(js,python): Use xxhash for deterministic UUID7 for replicas by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2315 * pass metadata on feedback creation by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2317 * fix(python) | Low | 1/31/2026 |
| v0.6.6 | ## What's Changed * release: js 0.4.10 by @baskaryan in https://github.com/langchain-ai/langsmith-sdk/pull/2312 * fix(sandbox): default endpoint by @DanielKneipp in https://github.com/langchain-ai/langsmith-sdk/pull/2313 * feat(py): Allow setting background tracing threads as daemons by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2310 * release(py): 0.6.6 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2314 **Full Changelog**: https://github.com/langc | Low | 1/27/2026 |
| v0.6.5 | ## What's Changed * beta wrap_gemini ts wrapper by @EugeneJinXin in https://github.com/langchain-ai/langsmith-sdk/pull/2121 * chore: rm rust lib by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/pull/2290 * feat: add support for tracing Claude Agent SDK JS by @dqbd in https://github.com/langchain-ai/langsmith-sdk/pull/2271 * feat(js): track latest generator input in claude agent sdk by @dqbd in https://github.com/langchain-ai/langsmith-sdk/pull/2298 * feat(js): respect disable run c | Low | 1/26/2026 |
| v0.6.4 | ## What's Changed * docs: fix some docstrings by @mdrxy in https://github.com/langchain-ai/langsmith-sdk/pull/2269 * chore: set config in traceable by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/pull/2275 * chore: consolidate workflow files by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/pull/2276 * chore: dynamic versioning by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/pull/2278 * release(python) 0.6.2 by @hinthornw in https://github.com/langchain | Low | 1/15/2026 |
| v0.6.1 | ## What's Changed * ci: test more bundlers by @langchain-infra in https://github.com/langchain-ai/langsmith-sdk/pull/2263 * feat(python sdk): Add support for setting commit tags when pushing a prompt by @bees in https://github.com/langchain-ai/langsmith-sdk/pull/2265 * feat: Pass in Cache, rename by @langchain-infra in https://github.com/langchain-ai/langsmith-sdk/pull/2264 * chore: bump sdk by @langchain-infra in https://github.com/langchain-ai/langsmith-sdk/pull/2268 **Full Changelog**: http | Low | 1/6/2026 |
| v0.6.0 | ## What's Changed * chore(js): bump JS to 0.4.3 by @dqbd in https://github.com/langchain-ai/langsmith-sdk/pull/2253 * Revert "feat: add js prompt caching" by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2258 * Revert "feat: Replace UUID5 with deterministic UUID7 for replicas" by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2257 * release(js): bump to 0.4.4 by @dqbd in https://github.com/langchain-ai/langsmith-sdk/pull/2259 * feat: add prompt ca | Low | 1/2/2026 |
| v0.6.0rc0 | ## What's Changed * feat(js): Add support for tracing AI SDK 6 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2237 * fix(js): Remove default Jestlike timeout by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2243 * feat(js): Add support for tracing tool loop agent by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2244 * feat: Replace UUID5 with deterministic UUID7 for replicas by @angus-langchain in https://github.com/langchain-ai/langs | Low | 12/30/2025 |
| v0.5.2 | ## What's Changed * feat(js): Add support for tracing AI SDK 6 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2237 * fix(js): Remove default Jestlike timeout by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2243 * feat(js): Add support for tracing tool loop agent by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2244 * feat: Replace UUID5 with deterministic UUID7 for replicas by @angus-langchain in https://github.com/langchain-ai/langs | Low | 12/30/2025 |
| v0.5.1 | ## What's Changed * feat(openai): Add use responses API to OpenAI wrapper by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2218 * chore(py): Fix Python integration tests by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2219 * feat(js): Add invocation param tracing for OpenAI responses wrapper in JS by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2220 * Ignore empty string by @hinthornw in https://github.com/langchain-ai/langsmith-sdk/p | Low | 12/24/2025 |
| v0.5.0 | ## What's Changed * feat(py,js): Python 0.5, JS 0.4 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2182 * js: Ensures parent traceables always finish after children in https://github.com/langchain-ai/langsmith-sdk/pull/2094 * py: Make evaluator target function traces only trace inputs instead of nested inputs outputs reference_outputs (BREAKING) in https://github.com/langchain-ai/langsmith-sdk/pull/2074 * py,js: Change default ingest to multipart instead of single run ( | Low | 12/16/2025 |
| v0.4.60 | ## What's Changed * feat(js): Wrap additional OpenAI methods in wrapOpenAI by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2198 * fix(js): Fix traceable typing for async iterables and runnable config by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2199 * release(js): 0.3.86 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2202 * fix(py): add missing imports during TYPE_CHECKING by @mkaoudis in https://github.com/langchain-ai/langsmith | Low | 12/16/2025 |
| v0.4.59 | ## What's Changed * feat(py,js): Add prop to omit traced runtime info by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2195 * release(js): 0.3.85 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2196 * release(py): 0.4.59 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2197 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.4.58...v0.4.59 | Low | 12/11/2025 |
| v0.4.58 | ## What's Changed * feat(py,js): Add batch example deletion method, hard delete for Python by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2190 * release(js): 0.3.84 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2191 * release(py): 0.4.58 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2192 **Full Changelog**: https://github.com/langchain-ai/langsmith-sdk/compare/v0.4.57...v0.4.58 | Low | 12/10/2025 |
| v0.4.57 | ## What's Changed * Revert "fix(claude agent sdk): remove thread local storage" by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2185 * feat(js): wrapAnthropic by @angus-langchain in https://github.com/langchain-ai/langsmith-sdk/pull/2183 * release(js): 0.3.83 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2186 * release(py): 0.4.57 by @jacoblee93 in https://github.com/langchain-ai/langsmith-sdk/pull/2187 **Full Changelog**: https://github.com/lan | Low | 12/9/2025 |
