Course Showcase & Documentation

This webpage is designed solely to help readers understand and review the daily assignments, technical challenges, and architecture tasks completed by Team Trifecta Agent during the 5-Day AI Agents Intensive. It serves as an interactive walkthrough of the team's achievements and codebase structures.

5-Day AI Agents Intensive Complete

Our Journey from Vibes to Production

Chronicling the evolution of Team Trifecta Agent through Kaggle and Google's intensive vibe coding course. Over 5 days, we transitioned from basic natural language prompting to building structured, multi-service, zero-trust agent workflows.

June 15–19, 2026
Google ADK 2.0
Python 3.12+

Meet the Team

Diverse developer backgrounds aligned for cohesive, predictable agent engineering.

G

Godfrey T R

Lead AI Architect

Spearheaded the design of the multi-agent graph hierarchy, state models, and structured orchestrations using the Google Agents SDK.

A

Arjun S N

Frontend Systems

Crafted the responsive SPA student workspace portal, integrated the FastAPI backend layers, and polished the responsive telemetry layouts.

A

Abdul Razeek A

Security Engineer

Engineered the Presidio protection safeguards, integrated FastMCP vector store ingestion, and designed secure human review interrupts.

Core Paradigm Shifts

πŸ”„ Decoupled Execution Loops

On Day 1 we decoupled particle physics updates from React state rendering to reach 60 FPS. On Day 5 we decoupled graphs from web processes by saving states in SQLite.

πŸ›‘οΈ Zero Ambient Authority

Restricting API authorization scopes, implementing static Semgrep pre-commit screens, and using PreToolUse guards to block destructive commands at runtime.

🧹 Context Hygiene

Structuring modular capabilities using progressive loader architectures. Scrubbing PII in middleware before data flows to log records or the LLM's context window.

🀝 Human-in-the-Loop

Structuring workflow execution points to pause on inputs and yield state. Designing APIs and interfaces to resume workflows from database records.

The 5-Day Intensive Assignment log

Click on each day to explore what we built, what we learned, and the under-the-hood layouts.

Day 1 β€” June 15, 2026

Atmospheric Particle Simulator

Concept: Easy
Build: Medium

πŸ” What the Day Taught

Transitioning from imperative programming to vibe coding. Maximizing developer output by managing AI generators, specifying boundaries, and handling DOM issues.

πŸ› οΈ What We Built

A minimalist React dashboard connected to a high-density, DPI-aware HTML5 Canvas particle system. Features horizontal sine-wave drift for falling snowflakes and bezier-curve paths for rising balloons, bypass-rendering state-updates to prevent frame drops.

⚑ The Hard Part

Handling React state updates at 60Hz caused Virtual DOM bottlenecks, dropping framerates to 20 FPS.

Solution: Bypassed React render loops entirely. We mapped particle coordinates to mutable useRef lists and updated properties directly via Canvas rendering contexts inside requestAnimationFrame loops.

πŸ“Š Interactive Process Flow

React App.tsx Triggers Mode Particles Ref Buffer X/Y coordinates & Alpha bypasses React DOM HTML5 Canvas Context Runs smooth at 60 FPS
TypeScript 5.8 React 19 Vite 6 HTML5 Canvas Tailwind CSS v4
Day 2 β€” June 16, 2026

Skyhook Secure Uploader

Concept: Medium
Build: Hard

πŸ” What the Day Taught

Equipping agents with external tool capabilities. Standardizing background API authorization tokens and isolating files to manage context bloat.

πŸ› οΈ What We Built

A Python-based command line utility and agent plugin that conducts OAuth2 authorization flows, cache updates, and chunked streams to upload files to Google Drive.

⚑ The Hard Part

CLI configurations require desktop browser loops, which block autonomous backend script operations.

Solution: We implemented local OAuth loopback authentication. Credentials cache in local token.json caches. Next runs authenticate headless using dynamic refresh scopes, avoiding prompts.

πŸ“Š Interactive Process Flow

Local CLI tool Credentials Cache Checks credentials.json Refreshes token.json Google Drive API 1MB chunk streams
Python 3.11 Google APIs Client OAuth2 InstalledAppFlow Chunked Streaming Google Cloud Console
Day 3 β€” June 17, 2026

Zephyr Weather Assistant

Concept: Medium
Build: Medium

πŸ” What the Day Taught

Structuring procedural capabilities into ADK skills. Preventing model context bloat by loading resources on demand. Designing collaborative JSON-RPC A2A APIs.

πŸ› οΈ What We Built

An autonomous weather agent powered by Gemini Flash and FastAPI, featuring modular skill packaging (SQL validation, git formats) and dynamic A2A JSON-RPC card routes.

⚑ The Hard Part

Telemetry exporters upload raw conversation strings to cloud databases, exposing credentials and user data.

