<?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>Forem: Wilson B. Miles</title>
    <description>The latest articles on Forem by Wilson B. Miles (@wilson_bmiles_d0902d06d).</description>
    <link>https://forem.com/wilson_bmiles_d0902d06d</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%2F3657745%2F9eea3657-069b-4e2f-b246-25601bca4165.png</url>
      <title>Forem: Wilson B. Miles</title>
      <link>https://forem.com/wilson_bmiles_d0902d06d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/wilson_bmiles_d0902d06d"/>
    <language>en</language>
    <item>
      <title>From Confusion to Clarity: Building My First Research Agent in Google's AI Intensive</title>
      <dc:creator>Wilson B. Miles</dc:creator>
      <pubDate>Sun, 14 Dec 2025 16:12:58 +0000</pubDate>
      <link>https://forem.com/wilson_bmiles_d0902d06d/from-confusion-to-clarity-building-my-first-research-agent-in-googles-ai-intensive-jn8</link>
      <guid>https://forem.com/wilson_bmiles_d0902d06d/from-confusion-to-clarity-building-my-first-research-agent-in-googles-ai-intensive-jn8</guid>
      <description>&lt;p&gt;This is a submission for the Google AI Agents Writing Challenge: Learning Reflections&lt;/p&gt;

&lt;p&gt;Few days ago, I thought AI agents were just chatbots with extra steps. Today, I have a working multi-agent research system deployed on GitHub. This is the story of my journey through Google and Kaggle's AI Agents Intensive Course—the challenges, breakthroughs, and everything I learned along the way.&lt;br&gt;
The Starting Point: What I Thought I Knew&lt;br&gt;
Before the course, my understanding of AI agents was surface-level at best. I knew about ChatGPT and basic prompting, but the concept of agents that could autonomously plan, use tools, and collaborate seemed almost magical. I had more questions than answers:&lt;/p&gt;

&lt;p&gt;How do agents decide what to do next?&lt;br&gt;
What makes an agent different from a simple API call?&lt;br&gt;
How do multiple agents work together without chaos?&lt;/p&gt;

&lt;p&gt;The Hands-On Experience: Building a Research Agent&lt;br&gt;
The course's hands-on approach threw me into the deep end—and that's exactly what I needed. My main project was building a research agent system capable of:&lt;/p&gt;

&lt;p&gt;Conducting web searches autonomously&lt;br&gt;
Fetching and analyzing content from multiple sources&lt;br&gt;
Synthesizing information into coherent reports&lt;br&gt;
Making decisions about when to search deeper vs. when to conclude&lt;/p&gt;

&lt;p&gt;The Technical Journey&lt;br&gt;
Setting Up the Foundation:&lt;br&gt;
Working with the repository structure taught me that AI agents aren't monolithic. They're composed of:&lt;/p&gt;

&lt;p&gt;Tools (web search, content fetching, data processing)&lt;br&gt;
Planning mechanisms (deciding what to do next)&lt;br&gt;
Memory systems (maintaining context across operations)&lt;br&gt;
Orchestration layers (coordinating multiple agents)&lt;/p&gt;

&lt;p&gt;The Git Learning Curve:&lt;br&gt;
Beyond AI, I faced practical challenges like managing code with Git. Merge conflicts, branch management, and pushing updates to GitHub became second nature through trial and error. Every git push that succeeded felt like a small victory.&lt;br&gt;
Conceptual Breakthroughs&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Agents Are About Autonomy, Not Intelligence
The biggest mindset shift: an AI agent isn't necessarily "smarter" than a language model—it's more autonomous. The key is giving the model:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The ability to use tools&lt;br&gt;
A framework for deciding when to use them&lt;br&gt;
A way to evaluate if it's making progress&lt;/p&gt;

&lt;p&gt;This clicked when I saw my research agent decide on its own to do follow-up searches based on initial findings.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Tool Use Is the Superpower
Before: I thought the language model's knowledge was the limitation.
After: I realized the real power is in tool use. My agent could:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Search the live web (breaking past the knowledge cutoff)&lt;br&gt;
Fetch entire web pages (getting full context)&lt;br&gt;
Process structured data (extracting insights)&lt;/p&gt;

&lt;p&gt;The LLM became the "brain" that orchestrated these tools, not the sole source of information.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Iteration Over Perfection
Early on, I wanted my agent to be perfect on the first try. But I learned that agent development is iterative:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Start with simple tool calls&lt;br&gt;
Test with real queries&lt;br&gt;
Observe where it fails&lt;br&gt;
Add guardrails and improvements&lt;br&gt;
Repeat&lt;/p&gt;

&lt;p&gt;My research agent went through multiple versions, each one slightly better at knowing when to search deeper vs. when it had enough information.&lt;br&gt;
Challenges I Overcame&lt;br&gt;
Challenge 1: The Model Wasn't Following Instructions&lt;br&gt;
The Problem: My agent would sometimes ignore available tools and try to answer from memory alone.&lt;br&gt;
The Solution: I learned about prompt engineering for agents:&lt;/p&gt;

