Skip to content

SatinderSinghSall/Agentic-AI-YouTube-Video-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

AI / ML: Agentic AI


๐ŸŽฅ AI YouTube Video Analyzer

Agentic AI System for Structured Video Understanding.

Python Streamlit Groq Agentic AI License

An Agentic AI-powered application that analyzes YouTube videos and generates structured summaries, timestamps, and key insights using LLM reasoning and tool usage.


๐Ÿ“Œ Project Overview

The AI YouTube Video Analyzer is an Agentic AI application designed to transform unstructured video content into structured, searchable knowledge.

Using Large Language Models (LLMs) and tool-based agents, the system automatically:

  • Extracts video metadata
  • Segments content into meaningful sections
  • Generates timestamped summaries
  • Identifies key concepts and demonstrations

This project demonstrates modern AI engineering patterns, including:

  • Agent-based architectures
  • Tool-augmented LLM reasoning
  • AI-driven content analysis
  • Interactive ML applications

๐Ÿš€ Key Features

๐ŸŽฅ Automated Video Analysis

Provide any YouTube link and receive a structured analysis of the video.

โฑ Intelligent Timestamp Generation

Breaks long videos into semantic segments with summaries.

๐Ÿง  LLM-powered Understanding

Uses Groq-hosted Llama-3.3-70B for deep contextual reasoning.

๐Ÿ“š Multi-Domain Content Support

Content Type Supported
Programming Tutorials โœ…
Academic Lectures โœ…
Tech Reviews โœ…
Creative Tutorials โœ…
Educational Videos โœ…

๐Ÿ–ฅ Interactive Web Interface

Built with Streamlit for simple and intuitive usage.


๐Ÿง  System Architecture

              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ”‚        User Input        โ”‚
              โ”‚   YouTube Video URL      โ”‚
              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                            โ”‚
                            โ–ผ
                โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                โ”‚   Streamlit UI     โ”‚
                โ”‚   (ui.py)          โ”‚
                โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ”‚
                          โ–ผ
              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
              โ”‚     Agentic AI System     โ”‚
              โ”‚   (youtube_analyzer.py)   โ”‚
              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ”‚
        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
        โ–ผ                                   โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”              โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚  YouTube Tools  โ”‚              โ”‚   Groq LLM       โ”‚
โ”‚ (Metadata +     โ”‚              โ”‚ Llama 3.3 70B    โ”‚
โ”‚ Video Content)  โ”‚              โ”‚ Reasoning Engine โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜              โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
         โ”‚                                  โ”‚
         โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ–ผ
            โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
            โ”‚ Structured Video Reportโ”‚
            โ”‚ Timestamps + Insights  โ”‚
            โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                          โ–ผ
                 Displayed in UI

๐Ÿ–ผ Demo

Application Interface

demo_ui


Example Output

๐Ÿ“š Video Overview
Length: 18 minutes
Type: Python Tutorial

โฑ Timestamp Breakdown

[00:00 - 02:15]
Introduction to Python and environment setup.

[02:16 - 07:40]
Installing Python and configuring IDE.

[07:41 - 12:30]
Writing the first Python program.

[12:31 - 18:10]
Understanding variables and data types.

๐ŸŽฌ Demo GIF

(You can record this using ScreenToGif or OBS and place it inside a /docs folder.)


๐Ÿงฐ Technology Stack

Component Technology
Programming Language Python
UI Framework Streamlit
LLM Provider Groq
Model Llama-3.3-70B
Agent Framework Agno
Video Tools YouTubeTools
Environment Management python-dotenv

๐Ÿ“‚ Project Structure

Video Analyzer
โ”‚
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”‚
โ”œโ”€โ”€ ui.py
โ”‚   โ””โ”€โ”€ Streamlit interface for user interaction
โ”‚
โ”œโ”€โ”€ youtube_analyzer.py
โ”‚   โ””โ”€โ”€ Agent configuration and analysis pipeline
โ”‚
โ””โ”€โ”€ docs
    โ”œโ”€โ”€ demo_ui.png
    โ””โ”€โ”€ demo.gif

โš™๏ธ Installation

1๏ธโƒฃ Clone Repository

git clone https://github.com/yourusername/youtube-video-analyzer.git
cd youtube-video-analyzer

2๏ธโƒฃ Create Virtual Environment

python -m venv venv

Activate it:

Windows

venv\Scripts\activate

Mac / Linux

source venv/bin/activate

3๏ธโƒฃ Install Dependencies

pip install streamlit python-dotenv agno

4๏ธโƒฃ Configure Environment Variables

Create .env file:

GROQ_API_KEY=your_groq_api_key

You can obtain the key from:

https://console.groq.com


โ–ถ๏ธ Running the Application

Start the Streamlit server:

python -m streamlit run ui.py

Open in browser:

http://localhost:8501

๐Ÿงช Example Use Cases

๐Ÿ“š Educational Content

Create structured study guides from lectures.

๐Ÿ’ป Programming Tutorials

Extract code explanations and practical demonstrations.

๐Ÿ“ฑ Tech Reviews

Identify features, benchmarks, and comparisons.

๐ŸŽจ Creative Tutorials

Break down art or DIY workflows step-by-step.


๐Ÿ”ฌ AI Engineering Concepts Demonstrated

This project demonstrates several modern AI system design concepts:

  • Agentic AI architecture
  • Tool-augmented LLM workflows
  • LLM orchestration
  • Structured knowledge extraction
  • Interactive AI applications

These are key skills sought by AI/ML recruiters and AI product teams.


๐Ÿ”ฎ Future Improvements

  • ๐ŸŽ™ Automatic speech transcription
  • ๐Ÿ“Š Knowledge graph extraction
  • ๐Ÿ“ฅ Export summaries as PDF
  • ๐Ÿ“š Playlist analysis
  • ๐Ÿง  Multi-agent analysis pipeline

๐Ÿค Contributing

Contributions are welcome.

  1. Fork repository
  2. Create feature branch
git checkout -b feature/new-feature
  1. Commit changes
git commit -m "Add new feature"
  1. Push branch and create Pull Request.

๐Ÿ“œ License

This project is licensed under the MIT License.


๐Ÿ‘ค Author

Satinder Singh Sall

AI / Machine Learning Developer Focused on Agentic AI, LLM Applications, and Intelligent Systems

GitHub: https://github.com/SatinderSinghSall


โญ Support

If you found this project useful:

โญ Star the repository ๐Ÿด Fork the project ๐Ÿ“ข Share with others


๐ŸŽฅ AI YouTube Video Analyzer


Python LLM Framework UI Database Status License


๐ŸŽฅ AI YouTube Video Analyzer

An AI-powered YouTube Video Analyzer built using Agentic AI, Groq LLM, and Streamlit. This tool analyzes any YouTube video and automatically generates a structured breakdown with timestamps, summaries, and key insights.

It is especially useful for:

  • ๐Ÿ“š Students analyzing lectures
  • ๐Ÿ’ป Developers studying tutorials
  • ๐Ÿ“ฑ Tech enthusiasts reviewing product videos
  • ๐ŸŽจ Creators studying creative workflows

๐Ÿš€ Features

โœ… Automatic Video Analysis Provide any YouTube video URL and the AI will analyze the content.

โœ… Smart Timestamp Generation Breaks the video into meaningful sections with timestamps.

โœ… Structured Content Breakdown

  • Video overview
  • Topic segmentation
  • Key learning points
  • Practical demonstrations

โœ… Multiple Content Types Supported

  • ๐Ÿ“š Educational lectures
  • ๐Ÿ’ป Programming tutorials
  • ๐Ÿ“ฑ Tech reviews
  • ๐ŸŽฎ Gaming videos
  • ๐ŸŽจ Creative content

โœ… Interactive UI with Streamlit


๐Ÿง  Tech Stack

  • Python
  • Streamlit โ€“ UI framework
  • Groq LLM (Llama 3.3 70B) โ€“ Language model
  • Agno Agent Framework โ€“ Agentic AI system
  • YouTube Tools (Agno) โ€“ Extracts video data
  • dotenv โ€“ Environment variable management

๐Ÿ“‚ Project Structure

Video Analyzer
โ”‚
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ ui.py                 # Streamlit user interface
โ””โ”€โ”€ youtube_analyzer.py   # AI agent setup and analysis logic

โš™๏ธ Installation

1๏ธโƒฃ Clone the Repository

git clone https://github.com/yourusername/youtube-video-analyzer.git
cd youtube-video-analyzer

2๏ธโƒฃ Create a Virtual Environment

python -m venv venv

Activate it:

Windows

venv\Scripts\activate

Mac / Linux

source venv/bin/activate

3๏ธโƒฃ Install Dependencies

pip install streamlit python-dotenv agno

4๏ธโƒฃ Setup Environment Variables

Create a .env file in the project root.

GROQ_API_KEY=your_groq_api_key_here

You can get a key from: ๐Ÿ‘‰ https://console.groq.com


โ–ถ๏ธ Running the Application

Run the Streamlit app:

python -m streamlit run ui.py

Then open the browser at:

http://localhost:8501

๐Ÿงช How It Works

1๏ธโƒฃ User enters a YouTube video URL 2๏ธโƒฃ The Agentic AI system processes the video 3๏ธโƒฃ The Groq LLM analyzes the content 4๏ธโƒฃ The system generates:

  • Video overview
  • Timestamp breakdown
  • Topic summaries
  • Key insights

๐Ÿ“Š Example Output

๐Ÿ“š Video Overview
Length: 18 minutes
Type: Python Tutorial

โฑ Timestamp Breakdown

[00:00 - 02:15]
Introduction to Python and setup.

[02:16 - 07:40]
Installing Python and IDE configuration.

[07:41 - 12:30]
Writing the first Python program.

[12:31 - 18:10]
Understanding variables and data types.

๐ŸŽฏ Use Cases

  • Learn faster from long YouTube tutorials
  • Generate study guides automatically
  • Summarize technical talks
  • Extract key insights from reviews
  • Create structured notes from lectures

๐Ÿ”ฎ Future Improvements

  • ๐Ÿ”Š Audio transcription support
  • ๐Ÿ“Š Video summarization charts
  • ๐Ÿง  Multi-video playlist analysis
  • ๐Ÿ“ฅ Export notes as PDF / Markdown
  • ๐Ÿ“‘ Save timestamp summaries

๐Ÿค Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch
git checkout -b feature-name
  1. Commit changes
git commit -m "Added new feature"
  1. Push and open a Pull Request

๐Ÿ“œ License

This project is licensed under the MIT License.


โญ Support

If you find this project useful:

โญ Star the repository ๐Ÿด Fork it ๐Ÿง‘โ€๐Ÿ’ป Share it with others

About

An Agentic AI application that analyzes YouTube videos and generates structured summaries, semantic timestamps, and key insights using Groq LLMs and tool-augmented agents. Built with Python, Streamlit, and the Agno agent framework for intelligent video content understanding.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages