Local LangGraph Agents with Llama 3.1 + Ollama

From the creator

LangGraph is one of the most versatile Python libraries for building AI agents. We can combine LangChain's LangGraph with Ollama and Llama 3.1 to build highly custom and fully local LLM agents. In this video, we will do exactly that by building a pizza recommendation agent using the Reddit API. 📌 Code: https://github.com/pinecone-io/examples/tree/master/learn/generation/langchain/langgraph/02-ollama-langgraph-agent 💻 LangGraph Intro Video: https://youtu.be/usOmwLZNVuM 🌟 Build Better Agents + RAG: https://platform.aurelio.ai (use "JBMARCH2025" coupon code for $20 free credits) 👾 Discord: https://discord.gg/c5QtDB9RAP Twitter: https://twitter.com/jamescalam LinkedIn: https://www.linkedin.com/in/jamescalam/ #langchain #ai #artificialintelligence #ollama #meta 00:00 Local Agents with LangGraph and Ollama 01:00 Setting up Ollama and Python 05:35 Reddit API Tool 12:40 Overview of the Graph 17:11 Final Answer Tool 18:33 Agent State 19:09 Ollama Llama 3.1 Setup 26:21 Organizing Agent Tool Use 35:21 Creating Agent Nodes 39:14 Building the Agent Graph 43:10 Testing the Llama 3.1 Agent 46:07 Final Notes on Local Agents

Choose to Build with AI
Matched to Ollama

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.