By langchain-ai
Trace Claude Code conversations, tool calls, subagent executions, and context compaction to LangSmith
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub langchain-ai/langsmith-claude-code-pluginsTraces Claude Code conversations to LangSmith, including subagent and tool executions
Experimental opt-in local subscription gateway proxy, managed through Claude Code setup/disable commands and independent of tracing.
Sends your Claude Code conversations to LangSmith so you can see what the agent actually did.

Node is still worth having on a Mac because the plugin falls back to it if its own build can't start.
Run these inside Claude Code:
/plugin marketplace add langchain-ai/langsmith-claude-code-plugins
/plugin install langsmith-tracing@langsmith-claude-code-plugins
/reload-plugins
Auto-update is off for this marketplace by default. Turn it on in /plugin under Marketplaces or update by hand with claude plugin update langsmith-tracing@langsmith-claude-code-plugins. The new version loads in your next session.
Using Claude Cowork? See Tracing Claude Cowork to install the plugin there.
Admins can install the plugin for everyone through Claude Code's managed settings. See Manage Claude Code plugins for your organization for how, or Choose a rollout route to cover claude.ai and Cowork too. Then use the managed file below to switch tracing on and set the project for everyone.
An admin can lock any setting in the Settings table except profile with a managed file at ~/.langsmith-plugins/managed.json in each user's home folder. It overrides every other file and environment variable and works on macOS and Linux. Admins usually install it on each machine with an MDM tool, which manages company laptops (such as Jamf, Kandji or Microsoft Intune).
The plugin only trusts the file when:
Set workspace_id as well when your users sign in with the LangSmith CLI. Each user's sign-in may default to a different workspace, so setting it here keeps everyone's traces in one place. API keys ignore this setting so use one scoped to a workspace.
If the file is broken or fails these checks then tracing stops and Claude Code explains why. See the settings guide to set it up.
The simplest option is to sign in once with the LangSmith CLI, which you can install from its docs if you don't have it yet:
langsmith auth login
If you use the CLI sign-in and have more than one profile set profile to the one the plugin should use. Your own api_key ignores this setting, but a generic LANGSMITH_API_KEY isn't used as a fallback while profile is set.
You can use an API key instead by setting api_key in your config file. Create one at smith.langchain.com under Settings then API Keys.
If more than one credential is set the plugin uses the first one it finds:
api_key or CC_LANGSMITH_API_KEYlangsmith auth login sign-inLANGSMITH_API_KEY in your shellA CLI sign-in acts as you so your workspace role needs permission to write traces. You may get a 403 if you switched from a tracing API key (lsv2_tr_...) to the CLI sign-in since tracing keys can always write traces whatever your role is. If that happens ask your admin to give you a role that can write traces such as Workspace Editor and check that no ABAC deny policy on the project blocks it.
When your sign-in expires or your key is rejected the plugin stops uploading but still lets your prompts through. Turns from that gap never upload their content, and Claude Code shows a reminder in the chat at most every 2 minutes until you fix it. Use notice_cooldown to change that interval or set it to off to hide the reminders.
Strict auth refuses every prompt until your sign-in or key works again, even if no credentials were ever set. A plugin command still runs then, but its prompt shows as blocked. Turn it on by setting strict_auth to true. It's off by default and has no effect while tracing is off.
Strict auth also blocks
claude -p. Leave it off in CI unless a failed sign-in should fail the job.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.