Tuesday, August 11, 2026

Construct a YouTube Analytics Agent with Vicki Reyzelman – O’Reilly


On the latest episode of Zero to Agent in 30 Minutes, Vicki Reyzelman, senior options engineer at Akamai Applied sciences, drew on greater than 25 years in expertise and a background in software program engineering to construct an agent for her Chat About AI YouTube channel.

Vicki needed the agent to watch channel efficiency, establish bottlenecks, and suggest methods to develop subscribers and enhance click-through charges. She outlined the necessities, designed the workflow, constructed the agent, examined it, and revised the directions following the identical iterative course of utilized in software program improvement.

Find out how to construct a YouTube analytics agent, step-by-step

  1. Outline the purpose.
    Begin with the issue the agent ought to resolve. Vicki needs to know which movies carry out effectively, the place channel efficiency falls quick, and what actions may assist extra viewers uncover and subscribe to the channel.
  2. Evaluation the accessible knowledge.
    Look at every supply earlier than designing the workflow. YouTube Studio exports embrace metrics comparable to impressions and click-through charges. The YouTube Knowledge API supplies details about channels, subscriptions, feedback, and exercise, nevertheless it doesn’t embrace each metric accessible by way of YouTube Studio.
  3. Select how the agent will obtain the information.
    Vicki downloads her analytics as CSV recordsdata as a substitute of connecting the agent on to her account. This offers her extra management whereas she assessments the workflow. She notes that she may add an authenticated API connection later, after testing the agent’s permissions and guardrails.
  4. Write the talents file.
    The abilities file defines the agent’s mission, capabilities, knowledge sources, guidelines, and anticipated output. Vicki instructs the agent to audit channel metrics, establish bottlenecks, examine efficiency over time, and suggest actions tied to subscriber development and click-through charges.
  5. Add guardrails and acceptance standards.
    Inform the agent methods to deal with the information and what it should keep away from. Vicki directs it to make use of solely the provided numbers, ignore bot exercise, report silent failures, and keep inside accredited programs and knowledge sources. These directions assist stop unsupported conclusions and actions exterior the agent’s assigned position.
  6. Construct and check the agent.
    Vicki makes use of the console’s quick-start course of to create the agent, add its directions and pattern analytics, choose an surroundings, and begin a session. Her first check encounters enter issues, so she stops the session, adjusts the information, and runs it once more.
  7. Monitor price and efficiency.
    Observability instruments present token consumption, errors, lively time, and deployments. Vicki explains that extra succesful fashions may have much less context however often price extra to run. Groups can steadiness mannequin functionality in opposition to token price by enhancing their directions, choosing inexpensive fashions for less complicated work, or dividing a workflow amongst specialised brokers.

Vicki recommends revisiting the talents file as new necessities emerge. Clearer directions, stronger guardrails, and common testing assist the agent proceed to provide helpful outcomes. Her course of reinforces a sensible software program engineering lesson: Sooner implementation doesn’t scale back the necessity for clear necessities, dependable knowledge, safety controls, and testing.

Coming subsequent week

Be part of us for the subsequent episode on August 12, when AI and machine studying chief Ofer Mendelevitch will clarify methods to design multi-agent programs that may preserve work transferring with out fixed human involvement. He’ll use Jam to construct a crew of brokers that may plan, divide work, execute duties, overview progress, escalate issues, and repeat the method. He’ll present how an architect agent can take a undertaking temporary, recruit developer brokers, assign work, and information the undertaking towards a transparent definition of finished.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles