Latest writings
Notes on AI agents, Salesforce, automation, micro-SaaS, and engineering.

Inside the V8 Engine: A Deep Dive into JavaScript Execution
How V8 turns your JavaScript into machine code: parsing, Ignition bytecode, the Sparkplug, Maglev and TurboFan tiers, hidden classes, inline caches and deoptimization.

Systematic Ideation: How to Engineer Profitable Micro-SaaS Ideas
Treat micro-SaaS ideas as a pipeline: mine real complaints, store them with evidence, cut weak ones with three filters, score the rest, then run a smoke test.

Building an AI Inbox Triage Agent with n8n and OpenAI
Build an n8n workflow that reads new Gmail messages, has an OpenAI model classify and summarize them, and routes each one: tasks to Notion, reference mail labelled, spam set aside.

Systematizing Creativity: Building an Automated Content Repurposing Pipeline
Build a pipeline that turns a rough idea in Notion into LinkedIn and X drafts: a status change triggers the workflow, an LLM returns schema-checked JSON, and you review.

From Chatbot to Agent: The Engineer's Guide to LLM Memory Systems
How agent memory works, in plain Python: a rolling window for the current chat, a running summary, and a vector store for facts, with recency weighting and a fake-model test.

LangChain vs. LlamaIndex vs. Vanilla: The Builder's Stack Selection Matrix
Pick between LangChain (with LangGraph), LlamaIndex and plain provider SDKs by asking where your app's complexity lives. Includes a three-question flowchart and starter folder layouts.

Building a Deep Research Agent: An End-to-End Walkthrough
Build a Python research agent that plans search queries, pulls sources with Tavily, writes a cited brief as typed JSON and flags any URL it did not find.

Engineering a Personal Prompt System: Library, Versioning, and Automated Tests
Keep your prompts in a versioned JSON library, run them against fixed test cases with a small Python harness, and grade the output with rule checks or an LLM judge.

The De-Scoping Algorithm: How to Define an MVP That Actually Ships
Cut a side project down to something you can ship: pick one user, one pain and one KPI, then run every feature through a three-question de-scoping check.

The Engineer’s Guide to Debugging AI Agents: From Hallucinations to Reliable Systems
A step-by-step way to debug AI agents: log every step, find which layer failed, fix context overflow, bad tool arguments and loops, then lock the fix in with tests.
SalesforceBeyond Einstein: Building a Custom AI Sales Agent in Salesforce
Call an LLM from a record-triggered Flow with one invocable Apex action: a Named Credential holds the key, an async path makes the callout, and a mock test proves it.

Refactoring My Reality: The Engineer's Guide to Daily Systems
Plan your day in 2-hour deep work loops, keep a plain Markdown log of what you planned and what shipped, and review it weekly to fix the parts of your routine that break.

Your Code is Good, But Your Repo Looks Abandoned: A Guide to GitHub Hygiene
A checklist for making a GitHub repo look maintained: a clear README, a demo, topics, issue forms, a clean .gitignore, no leaked secrets, readable commits and a license.

Building an AI Agent That Writes to Notion: Schema Design & API Logic
Design a Notion database an AI agent can write to, then save structured model output as pages with Python, the current Notion API version and data sources.

The Developer’s Guide to Landing Page Teardowns: Debugging Your Conversion Rate
A step-by-step teardown for developers: rewrite the hero so it says what the tool does, explain how it works in three steps, use honest proof and test the page before launch.

Pricing 101 for Solo Founders: Stop Undervaluing Your Code
Price a micro-SaaS by the value it delivers, not your server bill: pick a value metric, build three tiers, use anchoring honestly, try a reverse trial and model plans as entitlements.

Building an Automated AI Daily Brief: My Morning Workflow
Build a Python script that reads your open Notion tasks, asks a model to rank them, and emails you a plain-text brief each morning from a GitHub Actions schedule.

The Feedback Loop: Turning Community Questions into Engineering Assets
A practical system for developers who build in public: collect the questions people ask, sort them, answer each once in a permanent place, and let the patterns steer what you build.

The Infinite Content Engine: How to Turn 1 Technical Blog Post into 10 Assets
A repurposing map for developers: turn one technical blog post into ten assets, from an X thread and a LinkedIn document post to a newsletter, a video and Q&A answers.

Stop Overthinking Vector Databases: A Builder’s Decision Framework
Choose a vector database with three questions: is your data relational, who runs the infrastructure, and how many vectors you store. Includes HNSW vs IVF basics and a pgvector setup in Python.

Building Your First RAG Pipeline: A Developer’s Guide to Context-Aware AI
Build a working RAG pipeline in Python: load a PDF, split it into chunks, store embeddings in Chroma, answer from the retrieved text, and measure whether retrieval finds the right chunk.

The Pragmatic Automation Stack: When to Pay vs. When to Self-Host
A three-question test for deciding when to pay for a SaaS tool and when to self-host, applied to n8n vs Zapier, Airtable vs Supabase, Vercel vs Coolify and hosted vs local models.

Create Your First AI Planning Agent in 10 Minutes (n8n Tutorial)
Build an n8n workflow that takes a goal over a webhook, asks OpenAI for a JSON task plan, checks the result in a Code node and returns it, with the exact prompt and settings.

Building AI Agents from Scratch: A Practical Guide
Build an AI agent in plain Python: a tool-calling loop on the Claude API, a custom tool, memory, guardrails, and when LangChain, LangGraph or n8n is the better choice.