This is the first article in a two-part series on building AI Agents from the ground up. In this article, we will explore the value of AI Agents, introduce popular Agentic AI platforms, and walk through a hands-on tutorial for building a simple AI Agent. The second part of the series will dive deeper with a hands on tutorial, where we’ll build Agents that can automate tasks and interact with external tools.This is the first article in a two-part series on building AI Agents from the ground up. In this article, we will explore the value of AI Agents, introduce popular Agentic AI platforms, and walk through a hands-on tutorial for building a simple AI Agent. The second part of the series will dive deeper with a hands on tutorial, where we’ll build Agents that can automate tasks and interact with external tools.

Build AI Agents: YouTube Summarizer Agent

This is the first article in a two-part series on building AI Agents from the ground up. In this article, we will explore the value of AI Agents, introduce popular Agentic AI platforms, and walk through a hands-on tutorial for building a simple AI Agent. The second part of the series will dive deeper with a hands-on tutorial, where we’ll build Agents that can automate tasks and interact with external tools and APIs. Article 1. Getting Started with Agentic AI: Build Your First AI Agent with Phidata The use of the term “AI Agent” has increased by 10x in the last 1 year (Google Trends).

Example of an AI Agent application

Before diving into the working of AI Agents, let’s begin with a relatable example of how AI Agents can transform everyday tasks in the near future.

Imagine planning for a vacation.

Today’s world: Hotels, Flights and Rental cars are booked independently and places to visit are planned based on weather, preferences and family composition (single, couple, with kids). It is a time-consuming and fragmented process.

Agentic AI world: Now, imagine simply giving a prompt like the following

\

An AI Agent could instantly generate a few tailored travel packages – with flights, hotels, cars and provide food recommendations, and an optimized itinerary, so you can just pick the one that fits your needs.

Fundamentals of AI Agents

In simple terms, AI Agents are systems that can perform tasks autonomously by interpreting the data from the environment, making decisions based on that data to achieve the goals. Think of them as orchestrators – connecting various tools, using Large Language Models (LLM) to reason, plan and execute tasks. For intro about LLMs, refer to these articles (link1, link2)

Let’s breakdown this definition using the above vacation planning example:

  1. Perform tasks autonomously: Book flight, hotel, rental car reservations through the respective vendors.
  2. Interpreting the data: It takes into account factors like weather, traffic and local events to suggest best activities that fits the pace.
  3. Making decisions: Consider there are dozens of restaurants available, Agents can provide recommendations based on the indicated preference and past reviews.
  4. Achieve goals: Ultimately, it puts together a travel plan that matches the requirements – dates, duration, preferences and family needs.

Agentic AI Platforms

An Agentic AI framework is a toolkit that enables the creation of AI systems capable of reasoning, planning, and taking actions autonomously or semi-autonomously through tool use and memory. These frameworks provide the structure needed to create agents that can interact with their environment, make decisions and execute tasks.

There are several popular Agentic AI platforms such as LangChain, CrewAI, Phidata. For this tutorial, we will use the Phidata platform – a lightweight and developer-friendly platform. Phidata comes with built-in access to a variety of tools and LLMs, allowing to build and deploy AI Agents within just a few lines of code.

Image. Popular built-in Tools and Model wrappers in Phidata. For a full list, links here – Models, Tools.

Build a Youtube summarizer Agent

The Youtube Summarizer Agent is designed to extract key insights and main points from any YouTube video. It saves time by providing concise summaries without needing to watch the entire content. For the purpose of the tutorial, we will use Google Colab notebook to write and execute the code and Phidata Agentic AI Platform to power the Agent.

Model: Within Phidata, we will leverage the Groq model hosting platform – an inference service that runs LLMs on a dedicated GPU infrastructure (note that it is different from Grok which is a LLM from xAI). Since LLMs are resource intensive, using Groq helps to offload computation from the local hardware or Colab provided hardware, ensuring faster and more efficient execution. Groq has access to multiple models from different LLM providers. (see full list here)

Tools: To retrieve YouTube video data, we will use the built-in Tool from Phidata framework (called YouTubeTools). This tool helps us to access video metadata and captions which the agent then passes to the chosen LLM to generate accurate and insightful summaries.

Here is the code for a Youtube summarizer agent:

