<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ahmed Alolaywi </title>
    <description>The latest articles on DEV Community by Ahmed Alolaywi  (@ahmed_genai).</description>
    <link>https://dev.to/ahmed_genai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3411740%2F1689ad75-1f78-41ae-b055-fe69d1d2b3ef.jpg</url>
      <title>DEV Community: Ahmed Alolaywi </title>
      <link>https://dev.to/ahmed_genai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ahmed_genai"/>
    <language>en</language>
    <item>
      <title>Generative Agent</title>
      <dc:creator>Ahmed Alolaywi </dc:creator>
      <pubDate>Mon, 22 Sep 2025 18:28:43 +0000</pubDate>
      <link>https://dev.to/ahmed_genai/generative-agent-117j</link>
      <guid>https://dev.to/ahmed_genai/generative-agent-117j</guid>
      <description>&lt;p&gt;As I was preparing slides for a recent workshop on Generative AI Agents, I realized something: the way people think about AI today feels a lot like how we thought about the “cloud” a decade ago. Back then, most people assumed cloud was just about storage.&lt;br&gt;
Now, it’s the backbone of modern computing.AI agents are going through the same journey. Many see them as “just chatbots” but in reality, they’re digital teammates capable of planning, reasoning, and acting to accomplish real-world tasks. In this article, I’ll walk you through what agents are, how they work, where they’re already being used, and how you can start building one yourself on platforms like Google Cloud. We as humans sometimes act irrational based on emotional decision or lack of data also sometimes we lack of taking actions. AI agents sometimes also hallucinate and can act based on bias depends on data that has been fed into the model. Hence agents can aid&lt;br&gt;
human and can not replace them if we think of them as tools to improve the execution of tasks or navigating uncertainty.&lt;/p&gt;

&lt;p&gt;What Are AI Agents?&lt;/p&gt;

&lt;p&gt;Instead of going with the formal definition which can be found in many articles or text books I will define an AI agent simply as an application that can:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Observe the world (through APIs, sensors, or data). Example of google APIs are
flight API and weather API.&lt;/li&gt;
&lt;li&gt;Decide what to do (using reasoning frameworks). Each framework has
limitations and capabilities common framework are Re-Act, COT and TOT.&lt;/li&gt;
&lt;li&gt;Act on the world (through tools or integrations). Reinforcement learning rewards
good actions and punishes wrong actions allowing agents to adapt.
Unlike traditional apps, agents are proactive. They don’t just follow a script they learn, adapt, and often anticipate the next step.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Example: A self-driving car. You don’t tell it “turn left, then right, then brake.” You tell it the destination, and the car decides and acts.&lt;/p&gt;

&lt;p&gt;Google Agent Development KIT (ADK): &lt;br&gt;
Agent Development Kit (ADK) is a flexible and modular framework for developing and deploying AI agents. While optimized for Gemini and the Google ecosystem, ADK is model-agnostic, deployment-agnostic, and is built for compatibility with other frameworks. ADK was designed to make agent development feel more like software development, to make it easier for developers to create, deploy, and orchestrate agentic architectures that range from simple tasks to complex workflows.&lt;/p&gt;

&lt;p&gt;Types of Agents&lt;br&gt;
Just as the cloud has IaaS, PaaS, and SaaS, agents also come in different forms: &lt;br&gt;
A. Copilot Agents – Productivity boosters (think GitHub Copilot, Docs AI). &lt;br&gt;
B. Workflow Automation Agents – Orchestrating repetitive tasks. &lt;br&gt;
C. Virtual Workers – AI assistants that can handle customer service or sales end-toned. &lt;br&gt;
D. Domain-Specific Agents – Medicine, law, finance, or education.&lt;/p&gt;

&lt;p&gt;How Do Agents Think?&lt;/p&gt;

&lt;p&gt;Agents use a reasoning loop — like a feedback cycle:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Plan – Break the task down.&lt;/li&gt;
&lt;li&gt;Decide – Pick the next action.&lt;/li&gt;
&lt;li&gt;Act – Do the task.&lt;/li&gt;
&lt;li&gt;Reflect – Evaluate results and try again.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This loop is powered by frameworks such as:&lt;br&gt;
A. ReAct (Reason + Act)– Reduces hallucinations, improves trust. &lt;br&gt;
B. Chain-of-Thought (CoT)– Step-by-step reasoning. &lt;br&gt;
C. Tree-of-Thought (ToT)– Exploring multiple possible solutions.&lt;br&gt;
Core Building Blocks. &lt;br&gt;
Just like designing a cloud system, an AI agent is built from a few key components: &lt;br&gt;
A. Model: The brain (LLMs like GPT). &lt;br&gt;
B. Memory: Short-term (context window) + long-term (vector databases). &lt;br&gt;
C. Tools: APIs, extensions, and functions that let it interact with the outside world. &lt;br&gt;
D. Persona: The “character” of the agent (tone, style, role).&lt;/p&gt;

