langchain-components

langchain-components is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 109 tokens per session (1,430 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: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the frameworks-virtuoso plugin — 4 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 4 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 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,430 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.00109 $0.01430
Opus 5 $0.00055 $0.00715
Sonnet 5 $0.00022 $0.00286
Haiku 4.5 $0.00011 $0.00143

Measured 9d ago against content hash ff2834d24f03, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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 · 150 lines

How it starts

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

LangChain Components

Complete reference for the LangChain ecosystem — models, agents, tools, retrieval, memory, middleware, streaming, multi-agent orchestration, LangGraph workflows, Deep Agents, and provider integrations for Python 3.10+.

Component Index

Models & Output

  • Models — Chat models, tool calling, multimodal inputs, caching, rate limiting, custom models reference
  • Messages — Message types (Human, AI, System, Tool), message operations, serialization, OpenAI format conversion reference

Agents

  • Agents — create_agent, tools, structured output, guardrails, human-in-the-loop, context engineering reference
  • Multi-Agent — Subagents, handoffs, skills, router, custom workflows, pattern selection reference

Tools & MCP

  • Tools — Tool creation (@tool decorator, ToolNode), InjectedState, MCP integration, error handling reference

Retrieval & RAG

  • Retrieval — Document loaders, text splitters, embeddings, vector stores, agentic RAG, semantic search reference

Memory

  • Memory — Short-term (checkpointers, message trimming, summarization), long-term (store abstraction, namespaces) reference

Middleware & Streaming

  • Middleware — 16 built-in middleware, custom middleware (decorator, class, wrap-style), execution order reference
  • Streaming — Stream modes (updates, messages, custom), token streaming, useStream React hook reference

Runtime & Architecture

  • Runtime — Dependency injection, context schemas, ToolRuntime, component architecture (5 layers) reference

Testing & Deployment

  • Testing — Unit testing (GenericFakeChatModel), integration testing (AgentEvals), LangSmith observability reference

LangGraph

  • LangGraph Core — Graph API, Functional API, workflows vs agents, state management, quickstart reference
  • LangGraph State — Memory, persistence, durable execution, interrupts, checkpointers reference
  • LangGraph Advanced — Subgraphs, time-travel, streaming, Graph API usage, Functional API usage reference

Read the full file on GitHub · 150 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. 9d 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 (21 stars, last pushed 3mo ago), licensed MIT. It adds 109 tokens to every session and 1,430 once invoked, about $0.0005 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.

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

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

kb-retriever

A retrieval and question-answering assistant for a local folder of documents, including Markdown, text, PDFs, and spreadsheets.

ConardLi/garden-skills · 105 tokens