Skip to main content
Back to registry

langchain-fundamentals

langchain-ai/langchain-skills

Installs1
Install command
npx skills add https://github.com/langchain-ai/langchain-skills --skill langchain-fundamentals
Security audits
Gen Agent Trust HubPASS
SocketPASS
SnykWARN
About this skill
create_agent() is the recommended way to build agents. It handles the agent loop, tool execution, and state management. @tool def get_weather(location: str) -> str: """Get current weather for a location. agent = create_agent( model="anthropic:claude-sonnet-4-5", tools=[get_weather], system_prompt="You are a helpful assistant." ) result = agent.invoke({ "messages": [{"role": "user", "content": "What's the weather in Paris?"}] }) print(result["messages"][-1].content) checkpointer = MemorySaver() agent = create_agent( model="anthropic:claude-sonnet-4-5", tools=[search], checkpointer=checkpointer, ) config = {"configurable": {"thread_id": "user-123"}} agent.invoke({"messages": [{"role": "user", "content": "My name is Alice"}]}, config=config) result = agent.invoke({"messages": [{"role": "user", "content": "What's my name?"}]}, config=config) Tools are functions that agents can call. Use the @tool decorator (Python) or tool() function (TypeScript). @tool def add(a: float, b: float) -> float: """Add two numbers. Middleware intercepts the agent loop to add human approval, error handling, logging, and more. A deep understanding of middleware is essential for production agents — use HumanInTheLoopMiddleware (Python) / humanInTheLoopMiddleware (TypeScript) for approval workflows, and @wrap_tool_call (Python) / createMiddleware (TypeScript) for custom hooks. Key imports: Key patterns:...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does langchain-fundamentals do?

langchain-fundamentals is listed in SkillJury, but the source summary is still sparse.

Is langchain-fundamentals good?

langchain-fundamentals does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does langchain-fundamentals work with?

langchain-fundamentals currently lists compatibility with codex, gemini-cli, opencode, cursor, github-copilot, claude-code.

What are alternatives to langchain-fundamentals?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install langchain-fundamentals?

npx skills add https://github.com/langchain-ai/langchain-skills --skill langchain-fundamentals

Related skills

More from langchain-ai/langchain-skills

Related skills

Alternatives in Software Engineering