Guide • 9 min read

Build an AI Agent Trained on Your YouTube Videos (Step-by-Step)

If you have explained something on camera, you have already written the answer. This guide turns years of videos into an assistant that gives that answer to the next person who asks.

Why train an AI agent on your videos

Most businesses that publish on YouTube have the same problem: the best explanations of what they do live in videos nobody re-watches. A visitor lands on the website with a question the founder answered in minute twelve of a video from 2024, cannot find it, and leaves.

An AI agent trained on your transcripts closes that gap. It answers in your words, links to the video where you said it, and does it at 2 a.m. when nobody is around to reply. It works for a coach with a lecture series, a software company with tutorials, a real-estate team with neighbourhood walkthroughs, or a podcast with three hundred interviews.

What you need

  • A public YouTube channel, playlist, or a list of individual videos.
  • Videos with captions. YouTube's automatic captions count; the agent reads whatever transcript exists.
  • A ChatDock workspace. The free tier is enough to test with a handful of videos.
  • Optionally, the raw transcript files, if you also want them for NotebookLM, ChatGPT or your own notes.

Step 1 — Pick the videos that answer real questions

Do not import everything on day one. Start with the videos people already send each other: the onboarding walkthrough, the pricing explainer, the “how we work” talk, the FAQ livestream. A tight, relevant set makes the agent sharper than a sprawling one, and you can add the back catalogue once the first version is answering well.

If the videos are spread across a channel, make a playlist. A playlist imports in order and is the easiest thing to keep tidy later.

Step 2 — Import the transcripts into ChatDock

Open your workspace, go to Knowledge, choose YouTube, and paste the channel, playlist or video URL. ChatDock finds the videos, pulls every available transcript, and indexes them the same way it indexes a web page: each answer the agent gives can cite the video it came from.

  • A free workspace imports up to 15 videos from one channel or playlist, which is plenty to prove the idea.
  • Paid plans import up to 1,000 videos per job, enough for a full back catalogue.
  • Videos without any transcript are skipped and reported, never silently dropped.

Under the hood ChatDock uses BulkTranscripts to fetch transcripts, the same engine behind its public transcript downloader, so a thousand-video channel does not mean a thousand clicks.

Step 3 — Want the transcripts themselves? Download them in bulk

Plenty of people want the text files as well as the agent: to build a NotebookLM notebook, to feed a RAG pipeline, to write show notes, or simply to search a decade of talks. For that, download every transcript from a YouTube channel or playlist with BulkTranscripts. Paste one URL, and it returns up to 1,000 transcripts as a ZIP of files or one combined, AI-ready Markdown document with titles, links and timestamps kept. The first 30 transcripts are free, and credits never expire.

You can upload that combined Markdown file to ChatDock as a document too, which is a good route when you want to hand-edit the transcripts first, say to strip a sponsor read or correct a product name the auto-captions got wrong.

Step 4 — Add your website and documents alongside the videos

Videos explain; websites state. Pricing, hours, policies and contact details usually live on pages, not in talks, and an agent trained only on videos will answer “how much does it cost” with whatever you said eighteen months ago. Add your site's URL and any PDFs to the same workspace. ChatDock keeps one knowledge base per workspace, so the agent can draw on a video for the “why” and a page for the “how much”.

Step 5 — Test it with the questions people actually ask

Every workspace has a private test chat. Before the agent goes anywhere near your site, ask it the ten questions you get most, then the five you dread. You are checking three things:

  1. Does it answer from your videos, and cite the right one?
  2. When it does not know, does it say so and offer to take the visitor's details, rather than guess?
  3. Does it sound like you? Adjust the tone and greeting until it does.

Gaps you find here are a content list: the next video to record, or the page to write.

Step 6 — Put it on your website

Copy the one-line embed snippet into your site. It works on WordPress, Webflow, Wix, Shopify, Squarespace, Framer and hand-built sites alike. Set your colours and logo so it reads as part of your site, and turn on lead capture so a visitor who asks something the videos do not cover leaves a name and number instead of leaving.

You can also share the agent as a link, which is useful for a course community or a YouTube description: “Ask my videos anything.”

What to expect, honestly

  • Auto-captions are imperfect. Names, jargon and product terms get mangled. The agent is only as accurate as the transcript, so for your most important videos, upload corrected captions to YouTube or edit the transcript file before importing.
  • Videos without captions contribute nothing. Music, B-roll and old uploads with captions disabled are skipped. Turn captions on for anything you want the agent to know.
  • It answers, it does not summarise the channel. Ask it a question and it finds the passage. Ask it “what is this channel about” and it will do its best, but that is not what it is for.

Frequently asked questions

Can I train it on someone else's channel?

Technically, any public channel with captions. Practically, use content you own or have permission to use, especially if the agent is customer-facing.

Does it work with a podcast that is on YouTube?

Yes, and podcasts are one of the best sources: long, conversational, and full of the questions your audience asks. Import the channel or the episode playlist.

How often should I re-import?

Whenever you publish something worth knowing. Re-importing a playlist picks up new videos; the existing ones are already indexed.

What if I only want the transcripts and not an agent?

Then skip ChatDock and use BulkTranscripts directly. It exports TXT, Markdown, SRT, VTT, CSV and JSON, and has an API and an MCP server if you are building something of your own.

Build an agent from your videos →

Next, read: How to Train an AI Website Chatbot on Your Docs.