<?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: Syed Zakiyuddin</title>
    <description>The latest articles on DEV Community by Syed Zakiyuddin (@zakiy7).</description>
    <link>https://dev.to/zakiy7</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%2F3249641%2Fbb8a1113-233c-4492-b96b-f4711755fd80.png</url>
      <title>DEV Community: Syed Zakiyuddin</title>
      <link>https://dev.to/zakiy7</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zakiy7"/>
    <language>en</language>
    <item>
      <title>Building a Decentralized Multi-Agent Travel Assistant with Fetch.ai, LangGraph, MCP Tools, Chat Protocol and ASI1 LLM</title>
      <dc:creator>Syed Zakiyuddin</dc:creator>
      <pubDate>Fri, 06 Jun 2025 15:27:28 +0000</pubDate>
      <link>https://dev.to/zakiy7/building-a-decentralized-multi-agent-travel-assistant-with-fetchai-langgraph-and-asi1-llm-4he5</link>
      <guid>https://dev.to/zakiy7/building-a-decentralized-multi-agent-travel-assistant-with-fetchai-langgraph-and-asi1-llm-4he5</guid>
      <description>&lt;p&gt;In an effort to demonstrate the potential of agent-based systems in real-world use cases, we developed &lt;strong&gt;TravelBud&lt;/strong&gt;, an intelligent, decentralized travel assistant built entirely within the Fetch.ai ecosystem. TravelBud leverages the &lt;strong&gt;uAgent chat protocol&lt;/strong&gt;, the &lt;strong&gt;LangGraph framework&lt;/strong&gt;, &lt;strong&gt;MCP Tools&lt;/strong&gt; and the &lt;strong&gt;ASI1 large language model (LLM)&lt;/strong&gt; to orchestrate a seamless, conversational travel experience powered by autonomous agents.&lt;/p&gt;

&lt;h3&gt;
  
  
  🧭 Motivation
&lt;/h3&gt;

&lt;p&gt;Traditional travel planning is often fragmented and centralized, involving multiple platforms and intermediaries. Our goal was to build an &lt;strong&gt;all-in-one&lt;/strong&gt;, &lt;strong&gt;privacy-respecting&lt;/strong&gt;, &lt;strong&gt;modular&lt;/strong&gt;, and &lt;strong&gt;intelligent AI system&lt;/strong&gt; where autonomous agents interact, reason, and respond intelligently without centralized servers.&lt;/p&gt;

&lt;h3&gt;
  
  
  ⚙️ System Architecture
&lt;/h3&gt;

&lt;h4&gt;
  
  
  1. &lt;strong&gt;Multi-Agent Workflow with LangGraph&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;We used &lt;strong&gt;LangGraph&lt;/strong&gt; to design a graph-based workflow of agents. Each node in the graph represents a distinct skill:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Flight Search&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Hotel Search&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Tourist Spot Finder&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Budget Estimator&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Travel Tips Generator&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Basically a complete travel itinerary.&lt;/p&gt;

&lt;p&gt;LangGraph’s flexibility enabled dynamic path execution based on user intent, enabling natural conversations with powerful task delegation.&lt;/p&gt;

&lt;h4&gt;
  
  
  2. &lt;strong&gt;uAgent Adapters for Fetch.ai Ecosystem&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;To expose our LangGraph agents to the &lt;strong&gt;uAgent network&lt;/strong&gt;, we built &lt;strong&gt;custom adapters&lt;/strong&gt; that wrapped LangGraph tools into uAgent-compatible services. These adapters:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Handled &lt;code&gt;TextMessage&lt;/code&gt; payloads&lt;/li&gt;
&lt;li&gt;Managed message parsing and tool invocation&lt;/li&gt;
&lt;li&gt;Supported response formatting for final delivery&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Each agent was deployed on the &lt;strong&gt;Agentverse&lt;/strong&gt;, making it publicly discoverable and interoperable with other uAgents.&lt;/p&gt;

&lt;h4&gt;
  
  
  3. &lt;strong&gt;ASI1 LLM as the Central Brain&lt;/strong&gt;
&lt;/h4&gt;