from phi.agent import Agent  from phi.model.groq import Groq  from phi.model.openai import OpenAIChat  from phi.tools.youtube_tools import YouTubeTools agent = Agent( # model=Groq(id="llama3-8b-8192"),                model=Groq(id="llama-3.3-70b-versatile"),  ## Toggle with different LLM model                tools=[YouTubeTools()],                show_tool_calls=True,                # debug_mode=True,                description="You are a YouTube agent. Obtain the captions of a YouTube video and answer questions.", )  agent.print_response("Summarize this video https://www.youtube.com/watch?v=vStJoetOxJg", markdown=True, stream=True) 

Following is the output generated by the YouTube Summarizer agent (above code). The youtube link in the above code is a video of Andrew Ng on the Machine Learning specialization. As shown below, it accurately summarizes the video content. Note that the response may vary for each run because of the probabilistic nature of LLMs.

Detailed Tutorial

Clone Notebook

==Step 1==: Clone colab notebook here (it requires Google account)

==Step 2==: Install dependencies (first cell with code)

Get API key for Groq

In order to run the Agent, given we use the Groq model hosting platform, we need an account with Groq. Follow the below steps to sign up / log in to Groq and get an API key.

==Step 1==: Visit the Groq Developer Portal Open your browser and go to: https://console.groq.com

==Step 2==: Sign Up or Log In If you already have an account, click Log In. If you’re new, click Sign Up and follow the prompts to create an account (you may need to verify your email).

==Step 3==: Access the API Section Once logged in, you'll land on the Groq Console. Navigate to the API Keys section from the sidebar or dashboard.

==Step 4==: Generate a New API Key Click the “Create API Key” button. Give your key a name (e.g., "workshop-key"). Click Create or Generate.

==Step 5==: Copy and Store the Key Securely Your API key will be shown only once — copy it immediately and store it in a secured location. Never expose your API key in client-side code or public repositories.

Add the API key in the Secret Manager

==Step 1==: Click on Secrets (Key sign) on the left pane of colab

==Step 2==: Provide the name as GROQAPIKEY and Value as API Key copied in Step 5 above

==Step 3==: Toggle "ON" the notebook access.

\

Piyasa Fırsatı
Sleepless AI Logosu
Sleepless AI Fiyatı(AI)
$0.03831
$0.03831$0.03831
+0.07%
USD
Sleepless AI (AI) Canlı Fiyat Grafiği
Sorumluluk Reddi: Bu sitede yeniden yayınlanan makaleler, halka açık platformlardan alınmıştır ve yalnızca bilgilendirme amaçlıdır. MEXC'nin görüşlerini yansıtmayabilir. Tüm hakları telif sahiplerine aittir. Herhangi bir içeriğin üçüncü taraf haklarını ihlal ettiğini düşünüyorsanız, kaldırılması için lütfen [email protected] ile iletişime geçin. MEXC, içeriğin doğruluğu, eksiksizliği veya güncelliği konusunda hiçbir garanti vermez ve sağlanan bilgilere dayalı olarak alınan herhangi bir eylemden sorumlu değildir. İçerik, finansal, yasal veya diğer profesyonel tavsiye niteliğinde değildir ve MEXC tarafından bir tavsiye veya onay olarak değerlendirilmemelidir.

Ayrıca Şunları da Beğenebilirsiniz

U.S. Banks Near Stablecoin Issuance Under FDIC Genius Act Plan

U.S. Banks Near Stablecoin Issuance Under FDIC Genius Act Plan

The post U.S. Banks Near Stablecoin Issuance Under FDIC Genius Act Plan appeared on BitcoinEthereumNews.com. U.S. banks could soon begin applying to issue payment
Paylaş
BitcoinEthereumNews2025/12/17 02:55
Turmoil Strikes Theta Labs with New Legal Allegations

Turmoil Strikes Theta Labs with New Legal Allegations

Cryptocurrency often sees its fair share of lawsuits, with many concluding without much ado. However, a fresh legal battle has surfaced involving a well-known altcoin
Paylaş
Coinstats2025/12/17 03:06
‘Dr. Quinn’ Co-Stars Jane Seymour And Joe Lando Reuniting In New Season Of ‘Harry Wild’

‘Dr. Quinn’ Co-Stars Jane Seymour And Joe Lando Reuniting In New Season Of ‘Harry Wild’

The post ‘Dr. Quinn’ Co-Stars Jane Seymour And Joe Lando Reuniting In New Season Of ‘Harry Wild’ appeared on BitcoinEthereumNews.com. Joe Lando and Janey Seymour in “Harry Wild.” Courtesy: AMC / Acorn Jane Seymour is getting her favorite frontier friend to join her in her latest series. In the mid-90s Seymour spent six seasons as Dr. Micheala Quinn on Dr. Quinn, Medicine Woman. During the run of the series, Dr. Quinn met, married, and started a family with local frontiersman Byron Sully, also known simply as Sully, played by Joe Lando. Now, the duo will once again be partnering up, but this time to solve crimes in Seymour’s latest show, Harry Wild. In the series, literature professor Harriet ‘Harry’ Wild found herself at crossroads, having difficulty adjusting to retirement. After a stint staying with her police detective son, Charlie, Harry begins to investigate crimes herself, now finding an unlikely new sleuthing partner, a teen who had mugged Harry. In the upcoming fifth season, now in production in Dublin, Ireland, Lando will join the cast, playing Pierce Kennedy, the new State Pathologist, who becomes a charming and handsome natural ally for Harry. Promotional portrait of British actress Jane Seymour (born Joyce Penelope Wilhelmina Frankenberg), as Dr. Michaela ‘Mike’ Quinn, and American actor Joe Lando, as Byron Sully, as they pose with horses for the made-for-tv movie ‘Dr. Quinn, Medicine Woman: the Movie,’ 1999. (Photo by Spike Nannarello/CBS Photo Archive/Getty Images) Getty Images Emmy-Award Winner Seymour also serves as executive producer on the series. The new season finds Harry and Fergus delving into the worlds of whiskey-making, theatre and musical-tattoos, chasing a gang of middle-aged lady burglars and working to deal with a murder close to home. Debuting in 2026, Harry Wild Season 5 will consist of six episodes. Ahead of the new season, a 2-part Harry Wild Special will debut exclusively on Acorn TV on Monday, November 24th. Source: https://www.forbes.com/sites/anneeaston/2025/09/17/dr-quinn-co-stars-jane-seymour-and-joe-lando-reuniting-in-new-season-of-harry-wild/
Paylaş
BitcoinEthereumNews2025/09/18 07:05