langchain-components

langchain-components is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 56 tokens per session (3,510 once invoked), scanned A, original, MIT.

A reference for LangChain, LangGraph, and Deep Agents, tools for building applications that use AI models. It covers agents, tool calls, document search, conversation memory, and workflows involving multiple agents.

In plain words
What is it for?
Use it to build AI agents, retrieval-augmented generation systems that answer from documents, chat applications, tool integrations, memory, streaming responses, and multi-agent workflows.
Why use it?
It helps organize the many parts needed to build AI applications instead of piecing together unfamiliar concepts from separate sources.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions subagents; mentions Claude Code.

Part of the frameworks-virtuoso plugin — 12 skills shipped together

Good fit Use it to build AI agents, retrieval-augmented generation systems that answer from documents, chat applications, tool integrations, memory, streaming responses, and multi-agent workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krzysztofsurdy/code-virtuoso/langchain-components
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.

Any agent
npx skills add krzysztofsurdy/code-virtuoso --skill langchain-components
Clone the repo
git clone --depth 1 https://github.com/krzysztofsurdy/code-virtuoso

Made for: Claude Code.

Or install frameworks-virtuoso, the plugin that ships this one along with the rest of its 12 skills.

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-components

README.md
[![agentmods](https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/langchain-components/github.svg)](https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/langchain-components)
Your own site
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/langchain-components"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/langchain-components/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for langchain-components

Your own site · 80×15
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/langchain-components"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/langchain-components.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,510 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.00056 $0.03510
Opus 5.5 $0.00022 $0.01404
Sonnet 5.5 $0.00011 $0.00702
Haiku 4.5 $0.00006 $0.00351

Measured 4d ago against content hash 1d9a702211a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

langchain-components 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 4d 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.

skills/frameworks/langchain/langchain-components/SKILL.md · 215 lines

How it starts

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

LangChain components

The LangChain stack changes every week: model IDs, streaming and interrupt interfaces, and Deep Agents backends all moved within months. This skill therefore holds no API listings. It holds the decisions the docs do not make for you, and it points to the live docs for syntax. Fetch the current API before writing code that calls it.

Core principles

Principle Meaning
Fetch, do not recall Treat any remembered signature, model ID, or import path as stale until the docs confirm it
Match the installed version Read versions from the lockfile first, then fetch docs for that line
Smallest layer that fits Start at the highest-level tool that covers the need and drop down only when it cannot
One agent first Add multi-agent structure only after a single agent with good tools and prompt fails
State must be persisted to pause Interrupts, resume, and multi-turn memory all depend on a checkpointer
Model output is untrusted input Tool arguments and retrieved text can be wrong or hostile

Version matrix

Checked on 2026-10-21 against PyPI and the official release policy.

Package Current Python Stability
langchain 1.4.6 3.10+ v1 semver: breaking changes only in 2.0
langgraph 1.2.16 3.10+ v1 semver: breaking changes only in 2.0
deepagents 0.7.29 3.11+ 0.x: no stability promise, pin it and read changelogs

The v1 promise, from the official release policy: minor releases add features without breaking changes, deprecated features keep working through the whole 1.x series, and 1.0 is a long-term-support release that stays active until 2.0. Legacy LangChain 0.3 and LangGraph 0.4 are in maintenance until December 2026. Code written for those lines (AgentExecutor, create_react_agent, legacy chains) needs migration, not patching.

Read installed versions before anything else:

grep -A1 -E '^name = "(langchain|langgraph|deepagents|langchain-core)"' uv.lock poetry.lock 2>/dev/null
pip show langchain langgraph deepagents 2>/dev/null | grep -E '^(Name|Version)'

Read the full file on GitHub · 215 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. 4d ago Changed · +65 lines · -53 tokens per session 1d9a702211a0
  2. 1mo ago First seen · 150 lines · 109 tokens per session scan A ff2834d24f03

Subscribe to this mod's changes

langchain-components is a skill published in the GitHub repository krzysztofsurdy/code-virtuoso (36 stars, last pushed 2d ago), licensed MIT. It adds 56 tokens to every session and 3,510 once invoked, about $0.0002 per session on Opus 5.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.

Related

Other skills, from other repositories

mnemosyne-maintenance

Use when: upgrading Mnemosyne, diagnosing slow/hung consolidation (mnemosynesleep), fixing missing embeddings, or troubleshooting import/version mismatches.

AtlasOmnia/hermes-custom-pack · 40 tokens

apigee-agent-gateway-governance

Stands up an Apigee API proxy that a Google Cloud Agent Gateway calls as an ext-proc (Service Extension) callout on an agent's LLM traffic, to meter token usage per model, extract caller identity, and apply Model Armor prompt screening or a semantic cache. Use when wiring Apigee in as an AI gateway behind an Agent…

google/skills · 222 tokens

agent-platform-rag-engine-management

Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…

google/skills · 85 tokens

graphify

Use for any question about a codebase, its architecture, file relationships, or project content — especially when graphify-out/ exists, where the question should be treated as a graphify query first. Turns any input (code, docs, papers, images, videos) into a persistent knowledge graph with god nodes, community…

Graphify-Labs/graphify · 76 tokens

google-cloud-solution-rag-enterprise-search-gke-sqldb

Discovers requirements, and generates architectural, design, and deployment guidance for a retrieval-augmented generation (RAG)-capable enterprise search system in Google Cloud. Use when users need a vector-enabled SQL database as the store and index for the embedding vectors, an open model and open-source inferencing…

google/skills · 114 tokens

gpt-image-2

A skill for generating or editing images with GPT Image 2 across local, host-provided, or advisory setups.

ConardLi/garden-skills · 177 tokens