Feeling overwhelmed by AI? Learn the Centaur Mindset. Read More →
Terminal output from a NEEDLE lab run: a fake agent exits 0 on a bead it lied about, NEEDLE re-runs the definition of done, the verification fails, a false close is detected, and a priority-0 Fix build bead is filed automatically

Boring on Purpose: Wrapping Coding Agents in NEEDLE's State Machine

The Rabbit Hole Generator gave me NEEDLE this week, and it lands right on a question I keep running into: once you let a coding agent run unattended, who decides whether it actually did the job? Most of the excitement around coding agents is about making them smarter. NEEDLE is interested in something much less glamorous. It assumes the agent is unpredictable, wraps it in a loop where every step around the agent is fixed and logged, and then refuses to take the agent’s word that it finished. I didn’t want to point a real AI model with its permission prompts switched off at anything, so I ran the whole thing against a fake agent: a 20-line shell script that succeeds, fails, hangs, and lies on cue. The lying one turned out to be the most interesting part. ...

October 9, 2026 · 35 min · Scott Algatt
A digital rabbit made of glitching code and binary dissolves into a Matrix-style tunnel of green cascading numbers, descending toward a glowing terminal at the bottom of the rabbit hole

Zero Learning Mode: Building the Rabbit Hole Generator

Every post in this series starts the same way: I open Notion on a Friday and there’s a tool waiting for me that I didn’t pick. That’s on purpose, and it took me building an actual automation to get there. For a long time before this series existed, I was stuck in what I’d call zero learning mode. I like learning new things, genuinely, but I’d sit down with time set aside and just… not know what to point it at. Too many options, no filter, no momentum. I wasn’t short on curiosity, I was short on a starting point. So I built one: an n8n workflow that picks a tool for me every week, does the research, and hands me a scoped 30-minute exercise, no decision required on my end except whether to actually do it. ...

September 4, 2026 · 8 min · Scott Algatt
A complex workflow diagram in the Dify UI showing LLM nodes and tool connections.

Beyond the Prompt: Orchestrating LLM Apps with Dify

Most “agent frameworks” are libraries that push the hard parts of production (orchestration, secrets, versioning, and audit logging) into ad-hoc glue code. As teams move from “chatting with a PDF” to shipping internal copilots, the need for a governed, observable runtime becomes undeniable. This is where Dify enters the stack. It’s a self-hostable “LLM app runtime” designed to turn agentic prototypes into real business services. What is Dify used for in LLM application development? Dify is an open-source LLM application development platform that provides a unified workflow engine, model gateway, and RAG subsystem. It allows developers to model AI applications as explicit directed acyclic graphs (DAGs), enabling governed orchestration of LLM calls, external tools, and retrieval policies with built-in operational telemetry and multi-tenant isolation. ...

May 29, 2026 · 4 min · Scott Algatt
A visual representation of an intercepting proxy sitting between a client and a server, with traffic flows being inspected in a terminal-like view.

Intercepting Opaque Traffic: A mitmproxy Security Regression Harness

Most security monitoring tools rely on server-side logs or cloud-native telemetry. But what happens when the client is opaque? When a mobile app, a single-page application (SPA), or a proprietary service is behaving in ways the server doesn’t fully document, you need a way to look at the wire directly. This post also marks the beginning of a new experiment: The Rabbit Hole Series. Every Friday, a “Rabbit Hole Generator” I built (which I later took apart in its own post) spits out a new technical topic for me to explore for 30 minutes. This week, the generator gave me mitmproxy. ...

April 3, 2026 · 5 min · Scott Algatt
A clean developer workspace with a terminal running automated scripts, showing green output lines and a modern mechanical keyboard

Automating Your Dev Workflow: Scripts That Actually Save Time

The best automation is the script you wrote once and forgot about. Until you realize you’d be miserable without it. That’s the bar I hold every workflow script to: will this save me more time than it took to write? Most “productivity automation” content you find online fails that test. The scripts look clever in a conference talk, end up in your dotfiles, and collect dust. They solve hypothetical problems, not real ones. ...

March 27, 2026 · 12 min · Scott Algatt