Solution: Configured OTEL_INSTRUMENTATION_GENAI_CAPTURE_MESSAGE_CONTENT=NO_CONTENT. Tracing checks performance and latency metrics, whilst raw prompts archive in secure cloud storage buckets.

πŸ“Š Interactive Process Flow

Agent Client (REST) /a2a/app endpoint ADK Skill Database Progressive Skill Loader Only loads matched Yaml Gemini Flash LLM ReAct loop validation
Google ADK 0.6 FastAPI 0.111 OpenTelemetry Traces SQLParser Validation YAML Frontmatter
Day 4 β€” June 18, 2026

VibeCarapace Security Shield

Concept: Hard
Build: Very Hard

πŸ” What the Day Taught

Securing non-deterministic agents. Safeguarding system boundaries using pre-commit key checks, regex redactors, and runtime tool authorization perimeters.

πŸ› οΈ What We Built

A multi-service security harness comprising Semgrep API filters, regex input redactors for SSN/credit card claims, prompt injection interceptors, and shell execution guards.

⚑ The Hard Part

Providing shell tool access creates vulnerability to command-injection exploits like rm -rf /.

Solution: Implemented PreToolUse intercept hooks. Proposed shell arguments route through validating Python checks beforehand, immediately terminating unsafe executions.

πŸ“Š Interactive Process Flow

Input Text (Pub/Sub) Unverified emails Security Checkpoint 1. Regex scrub (PII) 2. Injection filters Checks "ignore settings" Clean Context Safe for model consumption
Semgrep API Scan Regex Redaction PreToolUse Hook Pub/Sub Payload Zero Trust Rules
Day 5 β€” June 19, 2026

AuditSentry Compliance Portal

Concept: Very Hard
Build: Very Hard

πŸ” What the Day Taught

Moving prototypes to production-grade fleets. Standardizing behavior-driven constraints via Gherkin files and database serialization.

πŸ› οΈ What We Built

A stateful compliance workflow web service. Higher-value claims (>=$100) trigger a model-based risk review, serialize the active graph state to SQLite, and yield a pause state until dashboard users approve/reject.

⚑ The Hard Part

Concurrent access to the SQLite database by the agent webhook and dashboard portal caused lock timeouts.

Solution: Structured connection pools with retry logic and enabled Write-Ahead Logging (WAL) mode in the database engine, ensuring smooth concurrency.

πŸ“Š Interactive Process Flow

Agent (8080) Pauses on $150 claim SQLite Session Store WAL Concurrency Mode Serializes active state Dashboard (8081) Manager Approves Resumes run
Gherkin BDD Specs SQLite WAL Engine State Resumption Uvicorn Port Routing Human-in-the-Loop

πŸ“– What Vibe Coding Actually Means

Reflective Essay

In practice, "vibe coding" was not just about typing natural language prompts and hoping for the best. It felt like a continuous, collaborative dialogue with an AI coding agent, where our role shifted from writing boilerplate syntax to system architecture, context engineering, and validation checks.

"We transitioned from writing the code ourselves to orchestrating, observing, and safeguarding autonomous agent systems."

Where vibe coding accelerated us was in rapid prototyping. We were able to build canvas particle engines, OAuth upload tools, and compliance dashboard portals in a fraction of the traditional timeline. The agent managed API calls, css utility scripts, and environment setups.

However, vibe coding requires developer intervention when debugging. When the model generated code that caused database concurrency locks, memory leaks, or rendering glitches, we had to analyze the performance and provide specific correction prompts. We learned that prompting is most effective when guided by strict type definitions, structured schemas, and outcome-based assertions.

Skills Growth Tracker

Toggle the slider below to see how our engineering skills evolved from Day 1 to Day 5.
Before (Day 1)
After (Day 5)

Graduation Capstone: Trifecta Agent

How our daily exercises built the foundation for a secure, production-grade student workspace portal.

πŸŽ“ Personalized AI Study Coach

The five daily assignments we completed during this intensive course served as the building blocks for our graduation capstone project, Trifecta Agent.

πŸ“ Day 1 & Day 2 foundations

Day 1's canvas layouts power the student workspace dashboard, while Day 2's chunked OAuth streams upload compiled reports to Google Drive.

πŸ’Ό Day 3 modular skill registry

Saves context space by loading student tools (like validation rules) only when required, preventing API slowdowns.

πŸ›‘οΈ Day 4 zero-trust filters

Integrates Presidio PII scrubbers and pre-execution shell command hooks to run user code safely inside the sandbox.

βš™οΈ Day 5 state serialization

Writes study session progress to SQLite, letting students pause exercises and resume after grading reviews.

Explore Capstone β†—
Trifecta Coach API

Active Sessions Database

Session #804 PAUSED
Awaiting Instructor Review
PII Filter Guard ACTIVE
Redacted: 2 Credit Cards, 1 SSN