langchain
Skill8 starsChanged 3 months agoMITView on GitHub
LangChain framework for building AI agents and LLM applications with tools, memory, and streaming support
17 other projects use a version of this.
Adopted by
Most recently taken up by
- Charon621/skillstheir own version, first seen Nov 29, 2026
- Ghost7802/awesome-api-skillstheir own version, first seen Nov 29, 2026
- amutaal122/ai-engineer-mastertheir own version, first seen Nov 29, 2026
- KPISTOLAS/claude-skillstheir own version, first seen Nov 16, 2026
- Ivan-propio/claude-skillstheir own version, first seen Nov 16, 2026
- svngoku/coding-agents-skillstheir own version, first seen Nov 1, 2026
Used with
Projects with it also use analytics-metrics, aws-account-management and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
hoodiniSkillanalytics-metrics
Build data visualization and analytics dashboards. Use when creating charts, KPI displays, metrics dashboards, or data visualization components. Triggers on analytics, dashboard, charts, metrics, KPI, data visualization, Recharts.
Also in 3 projects that use this
hoodiniSkillaws-account-management
Manage AWS accounts, organizations, IAM, and billing. Use when setting up AWS Organizations, managing IAM policies, controlling costs, or implementing multi-account strategies. Triggers on AWS Organizations, AWS IAM, AWS billing, Cost Explorer, SCPs, multi-account, AWS SSO, Identity Center.
Also in 3 projects that use this
MongoDBSkillmongodb
Front door for MongoDB and MongoDB Atlas. Use it before answering which database, MongoDB deployment, Atlas tier, or database hosting to use, even for advice-only questions. MongoDB updates frequently, so check this skill first. Also use it before setting up, provisioning, or connecting to MongoDB or Atlas, or creating a throwaway or prototype database. Also use when the user mentions "MongoDB", "Atlas", "MongoDB quickstart", "document database", "NoSQL", "BSON", "Mongoose", "PyMongo", "RAG", "Vector Search", "aggregation pipeline", "change streams", or "backend", and for general MongoDB development questions (CRUD, transactions, drivers and ODMs, server versions) from current docs. If a more specific MongoDB skill is installed and matches the task (schema design, query writing or optimization, search and vector search, stream processing, connection tuning, MCP server setup, queryable encryption sizing), load that instead; if it isn't installed, use this skill, which routes to it.
Also in 3 projects that use this
imehrSkillrailway
Railway.com deployment and management - deployment, logs, migrations, troubleshooting, monorepo strategies, security, and CLI reference. Use when deploying to Railway, configuring services, managing environment variables, or debugging deployment issues.
Also in 3 projects that use this
- +7 more from hoodini
Other versions17 projects use a version of this.
Word for word · 1
- belos-street/skill-kit★ 8100% same
Edited · 0
None found.
Wrote their own version · 16
- langchain-ai/docs★ 458same name
- hoodini/ai-agents-skills★ 303same name
- magnus919/agent-skills★ 197same name
- G1Joshi/Agent-Skills★ 15same name
- Ghost7802/awesome-api-skills★ 13same name
- svngoku/coding-agents-skills★ 12same name
- dekoza/oh-my-slop★ 4same name
- Makiya1202/ai-agents-skills★ 2same name
- Makiya1202/awesome-codex-computer-use★ 2same name
- Clay-HHK/claude-skills★ 1same name
6 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/nestjs-best-practices/AGENTS.mdAGENTS.md
- skills/react-native-skills/AGENTS.mdAGENTS.md
- ai-collab-system-bootstrapSkill
- ant-design-vueSkill
- belos-streetSkill
- bunSkill
- fastify-best-practicesSkill
- frontend-designSkill
- golang-best-practicesSkill
- grill-meSkill
- nestjs-best-practicesSkill
- nextjsSkill
- piniaSkill
- ragSkill
- react-best-practicesSkill
- react-best-practicesSkill
- react-native-skillsSkill
- reactSkill
- brainstormingSkill
- dispatching-parallel-agentsSkill
- executing-plansSkill
- finishing-a-development-branchSkill
- receiving-code-reviewSkill
- requesting-code-reviewSkill
- superpowersSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
- using-git-worktreesSkill
- using-superpowersSkill
- verification-before-completionSkill
- writing-plansSkill
- writing-skillsSkill
- ui-templatesSkill
- unocssSkill
- vibe-flowSkill
- vue-best-practicesSkill
- vue-router-best-practicesSkill
- vueSkill
- zustandSkill
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 13 edited versions we read keep these.
3
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Use create_agent as the unified interface for creating agents
- Distinctive: line 19
Prefer structured output for reliable data extraction
- Distinctive: line 20
Always implement error handling for production agents
- Distinctive: line 21
Use streaming for better user experience
“Common” is measured: kept by at least 6 in 10 of the 13 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
LangChain
LangChain is the easy way to build custom agents and applications powered by LLMs. With under 10 lines of code, you can connect to OpenAI, Anthropic, Google, and more.
Preferences
- Use
create_agentas the unified interface for creating agents - Prefer structured output for reliable data extraction
- Always implement error handling for production agents
- Use streaming for better user experience
- Leverage middleware for cross-cutting concerns
Core Components
| Topic | Description | Reference |
| Agents | Core agent architecture with create_agent | agents-basics.md |
| Models | Model integration (OpenAI, Anthropic, etc.) | models-integration.md |
| Messages | Message formats and conversation structure | messages-format.md |
| Tools | Tool definition and dynamic tool selection | agents-tools.md |
| Memory | Short-term and conversation memory | memory-short-term.md |
| Streaming | Streaming output for real-time responses | streaming-output.md |
| Structured Output | Structured data extraction from LLMs | structured-output.md |
Middleware
| Topic | Description | Reference |
| Middleware Overview | Middleware architecture and patterns | middleware-overview.md |
| Human-in-the-Loop | Add human intervention to agents | middleware-human-in-loop.md |
Additional Features
| Topic | Description | Reference |
| Prompt Templates | Reusable prompt templates | prompt-templates.md |
| RAG Basics | Retrieval Augmented Generation | rag-basics.md |
| Error Handling | Production error handling patterns | error-handling.md |
Quick Reference
Basic Agent
from langchain.agents import create_agent
def get_weather(city: str) -> str:
"""Get weather for a given city."""
return f"It's always sunny in {city}!"
agent = create_agent(
model="claude-sonnet-4-6",
tools=[get_weather],
system_prompt="You are a helpful assistant",
)
result = agent.invoke(
{"messages": [{"role": "user", "content": "what is the weather in sf"}]}
)Agent with Model Instance
from langchain.agents import create_agent
from langchain_openai import ChatOpenAI
model = ChatOpenAI(
model="gpt-4",
temperature=0.1,
max_tokens=1000,
timeout=30
)
agent = create_agent(model, tools=[get_weather])Streaming Agent
from langchain.agents import create_agent
agent = create_agent(
model="gpt-4",
tools=[get_weather],
streaming=True
)
async for chunk in agent.stream({"messages": [...]}):
print(chunk.content, end="", flush=True)Structured Output
from pydantic import BaseModel
from langchain.agents import create_agent
class WeatherReport(BaseModel):
city: str
temperature: float
condition: str
agent = create_agent(
model="gpt-4",
output_schema=WeatherReport
)
result = agent.invoke({"messages": [...]})
weather = result.structured_outputKey Imports
from langchain.agents import create_agent
from langchain.tools import tool
from langchain_openai import ChatOpenAI
from langchain_anthropic import ChatAnthropic
from langchain.agents.middleware import (
wrap_model_call,
SummarizationMiddleware,
HumanInTheLoopMiddleware
)Official Documentation
- Main: https://docs.langchain.com/oss/python/langchain
- Agents: https://docs.langchain.com/oss/python/langchain/agents
- Models: https://docs.langchain.com/oss/python/langchain/models
- Tools: https://docs.langchain.com/oss/python/langchain/tools
- Memory: https://docs.langchain.com/oss/python/langchain/memory
- Streaming: https://docs.langchain.com/oss/python/langchain/streaming
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

