<?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: Arun Somu-Panneerselvam</title>
    <description>The latest articles on DEV Community by Arun Somu-Panneerselvam (@arun_somupanneerselvam_f).</description>
    <link>https://dev.to/arun_somupanneerselvam_f</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%2F3659238%2Fd9141feb-4fa6-4167-b4ec-6fcf8e012af3.png</url>
      <title>DEV Community: Arun Somu-Panneerselvam</title>
      <link>https://dev.to/arun_somupanneerselvam_f</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/arun_somupanneerselvam_f"/>
    <language>en</language>
    <item>
      <title>Intelligent Multi-Agent Trip Planning System</title>
      <dc:creator>Arun Somu-Panneerselvam</dc:creator>
      <pubDate>Sun, 14 Dec 2025 16:08:22 +0000</pubDate>
      <link>https://dev.to/arun_somupanneerselvam_f/intelligent-multi-agent-trip-planning-system-1lhl</link>
      <guid>https://dev.to/arun_somupanneerselvam_f/intelligent-multi-agent-trip-planning-system-1lhl</guid>
      <description>&lt;p&gt;&lt;strong&gt;Building iPathPilot: From AI Agent Theory to a Multi-Agent System&lt;/strong&gt;&lt;/p&gt;




&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fszx1hzn3qbkxirefvqtu.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fszx1hzn3qbkxirefvqtu.png" alt="Path Pilot" width="800" height="429"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;u&gt;My Learning Journey / Project Overview&lt;/u&gt;
&lt;/h2&gt;

&lt;p&gt;The AI Agents Intensive fundamentally reshaped how I think about building intelligent systems. Prior to the course, I viewed LLM-based solutions largely as &lt;em&gt;model-centric pipelines&lt;/em&gt;. The course made one thing very clear:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;Agents are systems, not models&lt;/em&gt;.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;To internalize this shift, I built &lt;strong&gt;iPathPilot – an Intelligent Multi-Agent Trip Planning System&lt;/strong&gt;, a fullstack application that demonstrates how autonomous agents can collaboratively reason, plan, act, and observe in the real world.&lt;/p&gt;

&lt;p&gt;&lt;u&gt;&lt;strong&gt;iPathPilot solves a practical problem:&lt;/strong&gt;&lt;/u&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;End-to-end trip planning with route optimization, POI discovery, cost estimation, and environmental impact analysis—delivered through a coordinated team of AI agents.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The system leverages:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Google Agent Development Kit (ADK)&lt;/li&gt;
&lt;li&gt;Gemini 2.5 models&lt;/li&gt;
&lt;li&gt;Google Maps &amp;amp; Routes APIs&lt;/li&gt;
&lt;li&gt;Server-Sent Events (SSE) for real-time agent observability&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Rather than building a single “do-everything” agent, I intentionally designed a 7-agent sequential pipeline, mirroring real-world organizational workflows.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub Repository:&lt;/strong&gt; 👉 &lt;a href="https://github.com/aiscalelearn/iPathPilot" rel="noopener noreferrer"&gt;https://github.com/aiscalelearn/iPathPilot&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Kaggle :&lt;/strong&gt; &lt;a href="https://kaggle.com/competitions/agents-intensive-capstone-project/writeups/new-writeup-1764370781160" rel="noopener noreferrer"&gt;https://kaggle.com/competitions/agents-intensive-capstone-project/writeups/new-writeup-1764370781160&lt;/a&gt;&lt;/p&gt;




&lt;p&gt;Key Concepts / Technical Deep Dive&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. From Monolithic Prompts to Collaborative Agents&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the most impactful concepts from the course was multi-agent system design.&lt;/p&gt;

&lt;p&gt;In iPathPilot, each agent has:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A single responsibility&lt;/li&gt;
&lt;li&gt;Clear inputs and outputs&lt;/li&gt;
&lt;li&gt;Explicit tool access&lt;/li&gt;
&lt;li&gt;No hidden side effects&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The pipeline looks like this:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29faefth0hg9att9dp42.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F29faefth0hg9att9dp42.png" alt="🤖A Team of AIs Plans Your Perfect Road Trip 🚀" width="800" height="406"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Prompt Capture Agent – Preserves raw user intent (no mutation)&lt;/li&gt;
&lt;li&gt;Router Agent – Calls Google Routes API (traffic-aware, waypoint optimization)&lt;/li&gt;
&lt;li&gt;Planner Agent – Converts raw route data into human-readable navigation&lt;/li&gt;
&lt;li&gt;Optimizer Agent – Identifies traffic, toll, and detour optimizations&lt;/li&gt;
&lt;li&gt;POI Finder Agent – Discovers hotels, restaurants, attractions, fuel stations&lt;/li&gt;
&lt;li&gt;Cost Calculator Agent – Estimates fuel cost and CO₂ emissions&lt;/li&gt;
&lt;li&gt;Summarizer Agent – Produces a clean, structured, frontend-safe response&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This architecture directly reflects &lt;strong&gt;Level 3: Collaborative Multi-Agent Systems&lt;/strong&gt;, where agents treat other agents as tools rather than competitors.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;2. Tool Use Is Where Agents Become “Real”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The course reinforced that tools are an agent’s hands.&lt;/p&gt;

&lt;p&gt;In iPathPilot:&lt;/p&gt;

&lt;p&gt;The Router Agent uses compute_routes() via Google Routes API&lt;/p&gt;

&lt;p&gt;The POI Finder Agent uses Google Search grounding&lt;/p&gt;

