This is your go-to for building LLM applications that need more structure than raw API calls. It covers both LangChain's LCEL pipe syntax for composing chains and LangGraph for stateful agent workflows. The examples are practical: RAG pipelines with vector stores, structured output parsing with Pydantic models, and actual agent graphs with tools and conditional routing. The memory and streaming sections show you how to handle conversations and token-by-token responses. If you're wiring up retrieval systems or multi-step agents, this gets you past the boilerplate fast. LangSmith tracing integration is a nice touch for debugging complex chains.

skills.sh installs
169
GitHub stars
296
last updated
Aug 21, 2026

Install

$ npx -y skills add hoodini/ai-agents-skills --skill langchain --agent claude-code

Installs into .claude/skills of the current project.

Files

LangChain & LangGraph

Build sophisticated LLM applications with composable chains and agent graphs.

Quick Start

pip install langchain langchain-openai langchain-anthropic langgraph
from langchain_anthropic import ChatAnthropic
from langchain_core.prompts import ChatPromptTemplate

# Simple chain
llm = ChatAnthropic(model="claude-3-sonnet-20240229")
prompt = ChatPromptTemplate.from_template("Explain {topic} in simple terms.")
chain = prompt | llm

response = chain.invoke({"topic": "quantum computing"})

LCEL (LangChain Expression Language)

Compose chains with the pipe operator:

from langchain_core.output_parsers import StrOutputParser
from langchain_core.runnables import RunnablePassthrough

# Chain with parsing
chain = (
    {"topic": RunnablePassthrough()}
    | prompt
    | llm
    | StrOutputParser()
)

result = chain.invoke("machine learning")

RAG Pipeline

from langchain_openai import OpenAIEmbeddings
from langchain_community.vectorstores import Chroma
from langchain_core.prompts import ChatPromptTemplate
from langchain_core.runnables import RunnablePassthrough

Sponsors

Details

Repository
github.com/hoodini/ai-agents-skills
Categories
DevOps & CI/CD, AI & Agent Building, Automation & Workflows
First seen
Jun 3, 2026

More from hoodini/ai-agents-skills

All 37
1pedronauck avatarui-ux-pro-maxpedronauck/skillsUI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 9 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind,168skills.sh installs
2oaustegard avatardeveloping-preactoaustegard/claude-skillsSpecialized Preact development skill for standards-based web applications with native-first architecture and minimal dependency footprint. Use when building Pre167skills.sh installs
3cinience avataralicloud-media-livecinience/alicloud-skillsManage Alibaba Cloud ApsaraVideo Live resources and workflows via OpenAPI/SDK. Use for live domain configuration, stream ingest and playback setup, recording/tr166skills.sh installs
4davila7 avatarzapier-make-patternsdavila7/claude-code-templatesNo-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. Bu166skills.sh installs
5sundial-org avataropencode-controllersundial-org/awesome-openclaw-skillsControl and operate Opencode via slash commands. Use this skill to manage sessions, select models, switch agents (plan/build), and coordinate coding through Ope166skills.sh installs
6andrelandgraf avatarnextjs-on-vercelandrelandgraf/fullstackrecipesCreate a Next.js app running on Bun, configure the development environment, and deploy to Vercel with automatic deployments on push.164skills.sh installs