&lt;p&gt;AI Agent Workflow&lt;br&gt;
Example: A Call Center Agent (Google Agent Code&lt;br&gt;
Assist)&lt;br&gt;
Imagine you’re running a support center. Instead of relying only on human reps: &lt;br&gt;
A. The AI agent listens in. &lt;br&gt;
B. It suggests smart replies.&lt;br&gt;
C. Summarizes the customer’s problem. &lt;br&gt;
D. Detects if the customer is frustrated. &lt;br&gt;
E. Fetches relevant docs instantly.&lt;/p&gt;

&lt;p&gt;The human stays in control but productivity and customer experience both improve dramatically.&lt;/p&gt;

&lt;p&gt;Building Your First Agent on GCP&lt;br&gt;
Google Cloud provides several building blocks for experimenting with agents: &lt;br&gt;
A. Vertex AI – Run and fine-tune foundation models. &lt;br&gt;
B. LangChain + Vertex Extensions – Orchestrate reasoning and tool use. &lt;br&gt;
C. Memory with Vector Databases (like Pinecone or AlloyDB with pgvector) – Store long-term context. &lt;br&gt;
D. Cloud Functions &amp;amp; APIs – Extend your agent to interact with external services.&lt;/p&gt;

&lt;p&gt;A simple workflow might look like this:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Define the problem (e.g., “Help students summarize study material”).&lt;/li&gt;
&lt;li&gt;Pick your model (Gemini via Vertex AI).&lt;/li&gt;
&lt;li&gt;Add tools (Docs API, email API).&lt;/li&gt;
&lt;li&gt;Add memory (vector search).&lt;/li&gt;
&lt;li&gt;Deploy (Cloud Run, Workstations, or App Engine).&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Key Considerations (Just Like Cloud)&lt;br&gt;
When building agents, pay attention to:&lt;br&gt;
A.Trust &amp;amp; Safety&lt;br&gt;
B. Guardrails to prevent harmful or biased outputs. &lt;br&gt;
C. Human-in-the-loop for sensitive domains (finance, healthcare).&lt;br&gt;
Cost Optimization&lt;br&gt;
D. Smaller, task-specific models can be cheaper than always using large LLMs. &lt;br&gt;
E. Cache responses where possible. &lt;br&gt;
F. Use scheduling (Cloud Workflows / Cloud Scheduler) to “pause” agents when not in use.&lt;/p&gt;

&lt;p&gt;Scalability&lt;br&gt;
A. Containerize your agent on Cloud Run for autoscaling. &lt;br&gt;
B. Use Pub/Sub for event-driven triggers.&lt;/p&gt;

&lt;p&gt;Real-World Use Cases&lt;br&gt;
Agents are already at work in multiple fields: &lt;br&gt;
A. Drug discovery (AI suggesting molecule interactions).&lt;br&gt;&lt;br&gt;
B. Finance (trading bots).&lt;br&gt;&lt;br&gt;
C. Legal research (patent analysis). &lt;br&gt;
D Education (student study assistants).&lt;/p&gt;

&lt;p&gt;Summary&lt;br&gt;
AI agents are to today what cloud was 10 years ago: a paradigm shift. They’re not just chatbots — they’re the foundation of intelligent, proactive digital teammates. With Google Cloud tools like Vertex AI, LangChain integrations, and scalable&lt;br&gt;
infrastructure, anyone can begin experimenting with agents today.&lt;/p&gt;

&lt;p&gt;The real question is: what task in your daily life or work would you trust your first AI agent to handle?&lt;/p&gt;

&lt;p&gt;Resources to Learn Generative Agent and ADK: &lt;br&gt;
A. &lt;a href="https://www.cloudskillsboost.google/paths/1951" rel="noopener noreferrer"&gt;https://www.cloudskillsboost.google/paths/1951&lt;/a&gt;&lt;br&gt;
B.  &lt;a href="https://www.cloudskillsboost.google/course_templates/1382" rel="noopener noreferrer"&gt;https://www.cloudskillsboost.google/course_templates/1382&lt;/a&gt;&lt;br&gt;
C. &lt;a href="https://www.cloudskillsboost.google/course_templates/1275" rel="noopener noreferrer"&gt;https://www.cloudskillsboost.google/course_templates/1275&lt;/a&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>gcp</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Harnessing Vertex AI for Generative AI and Machine Learning on Google Cloud</title>
      <dc:creator>Ahmed Alolaywi </dc:creator>
      <pubDate>Tue, 09 Sep 2025 05:46:17 +0000</pubDate>
      <link>https://dev.to/ahmed_genai/harnessing-vertex-ai-for-generative-ai-and-machine-learning-on-google-cloud-1gmb</link>
      <guid>https://dev.to/ahmed_genai/harnessing-vertex-ai-for-generative-ai-and-machine-learning-on-google-cloud-1gmb</guid>
      <description>&lt;p&gt;Introduction &lt;/p&gt;

&lt;p&gt;The interaction wit machine learning models has tremendously transformed with Generative AI in terms of deploying and building these models. It is possible via vertex AI as an open and flexible platform  to build, deploy and connect agents for enterprise while having access to state of the art features. These features include agent builder, live API, thinking, grounding, generating embeddings, tuning, image generation, video generation and generative AI evaluation services. On vertex AI &lt;/p&gt;

