Templates / Build your first AI agent – powered by Google Gemini with memory

Build your first AI agent – powered by Google Gemini with memory

Needs changes

by DigiMetaLab ✓ · 17,950 views · created 2025-06-15 · Personal Productivity, AI Chatbot

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: SerpApi (Google Search). 1 breaking item(s) found. Static check, last run 2026-10-19.

What to replace before upgrading

Removed in 3.0Replace with
SerpApi (Google Search)
SerpAPI
No direct replacement: call the SerpApi REST API with an HTTP Request tool, or use a verified community node

Nodes used (7)

AI AgentThinkSerpApi (Google Search)Google Gemini Chat ModelCalculatorSimple Memory

What it does

A smart personal assistant that can reason, search, calculate, and remember — powered by Google Gemini and ready in one click. Most AI agents only respond — this one thinks before replying, pulls in real-time facts, does the math, and even remembers the last 5 things you said. 🔧 How it works This template builds a conversational agent using the Google Gemini API. It uses multiple tools like: 🧠 Think – to reason step-by-step 🔍 SerpAPI – to search live data on Google ➗ Calculator – to solve math problems 💾 Memory – to remember short-term chat history You can embed this agent into a chatbot, web app, or automate any customer support, research, or productivity workflow. 🧠 Your agent will: - Understand what you're asking - Think logically using the Think tool - Search facts in real-time using SerpAPI - Calculate numbers using a math engine - Recall past context using a memory buffer - And respond clearly — just like a real assistant. 🧑‍💼 Who is this template for? This template is ideal for: - Creators & developers building AI agents - Teams needing a Gemini-powered assistant - Beginners exploring LangChain + n8n - Anyone curious about combining LLMs + tools + memory 🚀 How to set up 1. Plug in your Google Gemini API key 2. Add your SerpAPI key 3. Run the workflow and start chatting! 4. Everything is pre-wired for you — just import and go. 📬 Use cases You can connect this agent to: Telegram bots 🤖 - WhatsApp via Twilio 📱 - Slack, Discord, or Gmail 💬 - Or just trigger it inside n8n manually 🔁 👉 Check out my other templates https://n8n.io/creators/digimetalab

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.