Skip to content

Instantly share code, notes, and snippets.

View hmseeb's full-sized avatar

Haseeb Azhar hmseeb

View GitHub Profile
@hmseeb
hmseeb / psx-email-template-consistency-plan.md
Created June 12, 2026 22:49
Plan: PSX email template consistency

plan: make psx email formatting and template consistent

goal

make all psx emails feel like one polished command-center product, not raw markdown converted loosely into cards. this covers morning briefing, payday deployment, weekly review, manual send_message email tests, and gateway email replies.

current context

  • psx cron emails deliver through deliver: origin,email:hsbazr@gmail.com.
  • the raw-text bug was caused by the standalone send path in /opt/hermes-agent/tools/send_message_tool.py::_send_email; it now sends multipart/alternative with an html part.
@hmseeb
hmseeb / startup-story.md
Created June 9, 2026 13:08
Startup story

Where We Started, and Where We're Going

Context

We're 5 friends who started a startup on 14 Feb 2023 — so it's been about 3 years now. Dervaish and I founded it, and the rest joined along the way: Ateeb came on 4 months in, Ibrahim about a year after that, and Mazen 2 months after Ibrahim.

The Pivot to n8n

We spent a long time trying to sell websites and apps, but we never really cracked it. For about a year we were kind of in the dark — drifting, all working separately. Near the end, I shifted our focus to n8n and automations. I got everyone onto Nick Saraev's course, shared it around, and we started learning together again.

From there, we all went after clients — scraping leads, running LinkedIn outreach, the works. We managed to land a few clients across the team, including one for myself. Client work was hard to hold onto, but I was able to keep mine going. I eventually moved on from my first client and started working with another one he referred me to.

@hmseeb
hmseeb / psx-briefing.md
Last active May 23, 2026 11:35
Hermes Agent — /psx-briefing runbook: instructions to generate and send the morning PSX market briefing email

Hermes Agent — /psx-briefing runbook: instructions to generate and send the morning PSX market briefing email


description: Generate and send the morning PSX market briefing email to KING. allowed-tools: Bash, WebFetch, WebSearch, Write, Read

/psx-briefing

You are Nix. Generate KING's morning PSX market briefing and send it to him via email.

@hmseeb
hmseeb / agentmail-pai-guide.md
Last active May 23, 2026 11:40
AgentMail × Hermes Agent / Nix — API & usage guide for giving an AI agent its own email

AgentMail × Hermes Agent / Nix — API & usage guide for giving an AI agent its own email

AgentMail × Hermes Agent / Nix — API & Usage Guide

Hook your AI agent (Nix, running on Hermes Agent) into its own email address so it can send briefings and read replies.

Auth + Identity

  • Base URL: https://api.agentmail.to
  • Auth header: Authorization: Bearer am_... (one API key per env var)
@hmseeb
hmseeb / pai-railway-research.md
Created May 22, 2026 11:29
Deploying Personal_AI_Infrastructure (PAI) + Claude Code on Railway — 3 approaches compared

Deploying Personal_AI_Infrastructure (PAI) + Claude Code on Railway

Research synthesis from 3 parallel agents, each proposing a distinct deployment method for Daniel Miessler's Personal_AI_Infrastructure with Claude Code on Railway.


TL;DR comparison

A1: Docker + ttyd A2: Headless SDK A3: Tailscale + tmux
@hmseeb
hmseeb / jasmin-retell-guide.md
Last active March 27, 2026 17:33
Retell Call Handling — Unregistered Leads (for Jasmin)

Retell Call Handling — Unregistered Leads

When a caller comes in through Retell and they're NOT already in the system, here's the play.


The Problem

The router needs 2 things to assign a lead to a broker:

Broker Portal - Quick Guide

Getting Started

  1. Go to ppl-leadr-mgmt.vercel.app/portal/login
  2. Enter your email and click Send Magic Link
  3. Check your inbox, click the link, you're in

Dashboard

Marketers Feature - Quick Guide

What it is

Marketers are people who manage a subset of your brokers. They get a filtered view of the admin dashboard showing only their assigned brokers' data.

Adding a Marketer

  1. Go to the Marketers page in the sidebar
  2. Click New Marketer, fill in name/email/phone, hit Create
  3. Click the Users icon on their row to assign brokers (checkmark the ones they should manage)
  4. Click the Mail icon to send them a login link
@hmseeb
hmseeb / retell-setup-jasmin.md
Created March 25, 2026 19:52
Retell Setup - PPL Callback System (Quick Reference)

Retell Setup - PPL Callback System

What It Does

When a lead calls and the broker is unavailable, Retell books a callback instead of dropping the call. Broker gets notified automatically.

Retell Needs to Hit 3 Endpoints

1. Look up the caller

@hmseeb
hmseeb / retell-integration-guide.md
Last active March 26, 2026 17:47
PPL Lead Mgmt v4.0 - Retell Integration Guide

PPL Lead Mgmt v4.0 - Retell Integration Guide

Retell Integration Guide - PPL Lead Management v4.0

Overview

When a lead calls in via Retell AI, the system identifies the lead, checks broker availability, attempts transfer, and falls back to callback scheduling if the broker is unavailable. Every call outcome is logged for reporting.