AcademyWorkflowsDevelopment

Anthropic AI Agent with Think and Web Search

Development and product teams that want a chat assistant with routing between two Claude models and web search.

  • Recommendedour rating
  • 6,524views on n8n
Open on n8n.io ↗

Paste it straight onto an n8n canvas with Ctrl+V or Cmd+V.

anthropic-ai-agent-claude-sonnet-4-and-opus-4-with-think-and-web-search-tool.json

Loading the file...

What it does

An n8n workflow that sends each chat message to either Claude Sonnet 4 or Claude Opus 4, depending on how complex the request is. The agent can search the web, use a calculator and a Think tool for harder reasoning, and keep session memory. Replies come back in a structured JSON format that later steps can process.

Use cases

  1. 01Answering chat questions that need current web information
  2. 02Sending routine questions to Claude Sonnet 4
  3. 03Returning chat answers as JSON for other tools

Connects

AI Agent · Anthropic Chat Model · Simple Memory · Structured Output Parser · Calculator · Think Tool

Questions about
Anthropic AI Agent with Think and Web Search.

What is Anthropic AI Agent with Think and Web Search used for?

Development and product teams that want a chat assistant with routing between two Claude models and web search. An n8n workflow that sends each chat message to either Claude Sonnet 4 or Claude Opus 4, depending on how complex the request is. The agent can search the web, use a calculator and a Think tool for harder reasoning, and keep session memory. Replies come back in a structured JSON format that later steps can process.

How do I import Anthropic AI Agent with Think and Web Search into n8n?

Copy the workflow JSON from this page and paste it onto the n8n canvas with Ctrl+V or Cmd+V. Then connect your credentials in each node.

Is Anthropic AI Agent with Think and Web Search safe to use?

It passed our automatic scan for credential theft, hidden instructions and risky install commands. Third party open source software. Sabemos AI does not maintain it. Check the code and permissions before you connect it to company data.