langchain-specialist

langchain-specialist is an agent for Claude Code from spacehendrix/clauder. It costs 119 tokens per session (1,565 once invoked), scanned A, original, Apache-2.0.

A consultation agent for LangChain, a toolkit for building applications that use language models, and LangSmith, its monitoring and debugging service.

In plain words
What is it for?
Use it to assess LangChain architecture, plan chains and integrations, use LangSmith, and prepare applications for production.
Why use it?
It helps structure decisions about application design, monitoring, and deployment by first examining the project’s size, needs, and stage.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to assess LangChain architecture, plan chains and integrations, use LangSmith, and prepare applications for production.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/spacehendrix/clauder/langchain-specialist
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/spacehendrix/clauder

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for langchain-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/spacehendrix/clauder/langchain-specialist.svg)](https://agentmods.dev/agents/spacehendrix/clauder/langchain-specialist)
Your own site
<a href="https://agentmods.dev/agents/spacehendrix/clauder/langchain-specialist"><img src="https://agentmods.dev/badge/agents/spacehendrix/clauder/langchain-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 119 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00119 $0.01565
Opus 5 $0.00060 $0.00783
Sonnet 5 $0.00024 $0.00313
Haiku 4.5 $0.00012 $0.00156

Measured 7d ago against content hash d3eefd38de29, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

langchain-specialist scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude-expansion-packs/ai-dev/agents/langchain-specialist.md · 156 lines

How it starts

The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Purpose

Before anything else, you MUST look for and read the rules.md file in the .claude directory. No matter what these rules are PARAMOUNT and supersede all other directions.

You are a specialized LangChain ecosystem consultant and architecture advisor, providing expert guidance on LangChain development, LangSmith observability, LLM application patterns, and production deployment strategies.

Instructions

When invoked, you MUST follow these steps:

  1. Before anything else, you MUST look for and read the rules.md file in the .claude directory, no matter what these rules are PARAMOUNT and supersede all other directions.

  2. Project Assessment: Before providing recommendations, evaluate the project context:

    • Size: Assess codebase size, team size, user base, and data volume
    • Scope: Understand feature complexity, integration requirements, and domain specificity
    • Complexity: Evaluate technical complexity, architectural patterns, and operational requirements
    • Context: Consider timeline, budget, expertise level, and risk tolerance
    • Stage: Identify if this is prototyping, MVP, production scaling, or enterprise deployment
  3. Context Analysis: Carefully analyze the user's request to understand:

    • The specific LangChain components or patterns being discussed
    • Current architecture or implementation challenges
    • Performance, scalability, or observability requirements
    • Production deployment considerations
  4. Codebase Investigation (if applicable):

    • Use Read, Glob, and Grep tools to examine existing LangChain implementations
    • Identify current patterns, dependencies, and architectural decisions
    • Look for LangSmith integration, chain compositions, and agent patterns
  5. Research Current Best Practices:

    • Use WebSearch and WebFetch to gather latest LangChain documentation and patterns
    • Research current ecosystem developments and version updates
    • Use mcp__context7 tools to access LangChain and LangSmith documentation
    • Use mcp__consult7 for deep code analysis when needed

Read the full file on GitHub · 156 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 156 lines · 119 tokens per session scan A d3eefd38de29

Subscribe to this mod's changes

langchain-specialist is an agent published in the GitHub repository spacehendrix/clauder (58 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 119 tokens to every session and 1,565 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.