DEV Community

Cover image for πŸš€ Unlocking the Future: My AI Agent Mesh Portfolio Backend for the New Year, New You Challenge
Pascal Reitermann
Pascal Reitermann

Posted on

πŸš€ Unlocking the Future: My AI Agent Mesh Portfolio Backend for the New Year, New You Challenge

This is a submission for the New Year, New You Portfolio Challenge Presented by Google AI

About Me

Hello DEV.to community! I'm Pascal, a Senior Engineer with a passion for building robust, event-driven systems. My career has spanned significant challenges, including managing and scaling over 14,000 endpoints at dmTECH. Starting from march, I'm leveraging this extensive enterprise background as a Customer Technical Trainer at Solace, where I empower developers to master Event-Driven Architecture (EDA) and messaging technologies.

This portfolio represents my next step: merging my deep understanding of distributed systems with the transformative power of Google AI. My goal is to showcase not just what I've done, but how I build scalable, intelligent, and cloud-native applications β€” and to connect with the incredible community driving innovation in AI and cloud engineering.

Portfolio

Get a live look at my AI Agent Mesh in action! This interactive component demonstrates real-time insights and asynchronous processing.

Note: As a serverless application, the first request might experience a brief "cold start" delay.

How I Built It

My journey in this challenge was about pushing the boundaries of what a portfolio can be, leveraging Google Cloud Platform (GCP) and Google AI to create an AI Agent Mesh.

Tech Stack:

  • Language: Go (Golang) – Chosen for its efficiency, concurrency, and robust standard library (net/http) for a lean, high-performance backend.
  • AI Model: Google Gemini 2.0 Flash – The core intelligence powering dynamic interactions and context-aware responses.
  • Compute: Google Cloud Run – Fully serverless, offering "scale-to-zero" for cost efficiency and automatic scaling under load.
  • Messaging: Google Pub/Sub – The backbone of my Event-Driven Architecture, enabling asynchronous communication and decoupling services.
  • CI/CD: GitHub Actions – Automating Docker builds, image pushes to Google Artifact Registry, and deployments to Cloud Run.
  • IaC: Terraform – Managing IAM roles and cloud infrastructure with code for consistency and repeatability.

Design Decisions & Development Process:

From the outset, I aimed for an "AI-native" and "cloud-native" design. My backend, built with the Go standard library, emphasizes minimal overhead, crucial for serverless environments. The "Agent Mesh" concept means that user interactions don't block the UI; instead, they trigger a cascade of lightweight, asynchronous events handled by Pub/Sub, allowing for parallel processing, logging, and interaction with Gemini.

Google AI Tools in Action – My DevOps Partner:

A pivotal aspect of this project was my Human-AI Collaboration with Google Gemini. Gemini wasn't just a chatbot; it was an integral partner throughout the development and deployment cycle:

  • Architecture & Best Practices: Gemini helped refine my event-driven architecture, advising on optimal Pub/Sub topic structures and Go concurrency patterns.
  • Cloud Engineering & Debugging: When faced with complex platform challengesβ€”such as multi-platform Docker builds (linux/amd64 for Cloud Run from my ARM64 local machine), intricate IAM permissions (artifactregistry.writer, run.developer), or exec format error β€” Gemini acted as a Senior SRE, providing precise debugging steps and gcloud commands. This significantly accelerated problem-solving and deployment.
  • Code Optimization: Gemini assisted in ensuring my Go code adhered to idiomatic patterns, making it clean, maintainable, and efficient for serverless execution.

What I'm Most Proud Of

  1. The "Agent Mesh" in Action: I'm particularly proud of demonstrating how an event-driven approach, powered by Pub/Sub, allows for a truly decoupled and scalable AI interaction. It showcases how to move beyond simple request-response to a more robust, extensible system where user input can trigger multiple parallel intelligent agents.
  2. Lean & Performant Go Backend: Building with just the Go standard library for the backend was a deliberate choice. It proves that powerful, efficient applications don't always need heavy frameworks, especially in serverless contexts where binary size and cold start times are critical.
  3. Mastering the DevOps Struggles with AI: Overcoming deployment hurdles - from Docker architecture mismatches to intricate Google Cloud IAM policies - with Gemini as my guide was incredibly rewarding. It highlights how modern engineers can leverage AI not just for code, but for navigating the complexities of cloud infrastructure, making the entire CI/CD pipeline robust and efficient.

Top comments (0)