Navigate Select ESC Close

How to Build a Local AI Agent With Python (Ollama, LangChain & RAG)

2025-03-31 Education
400.6k
9.1k
355
Tech With Tim
Tech With Tim
2.0m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

Thanks to Microsoft for sponsoring this video! Submit your #CodingWithCopilot stories so I can review them! I'm excited to check out more! Today I'll be showing you how to build local AI agents using Python. We'll be using Ollama, LangChain, and something called ChromaDB; to act as our vector search database. All of this will be local and free to run. 🎞 Video Resources 🎞 Code in this Video: https://github.com/techwithtim/LocalAIAgentWithRAG Ollama Library: https://ollama.com/library Download Ollama: https://ollama.com/ Virtual Environments Video: https://www.youtube.com/watch?v=Y21OR1OPC9A Ollama Video: https://www.youtube.com/watch?v=UtSSMs6ObqY&t=1s ⏳ Timestamps ⏳ 00:00 | Video Overview 00:34 | Project Demo 02:02 | Python Setup/Installation 04:33 | Ollama Setup 07:14 | GitHub Copilot 08:22 | Local LLM Usage 14:52 | Vector Store Database Setup 23:24 | Connecting LLM & Vector Store #sponsored

Top Comments (10)

@TechWithTim 2025-03-31

Check out my newsletter for coding challenges, tips and advice! It's FREE -> https://techwithtim.net/newsletter

16 2 replies
@yashchohan6892 2025-12-06

Just started with Pneumatic Workflow for project management, and this video totally inspires me to take it a step further with AI!

12
@lastochkoff 2025-06-06

Very cool! You have a talent to teach. I was able to build a quick MVP of AICarma

167 1 replies
@Dragonschort 2025-11-21

I’m working on a project that aligns perfectly with this AI agents concept! Pneumatic Workflow has been super helpful for my structured processes.

23
@CartoonsTV1-gu9hv 2025-12-07

This local setup for AI development is incredible! It's just like how I've been setting up my processes with Pneumatic Workflow.

13
@khalilnaji36 2025-04-04

Yo it's scary how often I think to myself that I want to start a project using a specific tech. And then while I'm searching Tech with Tim has made a video in the same year with a use case so close to what I'm looking for. Thank you Tim you're the GOAT. Also yes, I do know that this means I'm probably not coming up with original projects LMAO.

41 1 replies
@YasirGaming-y 2025-12-06

Thanks for this tutorial! It’s similar to how I use Pneumatic Workflow to automate approval processes at my startup, and I can see this fitting right in.

6
@haviet20 2025-07-03

Very helpful! Please make another tutorial video to get data from a txt/md file and pdf file. Thank you so much man!

7
@ihemacomedy2342 2025-11-21

Wow, retrieving data from a CSV file looks so practical! Pneumatic Workflow has really simplified data management for my team.

0
@tilkesh 2025-09-06

I want to make an AI agent. Whenever I watch your videos, I should send you a thank-you note. Thank you very. People like you make the lives of many learners easy and help the knowledge society.

2

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot