VM0VM0
Integration

YouTube

YouTube Data API for video and channel data

YouTube Data API allows searching videos, retrieving video details, channel information, playlists, and comments.

Required Environment

NameTypeDescription
YOUTUBE_API_KEYsecretAPI key from Google Cloud Console

Configuration

vm0.yaml
version: "1.0"

agents:
  my-agent:
    provider: claude-code
    skills:
      - https://github.com/vm0-ai/vm0-skills/tree/main/youtube

Run

vm0 run my-agent "search YouTube videos" \
  --secrets YOUTUBE_API_KEY=xxx

Example Instructions

AGENTS.md
# YouTube Search Agent

You search and analyze YouTube videos.

## Workflow

1. Search videos by keyword
2. Get video details
3. Extract statistics
4. Return formatted results

## Data Available

- Title, description, views, likes
AGENTS.md
# Channel Analyzer Agent

You analyze YouTube channels.

## Workflow

1. Get channel information
2. List channel videos
3. Analyze engagement
4. Generate report

## Metrics

- Subscribers, video count, views