langchain-fundamentals

Installation
SKILL.md

<create_agent>

Creating Agents with create_agent

create_agent() is the recommended way to build agents. It handles the agent loop, tool execution, and state management.

Agent Configuration Options

Parameter Purpose Example
model LLM to use "anthropic:claude-sonnet-4-5" or model instance
tools List of tools [search, calculator]
system_prompt / systemPrompt Agent instructions "You are a helpful assistant"
checkpointer State persistence MemorySaver()
middleware Processing hooks [HumanInTheLoopMiddleware] (Python) / [humanInTheLoopMiddleware({...})] (TypeScript)
</create_agent>
Related skills
Installs
22
GitHub Stars
95
First Seen
Mar 10, 2026