Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
eyadsibai avatar

Langchain Agents

  • 54 installs
  • 7 repo stars
  • Updated January 15, 2026
  • eyadsibai/ltk

Helps with ai & agent building tasks.

About

langchain-agents is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted development.

  • langchain-agents
  • AI & Agent Building
  • AI-coding skill

Langchain Agents by the numbers

  • 54 all-time installs (skills.sh)
  • Ranked #6,946 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
npx skills add https://github.com/eyadsibai/ltk --skill langchain-agents

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs54
repo stars7
Last updatedJanuary 15, 2026
Repositoryeyadsibai/ltk

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

LangChain - LLM Applications with Agents & RAG

The most popular framework for building LLM-powered applications.

When to Use

  • Building agents with tool calling and reasoning (ReAct pattern)
  • Implementing RAG (retrieval-augmented generation) pipelines
  • Need to swap LLM providers easily (OpenAI, Anthropic, Google)
  • Creating chatbots with conversation memory
  • Rapid prototyping of LLM applications

---

Core Components

ComponentPurposeKey Concept
Chat ModelsLLM interfaceUnified API across providers
AgentsTool use + reasoningReAct pattern
ChainsSequential operationsComposable pipelines
MemoryConversation stateBuffer, summary, vector
RetrieversDocument lookupVector search, hybrid
ToolsExternal capabilitiesFunctions agents can call

---

Agent Patterns

PatternDescriptionUse Case
ReActReason-Act-Observe loopGeneral tool use
Plan-and-ExecutePlan first, then executeComplex multi-step
Self-AskGenerate sub-questionsResearch tasks
Structured ChatJSON tool callingAPI integration

Tool Definition

ElementPurpose
NameHow agent refers to tool
DescriptionWhen to use (critical for selection)
ParametersInput schema
Return typeWhat agent receives back

Key concept: Tool descriptions are critical—the LLM uses them to decide which tool to call. Be specific about when and why to use each tool.

---

RAG Pipeline Stages

StagePurposeOptions
LoadIngest documentsWeb, PDF, GitHub, DBs
SplitChunk into piecesRecursive, semantic
EmbedConvert to vectorsOpenAI, Cohere, local
StoreIndex vectorsChroma, FAISS, Pinecone
RetrieveFind relevant chunksSimilarity, MMR, hybrid
GenerateCreate responseLLM with context

Chunking Strategies

StrategyBest ForTypical Size
RecursiveGeneral text500-1000 chars
SemanticCoherent passagesVariable
Token-basedLLM context limits256-512 tokens

Retrieval Strategies

StrategyHow It Works
SimilarityNearest neighbors by embedding
MMRDiversity + relevance balance
HybridKeyword + semantic combined
Self-queryLLM generates metadata filters

---

Memory Types

TypeStoresBest For
BufferFull conversationShort conversations
WindowLast N messagesMedium conversations
SummaryLLM-generated summaryLong conversations
VectorEmbedded messagesSemantic recall
EntityExtracted entitiesTrack facts about people/things

Key concept: Buffer memory grows unbounded. Use summary or vector for long conversations to stay within context limits.

---

Document Loaders

SourceLoader Type
Web pagesWebBaseLoader, AsyncChromium
PDFsPyPDFLoader, UnstructuredPDF
CodeGitHubLoader, DirectoryLoader
DatabasesSQLDatabase, Postgres
APIsCustom loaders

---

Vector Stores

StoreTypeBest For
ChromaLocalDevelopment, small datasets
FAISSLocalLarge local datasets
PineconeCloudProduction, scale
WeaviateSelf-hosted/CloudHybrid search
QdrantSelf-hosted/CloudFiltering, metadata

---

LangSmith Observability

FeatureBenefit
TracingSee every LLM call, tool use
EvaluationTest prompts systematically
DatasetsStore test cases
MonitoringTrack production performance

Key concept: Enable LangSmith tracing early—debugging agents without observability is extremely difficult.

---

Best Practices

PracticeWhy
Start simplecreate_agent() covers most cases
Enable streamingBetter UX for long responses
Use LangSmithEssential for debugging
Optimize chunk size500-1000 chars typically works
Cache embeddingsThey're expensive to compute
Test retrieval separatelyRAG quality depends on retrieval

---

LangChain vs LangGraph

AspectLangChainLangGraph
Best forQuick agents, RAGComplex workflows
Code to start<10 lines~30 lines
State managementLimitedNative
Branching logicBasicAdvanced
Human-in-loopManualBuilt-in

Key concept: Use LangChain for straightforward agents and RAG. Use LangGraph when you need complex state machines, branching, or human checkpoints.

Resources

  • Docs: <https://docs.langchain.com>
  • LangSmith: <https://smith.langchain.com>
  • Templates: <https://github.com/langchain-ai/langchain/tree/master/templates>

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.