
langchain-fundamentals
Create LangChain agents with create_agent, define tools
by langchain-aiFree
Description
langchain-fundamentals is an agent skill from LangChain's langchain-skills collection, listed on skills.sh. It helps an AI agent create LangChain agents using create_agent, which the skill calls the recommended way to build agents because it handles the agent loop, tool execution and state management. The skill explains how to define tools, and it covers the agent's configuration options: the model, such as an Anthropic Claude model or a model instance; the list of tools; the system prompt; a checkpointer for state persistence; and middleware for processing hooks, including human-in-the-loop and error handling. The middleware examples differ between Python and TypeScript. The skill is intended for developers who want a working agent with the current API rather than an older pattern. A skill is a SKILL.md file of instructions that an AI agent loads when a task calls for it. The skill is listed as free on skills.sh.…
Highlights
- Builds agents with create_agent
- Defines tools for the agent
- Model, tools, system prompt and checkpointer options
- Middleware for human-in-the-loop and errors
Ratings & Reviews
No ratings yet
Be the first to rate langchain-fundamentals.
People also visit
langchain-fundamentals FAQ
What does the langchain-fundamentals skill do?
It helps an AI agent create LangChain agents with create_agent, define tools and add middleware.
How do I install it?
Run: npx skills add https://github.com/langchain-ai/langchain-skills --skill langchain-fundamentals
Is it free?
Yes. The skill is listed as free on skills.sh.
Why create_agent?
The skill calls it the recommended way to build agents, since it handles the loop, tool execution and state.
What middleware is covered?
Human-in-the-loop and error handling, with separate examples for Python and TypeScript.
What are the best langchain-fundamentals alternatives?
Popular alternatives to langchain-fundamentals include ecosystem-primer, langchain4j-ai-services-patterns and agents-get-started. See all langchain-fundamentals alternatives













