Skip to content

Instantly share code, notes, and snippets.

View hamelsmu's full-sized avatar
💻
Always learning.

Hamel Husain hamelsmu

💻
Always learning.
View GitHub Profile
@hamelsmu
hamelsmu / 01_advice.md
Last active February 11, 2026 19:18
Alumni Customer Research Plan (Mom Test-Informed) - AI Evals Course

Alumni Customer Research Plan

What To Do Next

Talk to 15-20 alumni. Not a survey. Not 3,000 people. Conversations.

Who to talk to

Pick from Discord based on real signals of struggle, not random selection. Segment across roles (engineer, PM, leader), company stage (startup vs. enterprise), and time since course (3+ months). Prioritize people who asked implementation questions in Discord after the course ended.

@hamelsmu
hamelsmu / aishwarya_course_comparison.md
Created February 8, 2026 23:16
Competitive Analysis: Aishwarya Reganti's Free AI Evals Course vs Hamel & Shreya's Maven Course

Executive Summary: Aishwarya Reganti's Free AI Evals Course vs. Hamel & Shreya's Maven Course

Overall Assessment: Highly Compatible, No Major Contradictions

The courses are complementary rather than competitive, serving different market segments with aligned principles but different depth/breadth.


Key Findings by Video

@hamelsmu
hamelsmu / marily-ll.md
Last active February 5, 2026 17:26
Lightning Lesson Proposal: Debug Any AI Product in Under an Hour

Lightning Lesson Proposal

Debug Any AI Product in Under an Hour

Hosted by Dr. Marily Nika and Hamel Husain

45 minutes | Virtual (Zoom) | Free to join


@hamelsmu
hamelsmu / architecture-comparison.md
Created February 5, 2026 14:58
Architecture comparison: Jupyter vs Runme notebook systems

Charlotte/Runme vs JupyterLab: Architecture Comparison

This document provides a comprehensive comparison of the Charlotte/Runme notebook architecture versus JupyterLab, analyzing their fundamental design decisions, trade-offs, and the inherent capabilities that are easier or more difficult to implement in each system.


Executive Summary

Aspect Charlotte/Runme JupyterLab
@hamelsmu
hamelsmu / prd-vibetui.md
Created January 9, 2026 21:07
VibeTUI PRD

PRD: VibeTUI — Terminal UI for Managing Coding Agent Sessions

Introduction

VibeTUI is a terminal-based user interface (TUI) for managing multiple coding agent sessions running in tmux. It provides a unified dashboard to monitor, create, and switch between sessions running Amp, Claude Code, OpenCode, and Codex. The tool is designed for developers who run multiple AI coding agents in parallel and need visibility into what each agent is doing.

VibeTUI runs on a server accessed via SSH, displaying a two-pane interface: a collapsible sidebar showing all sessions with their status, and a main pane displaying the active agent's terminal output.

Goals

@hamelsmu
hamelsmu / flashcard-ideas.md
Last active November 9, 2025 20:31
Eval Flashcard Ideas

Here is the final, consolidated set of 68 flashcard ideas.

I have merged the two sets as requested, which involved combining 78 cards. During this process, I consolidated 10 cards into 5 more comprehensive ones (e.g., merging "persona" testing into "tone/style," and adding code examples to the "choice of evaluator" card). I also pruned 6 cards that were redundant (e.g., duplicate cards on "how to start" or "evals vs. QA").

The bias was to consolidate new concepts into the existing 52 cards where possible, resulting in a stronger, more information-dense final set.

{
  "flashcards": [
@hamelsmu
hamelsmu / background-task-sse.py
Created October 21, 2025 15:05
Air Background Task
"""
Minimal Air Framework Demo with Background Tasks and Server-Sent Events (SSE)
"""
import asyncio
import random
from typing import Dict
import air
app = air.Air()
tasks: Dict[int, dict] = {}
@hamelsmu
hamelsmu / phase_1:_ground_your_evals_in_reality,_with_error_analysis.md
Created September 14, 2025 16:53
Phase 1: Ground your evals in reality, with error analysis

👋 Each week, I tackle reader questions about building product, driving growth, and accelerating your career. Annual subscribers get a free year of 15+ premium products:**Lovable, Replit, Bolt, n8n, Wispr Flow, Descript, Linear, Gamma, Superhuman, Granola, Warp, Perplexity, Raycast, Magic Patterns, Mobbin, and ChatPRD **(while supplies last).

For more:Lennybot | Lenny’s Podcast | How I AI |Lenny’s Reads | Courses

Subscribed


Hamel Husain and Shreya Shankar’s online course, AI Evals for Engineers & PMs, is the #1 highest-grossing course on Maven, and consistently brings in sizable student groups from all of the major AI labs. This is because they teach something crucial: how to build evaluations that actually improve your product, not just generate vanity dashboards.

@hamelsmu
hamelsmu / chapters.py
Created July 6, 2025 03:16
YouTube Chapter Generator - Generate summaries and timestamps for YouTube videos using Gemini API
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.9"
# dependencies = [
# "httpx",
# "typer",
# "rich",
# ]
# ///
"""
import json
import os
from getpass import getpass
from io import StringIO
import openai
import opentelemetry
import pandas as pd
from openai import OpenAI
from openinference.instrumentation.openai import OpenAIInstrumentor