n4nAI

Topic

LangChain Agents & Tool Calling

14 posts on langchain agents & tool calling — part of framework tutorials on the n4n AI blog.

Framework tutorialsHow-to

Structured output with LangChain and Pydantic tools

Build reliable structured output pipelines using LangChain tool calling with Pydantic models — complete with validation, error handling, and production patterns.

4 min read
Framework tutorialsHow-to

Parallel tool calling in LangChain agents

Learn to enable and configure parallel tool calling in LangChain agents with runnable code, error handling, and production verification steps.

3 min read
Framework tutorialsHow-to

Multi-tool LangChain agents: search, calculator, and code

Build a LangChain multi-tool agent with search, calculator, and code execution tools. Step-by-step tutorial with runnable code and verification steps.

5 min read
Framework tutorialsDefinition

LangChain AgentExecutor verbose mode explained

Understand LangChain AgentExecutor verbose mode, what intermediate steps reveal, and how to debug agent reasoning without drowning in output.

5 min read
Framework tutorialsHow-to

Building a SQL agent with LangChain and tool calling

Build a production-ready SQL agent with LangChain using tool calling — step-by-step guide with runnable code, schema handling, and verification.

3 min read
Framework tutorialsHow-to

Tool calling in LangChain with GPT-4o via n4n.ai

A step-by-step guide to implementing tool calling with LangChain and GPT-4o using n4n.ai as the inference gateway, including runnable code and verification steps.

4 min read
Framework tutorialsHow-to

LangChain tool calling with Llama 3.3 70B on n4n.ai

Build a LangChain agent that calls tools with Llama 3.3 70B via n4n.ai — complete setup, code, and verification steps.

4 min read
Framework tutorialsHow-to

LangChain function calling on Claude 3.5 Sonnet

A step-by-step guide to implementing LangChain function calling with Claude 3.5 Sonnet, covering tool definition, agent setup, and production patterns.

3 min read
Framework tutorialsDefinition

LangChain create_tool_calling_agent explained

A practical breakdown of LangChain's create_tool_calling_agent — what it does, how it wires models to tools, and the pitfalls that trip up production teams.

5 min read
Framework tutorialsComparison

LangChain agents vs function calling: which to use

A practical comparison of LangChain agents versus native function calling for engineers choosing the right tool orchestration approach.

6 min read
Framework tutorialsHow-to

Debugging LangChain agent tool selection errors

A step-by-step guide to diagnosing and fixing LangChain agent tool selection failures, from schema mismatches to prompt confusion.

5 min read
Framework tutorialsTutorial

LangChain ReAct agents: a hands-on tutorial

Hands-on langchain react agent tutorial: build a ReAct agent with tools, step-by-step code, and expected outputs using LangChain's current API.

3 min read
Framework tutorialsHow-to

Building a web search agent with LangChain and Tavily

Build a LangChain web search agent with Tavily and tool calling. Step-by-step setup, runnable code, and verification for production use.

4 min read
Framework tutorialsHow-to

Build a LangChain agent with custom tool calling

A step-by-step guide to langchain agent custom tool calling: define tools, wire a reasoning loop, verify with Python code and pytest for production use.

3 min read