Skip to main content

YouTube Analyzer Pack

TrustedSandbox optionalv1.0.0MITPartially Verified45Connector

by AgentNode · published 6 months ago · toolpack

Search, analyze, and transcribe YouTube videos.

Search YouTube, get video metadata, download transcripts/captions, analyze comments, and extract audio. Uses the YouTube Data API and yt-dlp.

langchaincrewaigeneric

Quick Start

bash
agentnode install youtube-analyzer-pack

Runs in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.

Usage

From package
python
from youtube_analyzer_pack.tool import run

result = run(
    action="search",
    query="building AI agents with tool use 2026",
    max_results=5,
    sort_by="relevance"
)

for video in result["videos"]:
    print(f"\n{video['title']}")
    print(f"  Channel: {video['channel']}")
    print(f"  Views: {video['view_count']:,}")
    print(f"  Duration: {video['duration']}")
    print(f"  Published: {video['published_at']}")
    print(f"  URL: https://youtube.com/watch?v={video['video_id']}")

print(f"\nFound {len(result['videos'])} videos")

Environment Variables

YOUTUBE_API_KEY

YouTube Data API v3 key from Google Cloud Console

required

Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works

Verification

low confidence45/100○ Partially Verified
smokeCredential boundary reached (high confidence)
+15/25
testsTests failed
0/15
importAll tools imported successfully
+15/15
installInstalled in 1.5s
+15/15
contractContract not validated
0/10
determinismNo determinism data
0/5
reliabilityNo stability data
0/10

Package installs and imports correctly. requires API credentials for full verification.

install1.5s
import54ms
smoke339ms
tests1.1s

This package requires API credentials for full verification. Install and import checks passed.

Verified in real_auto mode

Python 3.12.3ffmpegpopplertesseractuv

Last verified 17d ago· Runner v2.0.0

Use this when you need to...

  • Search YouTube for competitor product review videos
  • Transcribe YouTube tutorial videos for documentation extraction
  • Analyze view counts and engagement metrics for keyword research
  • Extract video metadata and thumbnails for content curation
  • Download and transcribe conference talk recordings for summaries

README

Version History

Capabilities

youtube_analysisanalyze_youtubetool

Input Schema

{
  "type": "object",
  "examples": [
    {
      "query": "test",
      "api_key": "",
      "operation": "search"
    }
  ],
  "required": [
    "operation"
  ],
  "properties": {
    "query": {
      "type": "string",
      "default": "test"
    },
    "api_key": {
      "type": "string",
      "default": ""
    },
    "video_id": {
      "type": "string",
      "default": "dQw4w9WgXcQ"
    },
    "operation": {
      "enum": [
        "search",
        "video_info",
        "captions",
        "comments"
      ],
      "type": "string"
    }
  }
}

Connector

googleconnectorapi_key

Permissions

Sandbox optionalFrom a trusted publisher — runs on the host by default. You can require isolation with sandbox.host_trust_policy.

Declared by the publisher. Checked before execution by the policy gate.

Networkunrestricted
Filesystemtemp
Code Executionnone
Data Accessinput_only
User Approvalnever

Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more

Privacy

All tool execution happens locally on your machine. AgentNode never receives:

  • • Tool inputs or outputs
  • • Execution logs
  • • Data your agent processes

Only install events and search queries are sent to the registry.

bash
agentnode install youtube-analyzer-pack

Environment Variables

YOUTUBE_API_KEYrequired

Files (3)

License

MIT

Stats

Downloads0
Installs0
Versionv1.0.0
Published3/16/2026
Channelstable
Typetoolpack
Entrypointyoutube_analyzer_pack.tool

Compatibility

Frameworks

langchaincrewaigeneric

Runtime

python

Python Version

>=3.10

Trust & Security

PublisherTrusted
SignatureNone
ProvenanceNone
Security Issues0

Publisher

A

AgentNode

@agentnode