&lt;p&gt;Being explicit about available tools&lt;br&gt;
Providing examples of tool use&lt;br&gt;
Structuring the system prompt to encourage tool adoption&lt;br&gt;
Adding instructions about when each tool is appropriate&lt;/p&gt;

&lt;p&gt;Challenge 2: Context Window Management&lt;br&gt;
The Problem: After multiple searches, the conversation history would balloon, causing errors.&lt;br&gt;
The Solution: Understanding that agents need memory management:&lt;/p&gt;

&lt;p&gt;Summarizing previous findings&lt;br&gt;
Keeping only relevant context&lt;br&gt;
Designing the agent to work within token limits&lt;/p&gt;

&lt;p&gt;This taught me that constraints breed creativity—working within limits made my agent more efficient.&lt;br&gt;
Challenge 3: Debugging Black Box Decisions&lt;br&gt;
The Problem: When my agent made a bad decision, I couldn't figure out why.&lt;br&gt;
The Solution: Adding logging and intermediate outputs:&lt;/p&gt;

&lt;p&gt;Printing the agent's reasoning&lt;br&gt;
Tracking which tools were called&lt;br&gt;
Observing the decision-making process&lt;/p&gt;

&lt;p&gt;Debugging AI agents is different from debugging traditional code—you're debugging reasoning, not just logic.&lt;br&gt;
Challenge 4: Version Control Chaos&lt;br&gt;
The Problem: Git merge conflicts when trying to update my repository.&lt;br&gt;
The Solution: Learning proper Git workflow:&lt;/p&gt;

&lt;p&gt;Always pull before pushing&lt;br&gt;
Understanding merge vs. rebase&lt;br&gt;
Using branches for experimentation&lt;br&gt;
Reading error messages carefully (they actually help!)&lt;/p&gt;

&lt;p&gt;How My Understanding Evolved&lt;br&gt;
Week 1 Thinking vs. Week 2 Reality&lt;br&gt;
Before the course:&lt;/p&gt;

&lt;p&gt;"AI agents are just chatbots with APIs"&lt;br&gt;
"The model needs to know everything"&lt;br&gt;
"More parameters = better agent"&lt;/p&gt;

&lt;p&gt;After the course:&lt;/p&gt;

&lt;p&gt;AI agents are autonomous systems with reasoning loops&lt;br&gt;
The model orchestrates tools—tools provide knowledge&lt;br&gt;
Good design &amp;gt; raw model size&lt;/p&gt;

&lt;p&gt;The Paradigm Shift&lt;br&gt;
The course shifted my thinking from:&lt;/p&gt;

&lt;p&gt;"What can the AI know?" → "What can the AI do?"&lt;br&gt;
"How do I prompt this?" → "How do I architect this?"&lt;br&gt;
"Single interaction" → "Multi-step reasoning"&lt;/p&gt;

&lt;p&gt;Key Takeaways&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Start Simple, Then Scale
My best progress came when I:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Built one tool at a time&lt;br&gt;
Tested thoroughly before adding complexity&lt;br&gt;
Celebrated small wins&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Agents Need Guardrails
Without limits, agents can:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Loop infinitely&lt;br&gt;
Make unnecessary tool calls&lt;br&gt;
Exceed context windows&lt;/p&gt;

&lt;p&gt;Good agent design includes knowing when to stop.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The Human Element Matters
Even with autonomous agents, human oversight is crucial:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Validating outputs&lt;br&gt;
Guiding overall direction&lt;br&gt;
Deciding what tools to provide&lt;/p&gt;

&lt;p&gt;We're building assistants, not replacements.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Documentation Is Your Friend
Reading the API docs, understanding tool parameters, and following best practices saved me hours of debugging. When in doubt, RTFM (Read The Fine Manual).
What's Next
This course was just the beginning. I'm now equipped to:&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Build more specialized agents (I'm thinking about a code review agent next)&lt;br&gt;
Experiment with agent collaboration (multiple agents working together)&lt;br&gt;
Deploy agents in real-world scenarios&lt;br&gt;
Continue learning about LangChain, LangGraph, and other frameworks&lt;/p&gt;

&lt;p&gt;The research agent project is live on my GitHub, and I'm actively improving it based on what I learned.&lt;br&gt;
Final Thoughts&lt;br&gt;
Five days feels like both forever and no time at all. I went from theoretical knowledge to practical application, from confusion to clarity. The hands-on labs were challenging but invaluable—there's no substitute for actually building something.&lt;br&gt;
To anyone considering this course: embrace the confusion. The moments where you're stuck are where the learning happens. Every error message, every failed deployment, every Git conflict is a lesson in disguise.&lt;br&gt;
Thank you to Google and Kaggle for this intensive experience. I'm leaving with not just knowledge, but a working project and the confidence to build more.&lt;/p&gt;

&lt;p&gt;GitHub Repository: github.com/Dessyonpoint/research-agent&lt;br&gt;
What I'm building next: A mask detection model integrated with an AI agent for real-time analysis (combining my ongoing computer vision project with agent capabilities)&lt;br&gt;
Connect with me: Feel free to check out my projects and let's build the future of AI together!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>googleaichallenge</category>
      <category>devchallenge</category>
      <category>agents</category>
    </item>
  </channel>
</rss>