&lt;p&gt;The Summarizer Agent invokes a custom tool:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;clean_and_format_route_response()&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This function was critical. It:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Extracts encoded polylines&lt;/li&gt;
&lt;li&gt;Removes control characters (0x00–0x1F, 0x7F)&lt;/li&gt;
&lt;li&gt;Produces JSON-safe structured output&lt;/li&gt;
&lt;li&gt;Wraps results in markdown for reliable frontend parsing&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This directly applied the course principle:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Publish tasks, not APIs.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The agent never reasons about how sanitization works—only when it’s needed.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;3. Observability Is Not Optional for Agents&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;One of the strongest lessons from the Agent Quality and Prototype-to-Production modules was:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;You cannot evaluate what you cannot observe.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;iPathPilot was designed with observability from day one:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Server-Sent Events (SSE) stream each agent’s progress&lt;/li&gt;
&lt;li&gt;Frontend displays:

&lt;ul&gt;
&lt;li&gt;  Agent transitions&lt;/li&gt;
&lt;li&gt;  Tool calls&lt;/li&gt;
&lt;li&gt;  Intermediate reasoning stages&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;The final response is assembled only after all agents complete successfully&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;This aligns with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Trajectory-based evaluation&lt;/li&gt;
&lt;li&gt;Process visibility over final-output-only judgment&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Debugging issues like &lt;em&gt;“Why didn’t the polyline render?”&lt;/em&gt; became trivial because the agent trajectory was fully visible.&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;4. Agent Quality Over “It Works”&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;The course reframed quality as a continuous loop, not a test case.&lt;/p&gt;

&lt;p&gt;In iPathPilot, quality is evaluated across four dimensions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Effectiveness – Did the plan match user intent?&lt;/li&gt;
&lt;li&gt;Efficiency – Were unnecessary agent steps avoided?&lt;/li&gt;
&lt;li&gt;Robustness – Did the system degrade gracefully on API failures?&lt;/li&gt;
&lt;li&gt;Safety – Are outputs sanitized and frontend-safe?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This thinking influenced:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Defensive API error handling&lt;/li&gt;
&lt;li&gt;Polyline sanitization&lt;/li&gt;
&lt;li&gt;Explicit agent instructions (e.g., “MUST call tool X”)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The biggest mindset shift:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;An agent that “eventually works” can be improved a lot.&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;




&lt;p&gt;&lt;strong&gt;5. From Prototype to Production Mindset&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;iPathPilot is not a demo -- it is deployable.&lt;/p&gt;

&lt;p&gt;Key production considerations baked in:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Cloud Run &amp;amp; Vertex AI Agent Engine deployment&lt;/li&gt;
&lt;li&gt;Environment-based configuration&lt;/li&gt;
&lt;li&gt;Optional AgentOps tracing&lt;/li&gt;
&lt;li&gt;Secure API key handling&lt;/li&gt;
&lt;li&gt;Frontend-backend contract enforcement&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The course made it clear that 80% of the work happens after the agent is “intelligent enough.”&lt;/p&gt;




&lt;p&gt;&lt;strong&gt;Reflections &amp;amp; Takeaways&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;What resonated most?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Agents are autonomous systems, not enhanced prompts&lt;/li&gt;
&lt;li&gt;Observability is foundational, not an afterthought&lt;/li&gt;
&lt;li&gt;Tool design and documentation matter more than prompt cleverness&lt;/li&gt;
&lt;li&gt;Evaluation must focus on behavior and trajectory, not just answers&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How has my understanding evolved?&lt;/p&gt;

&lt;p&gt;I moved from:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“How do I get the model to respond correctly?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;to:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“How do I design a system that reasons, acts, fails safely, and improves?”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What I would do differently next time&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Introduce parallel agent execution earlier&lt;/li&gt;
&lt;li&gt;Add RAG + MCP from day one&lt;/li&gt;
&lt;li&gt;Build automated evaluation gates into CI/CD&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Final Thoughts&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Building iPathPilot transformed abstract agent concepts into concrete engineering practice.&lt;br&gt;
The AI Agents Intensive didn’t just teach how agents work—it taught &lt;/p&gt;

&lt;p&gt;&lt;em&gt;&amp;gt; how to trust them in production&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;If you’re transitioning from LLM demos to real-world systems, my biggest advice is this:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Design agents like you design teams: with clear roles, visibility, accountability, and trust.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;If you’d like to explore the project or extend it (bookings, voice AI, group travel, or enterprise logistics), check out the repository and feel free to contribute.&lt;/p&gt;

&lt;p&gt;Happy building in the agentic era.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Youtube Playlist:&lt;/strong&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Demo - &lt;a href="https://youtu.be/6BA2TPzNxmk?si=HFsHhCBr4h44Nfbr" rel="noopener noreferrer"&gt;https://youtu.be/6BA2TPzNxmk?si=HFsHhCBr4h44Nfbr&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Flow - &lt;a href="https://youtu.be/8A5CRxT71lE?si=GC609cEt0UXmeM-7" rel="noopener noreferrer"&gt;https://youtu.be/8A5CRxT71lE?si=GC609cEt0UXmeM-7&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Inside AI - &lt;a href="https://youtu.be/8T8_HvRAd5A?si=2wii6uU6ID1vne8d" rel="noopener noreferrer"&gt;https://youtu.be/8T8_HvRAd5A?si=2wii6uU6ID1vne8d&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Agent Ops - &lt;a href="https://youtu.be/H1F6xRf-ous?si=ZN-OOZah0sMtkl-U" rel="noopener noreferrer"&gt;https://youtu.be/H1F6xRf-ous?si=ZN-OOZah0sMtkl-U&lt;/a&gt;
&lt;/li&gt;
&lt;/ol&gt;

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