langchain
Framework for building LLM-powered applications with agents, chains, and RAG.
Skill by GongYuanCaiJi
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gongyuancaiji-langchain
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: frontend, ml, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions: not checked yet.
What's inside
- Skill name
langchain- Description
- Framework for building LLM-powered applications with agents, chains, and RAG. Supports multiple providers (OpenAI, Anthropic, Google), 500+ integrations, ReAct agents, tool calling, memory management, and vector store retrieval. Use for building chatbots, question-answering systems, autonomous agents, or RAG applications. Best for rapid prototyping and production deployments.
- License
- MIT
- Instructions
- 472 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- name: "langchain" does not match folder "agents-langchain"
Files (4)
- SKILL.md
- agents.md · references/
- integration.md · references/
- rag.md · references/
SKILL.md (first lines)
# LangChain - Build LLM Applications with Agents & RAG
The most popular framework for building LLM-powered applications.
## When to use LangChain
**Use LangChain when:**
- 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
- Production deployments with LangSmith observability
**Metrics**:
- **119,000+ GitHub stars**
- **272,000+ repositories** use LangChain
- **500+ integrations** (models, vector stores, tools)
- **3,800+ contributors**
**Use alternatives instead**:
- **LlamaIndex**: RAG-focused, better for document Q&A
- **LangGraph**: Complex stateful workflows, more control
- **Haystack**: Production search pipelines
- **Semantic Kernel**: Microsoft ecosystem
## Quick start
### Installation
```bash
# Core library (Python 3.10+)
pip install -U langchain
# With OpenAI
pip install langchain-openai
# With Anthropic
pip install langchain-anthropic
# Common extras
pip install langchain-community # 500+ integrations
pip install langchain-chroma # Vector store
```
### Basic LLM usage
```python
from langchain_anthropic import ChatAnthropic
# Initialize model
llm = ChatAnthropic(model="claude-sonnet-4-5-20250929")
# Simple completion
response = llm.invoke("Explain quantum computing in 2 sentences")
print(response.content)
```
### Create an agent (ReAct pattern)
```python
from langchain.agents import create_agent
from langchain_anthropic import ChatAnthropic
# Define tools
def get_weather(city: str) -> str:
"""Get current weather for a city."""
return f"It's sunny in {city}, 72°F"
def search_web(query: str) -> str:
"""Search the web for information."""
return f"Search results for: {query}"
# Create agent (<10 lines!)
agent = create_agent(
model=ChatAnthropic(model="claude-sonnet-4-5-20250929"),
tools=[get_weather, search_web],
system_prompt="You are a helpful assistant. Use tools when needed."
)
# Run agent
result = agent.invoke({"messages": [{"role": "user", "content": "What's the weather in Paris?"}]})
print(result["messages"][-1].content)
```
## Core concepts
### 1. Models - LLM abstraction
```python
from langchain_openai import ChatOpenAI
from langchain_anthropic import ChatAnthropic
from langchain_google_genai import ChatGoogleGenerativeAI
# Swap providers easily
llm = ChatOpenAI(model="gpt-4o")
llm = ChatAnthropic(model="claude-sonnet-4-5-20250929")
llm = ChatGoogleGenerativeAI(model="gemini-2.0-flash-exp")
# Streaming
for chunk in llm.stream("Write a poem"):
print(chunk.content, end="", flush=True)
```
### 2. Chains - Sequential operations
```python
from langchain.chains import LLMChain
from langchain.prompts import PromptTemplate
# Define prompt template
prompt = PromptTemplate(
input_variables=["topic"],
template="Write a 3-sentence summary about {topic}"
)
# Create chain
chain = LLMChain(llm=llm, prompt=prompt)From GongYuanCaiJi/dsh-claude-code-templates, MIT.
More from GongYuanCaiJi/dsh-claude-code-templates
- 0.511score
docs-search
GongYuanCaiJi
Search auto-generated codebase documentation for function signatures, API docs, class definitions, and code comments.
SkillBFreshness: BClaude Code +9 - 0.511score
graph-query
GongYuanCaiJi
Query the code graph database to understand component relationships, dependencies, and change impact.
SkillBFreshness: BClaude Code +9 - 0.511score
memory-search
GongYuanCaiJi
Search conversation history and semantic memory to recall previous discussions, decisions, and context.
SkillBFreshness: BClaude Code +9 - 0.511score
planning
GongYuanCaiJi
Create and manage persistent markdown planning files for structured task execution.
SkillBFreshness: BClaude Code +9 - 0.511score
agent-messaging
GongYuanCaiJi
Send and receive cryptographically signed messages between AI agents using the Agent Messaging Protocol (AMP).
SkillBFreshness: BClaude Code +9 - 0.502score
owasp-security
GongYuanCaiJi
Comprehensive OWASP-aligned security guidance across six standards - Top 10 (2021) for web apps, ASVS 5.0, MASVS v2.1.0 for mobile, API Security Top 10…
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 15, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Same skill elsewhere
Copies of this SKILL.md published by others; search shows only one of them.
More from GongYuanCaiJi
- 0.525score
domain-modeling
GongYuanCaiJi
Build and sharpen a project's domain model.
SkillBFreshness: B★ 3Claude Code +9 - 0.525score
codebase-design
GongYuanCaiJi
Shared vocabulary for designing deep modules.
SkillBFreshness: B★ 3Claude Code +9 - 0.514score
implement
GongYuanCaiJi
Implement a piece of work based on a spec or set of tickets.
SkillBFreshness: B★ 3Claude Code +9 - 0.511score
skill-authoring
GongYuanCaiJi
Principles for writing skills that behave the same way every run — use when adding, editing, or reviewing a skill in this plugin
SkillBFreshness: BClaude Code +9 - 0.511score
graph-query
GongYuanCaiJi
Query the code graph database to understand component relationships, dependencies, and change impact.
SkillBFreshness: BClaude Code +9 - 0.511score
planning
GongYuanCaiJi
Create and manage persistent markdown planning files for structured task execution.
SkillBFreshness: BClaude Code +9
Cite this page
langchain skill. Agent Mart. https://agentmart.dev/skills/gongyuancaiji-langchain (last updated 2026-10-24)