Skip to main content
bash TV

AI Agents for Beginners – From Architecture to a Working Sales & Lead Enrichment Agent

freeCodeCamp.org

35.3K views3 Dec 2026

YouTube

Learn how AI agents work and build a real-world sales and lead enrichment agent from scratch. In this course, you'll explore core agent architecture, connect live web search and scraping tools using the Oxylabs Web API, and build the complete workflow visually in n8n and in Python. Go to https://oxylabs.io/freecodecamp to get started with Oxylabs Web API and put Search and Scrape to work for your own projects. Use code FREECODECAMP for 20% off Oxylabs credits. 💻 Code and Prompts: https://github.com/beaucarnes/ai-agents-sales-lead-enrichment 🏗️ Oxylabs provided a grant to make this course possible. ⭐️ Chapters ⭐️ - 0:00 Introduction - 1:50 What is an AI agent? - 4:43 AI agents vs. agentic AI - 6:18 5 main types of AI agents - 8:10 AI agent architecture (Model, instructions, memory, tools) - 12:09 Why agents need live web data - 14:38 Setting up Oxylabs Web API & playground - 19:02 Testing search and scraping in Python - 19:57 Building the agent workflow in n8n - 22:29 Step 1: Google Sheets trigger - 23:20 Step 2: AI Agent node & chat model - 24:54 Step 3: Prompts & system instructions - 27:11 Step 4: Adding Oxylabs search & scrape tools - 30:51 Step 5: Structured output parser & updating Google Sheets - 33:51 Bonus: Complete agent walkthrough in Python - 35:57 Live testing & lead qualification - 39:21 5 reliability tips for production - 40:45 Model Context Protocol (MCP) & agent skills - 42:41 Conclusion

Join the discussion

Have something to add?

Sign in to reply, follow this thread, and earn XP when your answer helps someone.