← Back to Leaderboard
Llangchain-ai

langchain-ai/langsmith-claude-code-plugins

A hook-based Claude Code plugin for turn-level tracing in LangSmith

Engineering Health (Methodology)
A+ · 90/100
Maintenance Activity
● Updated yesterday
Latest Release
0.7.0
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption15/25
Release Cadence20/20
License Clarity20/20
Total Stars
★ 74
24h Growth
+0
7d Growth
+0
Forks
19

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

langchain-ai/langsmith-claude-code-plugins Star History (2026-03-31 - 2026-12-03) ALL-TIME STAR HISTORY (2026-03 – 2026-12) +73 in 247d · avg +0/day 78 39 0 2026-03-31: ★ 12026-04-18: ★ 392026-05-09: ★ 472026-05-30: ★ 532026-06-20: ★ 552026-07-11: ★ 592026-08-01: ★ 652026-08-22: ★ 662026-09-12: ★ 662026-10-03: ★ 722026-10-24: ★ 722026-11-08: ★ 732026-11-23: ★ 742026-12-03: ★ 74 ★ 74 2026-03 2026-08 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

This is a Claude Code hook-based observability extension, not an MCP server or a model proxy. The installable tracing plugin lives under plugins/langsmith-tracing. Its TypeScript package declares langsmith as its sole runtime dependency. Hooks capture activity from the Claude Code session, and a background worker uploads traces to the configured LangSmith API endpoint. Hook and worker logs give operators separate places to diagnose collection and upload failures.

The trace tree follows Claude Code turns rather than exposing only isolated model requests. Model and tool calls are captured within that context, and each subagent is nested under the turn that started it. A subagent is uploaded only after completion, so cancellation leaves its steps out of the trace. The separate langsmith-gateway plugin routes model requests; it is not required for this collection path.

Key Capabilities & Differentiators

Each model call records the conversation so far, the reply, model and provider names, and token counts. Tool calls include inputs and outputs; skill calls identify which skill ran. A tool call that touches a file inside a Git repository is tagged with the repository name, branch, commit, and author. The /langsmith-tracing:trace command returns a link to the current conversation's trace.

Use agent_id for an agent-based workspace or the legacy project setting for a project-based workspace. If neither is set, the destination is the claude-code project. Authentication checks a plugin-specific key first, then a LangSmith CLI sign-in, then a generic LANGSMITH_API_KEY; an explicitly selected CLI profile suppresses that last fallback. A CLI sign-in acts with the user's workspace permissions, so a successful login does not rule out a write-time 403.

Trade-offs & Limitations

Compared with direct SDK instrumentation, this plugin captures Claude Code activity without requiring changes to application code, but coverage is bounded by the plugin's integration and completed events. A model gateway addresses request routing, not this turn-level view of tools and subagents. The plugin is MIT-licensed; that does not determine the terms of the LangSmith service. Endpoint configuration lets operators choose where traces are sent, but does not supply a self-hosted backend.

Full tracing can export conversation and tool payloads. Redaction covers common credential patterns, not every sensitive value. Muting takes effect on the next turn, still exports trace structure, and does not retract prior uploads. Review repository-level configuration before use: it can enable tracing or change the destination. By default, an authentication failure does not block prompts, and content from the gap is not backfilled. Strict auth instead blocks prompts, including claude -p, so enabling it can turn a credential outage into a CI failure.

Hardware & Deployment Guide

Add langchain-ai/langsmith-claude-code-plugins as a marketplace inside Claude Code, install langsmith-tracing@langsmith-claude-code-plugins, and run /reload-plugins. Macs normally run the bundled binary; Node.js is the fallback if it cannot start. Linux and Windows require Node.js 20 or newer. Release 0.7.0 provides signed, notarized macOS arm64 and x64 builds with SHA-256 sidecars. Marketplace auto-updates are off by default; an updated version loads in the next session.

Authenticate with a LangSmith account and enable tracing explicitly, for example with /langsmith-tracing:setup, unless it is already enabled through managed settings. Uploads require connectivity to the configured endpoint; the default is https://api.smith.langchain.com. On macOS and Linux, administrators can lock settings other than profile using ~/.langsmith-plugins/managed.json. The file and its parent directory must be root-owned, not writable by other users, and not symlinks; an invalid managed file stops tracing.

Runtime: The TypeScript package declares langsmith as its sole runtime dependency; hook and uploader diagnostics go to separate logs.
Trace detail: Model calls record conversation context, replies, model and provider names, and token counts; tool calls include inputs and outputs.
Hierarchy: Subagents nest under the originating turn and upload only on completion; eligible file operations carry Git metadata.
Destination: agent_id targets an agent-based workspace; project targets a legacy project-based workspace and defaults to claude-code when neither is set.
Managed controls: A trusted root-owned managed.json overrides environment and user settings on macOS and Linux, except for profile.
Release packaging: 0.7.0 includes signed, notarized macOS arm64 and x64 binaries with SHA-256 sidecars.
Best For

Teams already using LangSmith that need to inspect Claude Code model calls, tools, and subagents by turn and can approve export to a known endpoint.

Skip If

Session data must stay on-device, you need a bundled self-hosted trace backend, or your primary requirement is model routing rather than observability.

Reviewed on 2026-12-01 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

pnpm install
pnpm test
pnpm build

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
langsmith-claude-code-plugins ★74—TypeScriptMITA hook-based Claude Code plugin for turn-level tracing in LangSmith
ponytail204.4k+4.1kJavaScriptMITA prompt-driven coding-agent plugin for smaller changes and focused tests.
ECC316.1k+4.2kJavaScriptMITPlugins and CLI workflows for planning, reviewing, and verifying agent-written c
spec-kit153.7k+1.3kPythonMITA Python CLI for spec-driven coding-agent workflows and reviewable handoffs

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/langchain-ai/langsmith-claude-code-plugins.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

langchain-ai/langsmith-claude-code-plugins Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about langsmith-claude-code-plugins

How does it integrate with Claude Code: hooks, MCP, or a model gateway?

Install the Claude Code plugin and enable tracing. Hooks collect turn data, and a background worker uploads it to the configured LangSmith endpoint. This is not an MCP server and does not route model requests; model routing is handled by the separate langsmith-gateway plugin.

Does it need a GPU, and what local overhead should I plan for?

The plugin does not run model inference and adds no GPU or VRAM requirement. It runs a bundled binary on supported macOS architectures, with a Node.js fallback; Linux and Windows need Node.js 20 or newer. No CPU or memory benchmarks are available. When sizing a rollout, measure local overhead and upload volume with representative sessions, especially those with large tool outputs.

Can we use it commercially or keep traces on our own infrastructure?

The plugin is MIT-licensed, which permits commercial use and redistribution subject to its license notice requirements. That license does not confer rights to the LangSmith service. A custom API endpoint can be configured, but the plugin does not include a self-hosted trace backend. Confirm endpoint compatibility, retention and access policies, and whether source code and tool output may be exported before enabling tracing.

When is this preferable to direct SDK instrumentation or a gateway?

Choose the plugin when you want Claude Code conversations, tools, and subagents grouped by turn in LangSmith without instrumenting application code. Direct SDK instrumentation makes more sense when you own the application and need explicit control of span boundaries and data collection. Use a model gateway when routing requests is the requirement; it operates at a different layer.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining langchain-ai/langsmith-claude-code-plugins? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature langchain-ai/langsmith-claude-code-plugins on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare