Build a Practical AI Agent with Gemma 4, Real Tools, and a Local LLM

Dev.to AI
Generative AI Open Source AI

Build a Practical AI Agent with Real Tools and a Local LLM How to combine Tavily, OpenWeatherMap, and LangGraph into a clean local-first workflow Most local LLM s are either too simple to be useful or too complex to reuse. I wanted something in the middle: a practical AI agent that can search the web, check live weather, and still keep the reasoning layer local. So I built a workflow using LangGraph, Tavily, OpenWeatherMap, and a local LLM running through Ollama. The result is a clean local-first architecture where tools provide real-time facts and the model turns them into useful answers.