&lt;p&gt;We integrated the &lt;strong&gt;ASI1 LLM&lt;/strong&gt;, Fetch.ai’s language model, to act as the &lt;strong&gt;primary reasoning engine&lt;/strong&gt;. It handles:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Interpreting natural language from users&lt;/li&gt;
&lt;li&gt;Mapping intent to LangGraph tool invocations&lt;/li&gt;
&lt;li&gt;Generating multi-turn, contextual responses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This allows TravelBud to act less like a rigid bot and more like a &lt;strong&gt;fluid, goal-directed assistant&lt;/strong&gt;.&lt;/p&gt;

&lt;h3&gt;
  
  
  💬 Custom Chat Protocol
&lt;/h3&gt;

&lt;p&gt;A key innovation in our project was the design and implementation of a &lt;strong&gt;custom chat protocol&lt;/strong&gt; to enable real-time, asynchronous messaging between agents and users within the Fetch.ai ecosystem.&lt;/p&gt;

&lt;p&gt;Here’s how it works:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Messages are exchanged using &lt;strong&gt;&lt;code&gt;TextMessage&lt;/code&gt; events&lt;/strong&gt;, the standard communication primitive in uAgent.&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Incoming messages are routed through a central handler that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Detects user intent using ASI1&lt;/li&gt;
&lt;li&gt;Triggers relevant LangGraph tool calls&lt;/li&gt;
&lt;li&gt;Captures and formats the result for return&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;

&lt;li&gt;&lt;p&gt;Each tool’s output is structured and sent back through the uAgent message relay&lt;/p&gt;&lt;/li&gt;

&lt;li&gt;&lt;p&gt;All interactions maintain state via LangGraph memory, allowing &lt;strong&gt;multi-turn context-aware dialogue&lt;/strong&gt;&lt;/p&gt;&lt;/li&gt;

&lt;/ul&gt;

&lt;p&gt;This protocol allows for &lt;strong&gt;low-latency&lt;/strong&gt;, &lt;strong&gt;modular&lt;/strong&gt;, and &lt;strong&gt;fully decentralized&lt;/strong&gt; chat experiences—without needing centralized servers or third-party integrations.&lt;/p&gt;

&lt;h3&gt;
  
  
  ✅ Highlights
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🧠 &lt;strong&gt;Modular Reasoning&lt;/strong&gt; with ASI1 and LangGraph&lt;/li&gt;
&lt;li&gt;🌐 &lt;strong&gt;Fully Decentralized&lt;/strong&gt; via uAgent chat protocol&lt;/li&gt;
&lt;li&gt;🔁 &lt;strong&gt;Multi-Turn Memory &amp;amp; Intent Tracking&lt;/strong&gt;
&lt;/li&gt;
&lt;li&gt;📡 &lt;strong&gt;Real-Time Chat Protocol&lt;/strong&gt; for agent communication&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MCP Tool Integration&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🧪 Learnings
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Agent communication across ecosystems (LangGraph → uAgent) requires thoughtful serialization and routing&lt;/li&gt;
&lt;li&gt;Building chat protocols demands managing both state and logic across tools and transports&lt;/li&gt;
&lt;li&gt;ASI1’s LLM reasoning capabilities scale well when modularized into LangGraph tools&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🚀 What’s Next?
&lt;/h3&gt;

&lt;p&gt;We’re exploring:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Inter-agent negotiation for group travel&lt;/li&gt;
&lt;li&gt;Integrating decentralized identity and payments&lt;/li&gt;
&lt;li&gt;Extending the chat protocol to support media and location-rich messages&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  🗺️ Explore the Project
&lt;/h3&gt;

&lt;p&gt;📄 &lt;a href="https://gamma.app/docs/TravelBud-Travel-AI-jk2yjfn874tf8kh?mode=doc" rel="noopener noreferrer"&gt;TravelBud: Travel AI using Fetch.ai&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;TravelBud shows how powerful, composable, decentralized AI systems can be built today using the Fetch.ai ecosystem.&lt;/strong&gt; Whether you're building personal assistants, supply chain bots, or healthcare agents &lt;strong&gt;this stack is production-ready.&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
