Claude Tools / Plugins / langsmith-tracing

Plugins · langchain-ai/langsmith-claude-code-plugins

langsmith-tracing

Traces Claude Code conversations to LangSmith, including subagent and tool executions

CLEARED_STATICclaude-onlyv0.2.3

Pipeline results

Coverage

CLEARED_STATIC

Tests run

7 / 8

Portability

Claude-only

Type

Plugins

Tests & results

What the pipeline checked

TestStateResult or reason
eligibilityranall eligibility checks passed
dedupranunique -- no near-duplicate found
clocran92892 code lines / 55 files
secretsranno secret patterns matched
egressran20 lexical match(es) — FLAG-INFO (C-01: semantic analysis deferred to v2)
injectionranno patterns matched (confidence: STANDARD)
required-fieldsranrequired fields present: name, version, description
behaviouraldeferredbehavioural assessment deferred (v1): 15 JS/TS entry point(s)

Coverage

Not assessed

  • behavioural execution not run
  • egress patterns logged (FLAG-INFO): 20 lexical match(es)

README

From the repository

# LangSmith Tracing Plugin for Claude Code

A Claude Code plugin that traces conversations, tool calls, subagent executions, and context compaction to [LangSmith](https://smith.langchain.com).

![](./static/img/example_trace.png)

## Prerequisites

- [Node.js](https://nodejs.org/) v18+

## Installation

### As a Claude Code plugin

From within Claude Code, run:

```
/plugin marketplace add langchain-ai/langsmith-claude-code-plugins
/plugin install langsmith-tracing@langsmith-claude-code-plugins
/reload-plugins
```

To update, run:

```
/plugin marketplace update langsmith-claude-code-plugins
/reload-plugins
```

### As a Claude Cowork plugin

Claude Cowork runs Claude Code in a sandboxed VM, thus the plugin needs to be added separately.

1. Allow network egress for `LANGSMITH_CC_ENDPOINT` (eg. `https://api.smith.langchain.com`) or for all domains
2. Add `langchain-ai/langsmith-claude-code-plugins` marketplace in Customize > Personal Plugins (+) > Create Plugin > Add Marketplace
3. Edit each of the Claude Code hooks by prepending LangSmith Claude Code environment variables to `command` of every hook. [Watch video to see step-by-step](https://github.com/user-attachments/assets/1d44b3

← Back to Plugins