Build Your First AI Agent in Go (Complete Tutorial)
In this tutorial, I'll show you how to build an AI agent in Go using my Fleet framework. We'll create an intelligent system that can decide whether to answer questions directly or fetch data from external APIs. I'll walk you through the node-based architecture, shared store pattern, and how to connect everything together into a working AI agent. Checkout Flyt the workflow "framework" used in this video https://github.com/mark3labs/flyt Timestamps 00:00 - Introduction & What We'll Build 00:17 - What is an AI Agent? (Definition & Approach) 01:17 - System Architecture Overview 01:23 - Understanding Node-Based Workflows 02:23 - Introducing the Fleet Framework 04:25 - Node Phases: Prep, Exec, and Post 05:04 - Understanding Shared Store Concept 05:54 - Setting Up the Go Project 06:46 - Creating the Main Function & Command Line Interface 07:02 - Building the Decision Node 07:58 - Implementing the LLM Integration 09:00 - Creating Node Phases (Prep, Exec, Post) 11:21 - Implementing OpenAI API Client 12:42 - Handling LLM Responses & Actions 13:53 - Setting Up Flow and Shared Store 14:55 - Testing Basic Functionality 15:41 - Building the Ethereum Price Node 17:22 - Connecting Nodes in Fleet Framework 18:28 - Testing Ethereum Price Functionality 18:53 - Creating the Weather Node 20:43 - Final Testing & Multi-Node Workflows 21:41 - Conclusion & Next Steps 👋 About Me Hey! I'm Ed Zynda, software engineer with 20+ years of experience and founder of Mark III Labs. On this channel, I break down complex topics in blockchain, AI, and Go development into practical, hands-on tutorials. I'm also the creator of mcp-go, one of the most popular Go SDKs for the Model Context Protocol. Whether you're building smart contracts, AI agents, or developer tools — I've got you covered! ► WORK WITH ME ◄ https://mark3labs.com ► SUBSCRIBE TO THIS CHANNEL ◄ For more videos on building cool things for the web, AI, and blockchain: / whatthefunc ► JOIN THE COMMUNITY ◄ / discord 🌐 Website: https://what-the-func.com 🐦 Follow me on X (@what_the_func): / what_the_func 📬 Email: [email protected]

Model Context Protocol (MCP) Explained for Beginners: AI Flight Booking Demo!

How to Systematically Setup LLM Evals (Metrics, Unit Tests, LLM-as-a-Judge)

Snowflake CLI: Give Your AI Coding Agent Superpowers

How To Build A Self-Improving AI Trading Agent (Insanely Cool)

Demystifying AI Agents: Building One from Scratch in Go

How Payment Systems Switch Gateways at Runtime | Understanding the Strategy Pattern

MCP Tutorial: Build Your First MCP Server and Client from Scratch (Free Labs)

From Zero to Your First AI Agent in 25 Minutes (No Coding)

Building a coding agent from scratch - Bill Kennedy

Building AI Agents with ADK Go

Full Walkthrough: Workflow for AI Coding — Matt Pocock

This Is How I Build AI Agents That Code Like Senior Engineers (ft. Ryan Carson from AMP)

Guide to Agentic AI – Build a Python Coding Agent with Gemini

Build an AI Sales Agent in Go That Qualifies Leads Automatically

Andrej Karpathy: From Vibe Coding to Agentic Engineering w/ Stephanie Zhan

The Best Local Agentic Coding Workflow (Complete Guide)

MCP In 26 Minutes (Model Context Protocol)

Hermes Agent is the greatest AI tool ever made. Here's how to set it up

Why Google Just Gave Away Gemma 4 for Free

