Live preview
EveOutput will stream here when you run the agent.
Summary
The Chat with YouTube Agent answers questions about a video using its transcript. It pulls the video's metadata and full transcript, then summarizes, answers follow-ups, and generates chapter timestamps — each citation a clickable link straight to that moment. Reach for it to skim long talks, lectures, or podcasts without watching end to end.
Install
$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/eve/chat-with-youtube.json
Composition
agent/
├── agent.ts # Agent definition (model + config)
├── instructions.md # Transcript-grounded answering instructions
└── tools/
├── video_metadata.ts # Title / author / id via oEmbed
└── get_transcript.ts # Timestamped transcript segmentsCustomization
- Add chapters export. Add a tool that writes the chapter list back as a YouTube description or VTT file.
- Handle missing transcripts. Fall back to an STT service when a video has no captions.
- Swap metadata source. Use the YouTube Data API for richer metadata.
- Swap the model. Edit
agent/agent.ts.