&lt;p&gt;What is Vertex AI?&lt;/p&gt;

&lt;p&gt;Vertex AI is Google Cloud’s next-generation ML platform that simplifies building, deploying, and managing ML models. Unlike siloed tools, Vertex AI integrates every stage of the ML workflow into one environment—from data preparation and training to deployment and monitoring.&lt;br&gt;
Key Features&lt;/p&gt;

&lt;p&gt;Model Garden: Access pre-trained and foundation models for a wide range of use cases.&lt;/p&gt;

&lt;p&gt;Generative AI Studio: Tools for prompt design, tuning, and rapid prototyping of LLMs.&lt;/p&gt;

&lt;p&gt;MLOps Integration: Full lifecycle management—experiment, train, deploy, monitor.&lt;/p&gt;

&lt;p&gt;Gemini API: Unlocks multimodal capabilities with text, images, and even video.&lt;/p&gt;

&lt;p&gt;How Vertex AI Works&lt;/p&gt;

&lt;p&gt;Vertex AI supports both AutoML (for low-code solutions) and custom training (for advanced users). The workflow is straightforward:&lt;/p&gt;

&lt;p&gt;Gather your data – define problem scope.&lt;/p&gt;

&lt;p&gt;Prepare your data – format and label.&lt;/p&gt;

&lt;p&gt;Train – select training options (AutoML or custom code).&lt;/p&gt;

&lt;p&gt;Evaluate – review performance metrics.&lt;/p&gt;

&lt;p&gt;Deploy – scale predictions through batch or endpoints.&lt;/p&gt;

&lt;p&gt;Monitor – ensure performance and fairness over time.&lt;/p&gt;

&lt;p&gt;The Gemini API: Powering Generative AI&lt;/p&gt;

&lt;p&gt;Google DeepMind’s Gemini models are integrated directly into Vertex AI via the Gemini API. This enables:&lt;/p&gt;

&lt;p&gt;Gemini Pro: Natural language, multi-turn conversation, and code generation.&lt;/p&gt;

&lt;p&gt;Gemini Pro Vision: Multimodal prompts that combine text, images, and video.&lt;/p&gt;

&lt;p&gt;These capabilities open doors for building AI agents, domain-specific LLMs, and enterprise-ready GenAI applications. &lt;/p&gt;

&lt;p&gt;Supported Frameworks &amp;amp; Datasets&lt;/p&gt;

&lt;p&gt;Vertex AI natively supports frameworks like TensorFlow, PyTorch, XGBoost, and scikit-learn, allowing smooth integration with existing workflows.&lt;/p&gt;

&lt;p&gt;It also accommodates diverse dataset types:&lt;/p&gt;

&lt;p&gt;1.Images&lt;/p&gt;

&lt;p&gt;2.Tabular&lt;/p&gt;

&lt;p&gt;3.Text&lt;/p&gt;

&lt;p&gt;4.Video&lt;/p&gt;

&lt;p&gt;MLOps with Vertex AI&lt;/p&gt;

&lt;p&gt;One of Vertex AI’s strongest advantages is end-to-end MLOps orchestration:&lt;/p&gt;

&lt;p&gt;Continuous training &amp;amp; deployment&lt;/p&gt;

&lt;p&gt;Unified endpoints for scalable serving&lt;/p&gt;

&lt;p&gt;Predictive serving for real-time applications&lt;/p&gt;

&lt;p&gt;Built-in monitoring for drift detection &lt;/p&gt;

&lt;p&gt;Hands-On Labs&lt;/p&gt;

&lt;p&gt;For learners who want to dive deeper, Google Cloud offers guided labs like:&lt;br&gt;
👉 Build and Deploy Machine Learning Solutions on Vertex AI&lt;br&gt;
&lt;a href="https://www.cloudskillsboost.google/course_templates/684" rel="noopener noreferrer"&gt;https://www.cloudskillsboost.google/course_templates/684&lt;/a&gt;&lt;br&gt;
These labs provide a safe environment to practice data prep, training, and deployment.&lt;/p&gt;

&lt;p&gt;Conclusion&lt;/p&gt;

&lt;p&gt;Vertex AI is more than just a tool—it’s an ecosystem for scaling Generative AI and ML responsibly. By combining foundation models, MLOps, and the Gemini API, Google Cloud enables developers to go from idea to production seamlessly.&lt;/p&gt;

&lt;p&gt;If you’re building with GenAI, now is the perfect time to explore how Vertex AI can accelerate your journey.&lt;/p&gt;

&lt;p&gt;Follow me for more deep dives on Generative AI and Google Cloud.&lt;/p&gt;

&lt;p&gt;🌐 LinkedIn: &lt;a href="https://sa.linkedin.com/in/ahmedalolaywi" rel="noopener noreferrer"&gt;https://sa.linkedin.com/in/ahmedalolaywi&lt;/a&gt;&lt;/p&gt;

</description>
      <category>genai</category>
      <category>vertexai</category>
      <category>gcp</category>
      <category>googlecloud</category>
    </item>
  </channel>
</rss>
