Experiments

Exploring AI integration, performance optimization, and software architecture through tutorials and experiments

Tags

agentic-developmentagentic-engineeringaiai-agentsai-codingai-convergenceai-developmentai-toolingai-workflowanimation
Building Guildhall6 parts · ~99 min
aiFeaturedPart 1

Give the AI Eyes: The Studio That Saved Guildhall

October 18, 2026 · 11 min read

My first rewrite of Guildhall passed every test and still looked worse than the version it replaced. The second one worked. The difference was not a better model or a better prompt. It was a Studio: tools that let me, and the AI, see, tweak and compare before anything touched the real world. Part 1 of the Building Guildhall series.

guildhallprocedural-generationthreejs
aiFeaturedPart 2

Procedural Generation: Where the Models Kept Failing, and Stacked Hexes Did Not

October 18, 2026 · 16 min read

Map generation was the hardest part of Guildhall. It was restarted twice, every frontier model I tried produced the same three mistakes, and the fix was not a better prompt. It was a few engineering ideas: hexagons, relief from stacked layers, sites before roads before nature, density rules, and growth that never moves old land. Part 2 of the Building Guildhall series.

guildhallbuilding-guildhallprocedural-generation
aiFeaturedPart 3

A Math Class, a Mario Clone, and Why Nobody Walks Through Walls in Guildhall

October 18, 2026 · 17 min read

In school I built a Super Mario-style game in Unity for extra credit. That is where I learned colliders, layers, triggers and physics steps. Years later, Guildhall has no Unity and no physics engine, and those same ideas are what kept its townsfolk out of the walls. Part 3 of the Building Guildhall series.

guildhallcollisionsgame-dev
aiFeaturedPart 4

Feet That Don't Skate: Why 'It Looks Right' Is the Hardest Requirement

October 18, 2026 · 17 min read

Every animation bug in Guildhall passed its tests. Shields mounted backwards on every clip, legs whirling at 2.3× speed, lamps that lit before anyone touched them, a dragon that flew like a kite. Models wrote motion code that ran on the first try. Making it look right took eyes, timing and a lot of looking. Part 4 of the Building Guildhall series.

guildhallanimationthreejs
aiFeaturedPart 5

Invisible Wins: 60 FPS for a Whole Kingdom, Even on a Phone

October 18, 2026 · 20 min read

Guildhall draws tens of thousands of low-poly pieces, a crowd, a sea and a turning sun in the browser. Getting it smooth started with a list of ideas from experience. Then a measurement contract decided which of them were real: measure on a quiet machine, find the real cost, and keep only the wins you cannot see. Part 5 of the Building Guildhall series.

guildhallthreejswebgl
aiFeaturedPart 6

The Game Engine Hiding Inside a React App

October 18, 2026 · 18 min read

Guildhall looks like a game, but it ships as a React and TypeScript app. The trick is keeping the two apart: three.js runs its own frame loop outside React, the world is a pure function of a seed, and every rule is a type or a test. That separation is also what let many AI agents work on it at once without breaking it. Part 6, the finale of the Building Guildhall series.

guildhallbuilding-guildhallreact
Building AI Products with LangChain3 parts · ~22 min
aiPart 1

The 2026 LangChain Map: LangChain vs LangGraph vs LangSmith vs deepagents

June 3, 2026 · 7 min read

A field map of the LangChain ecosystem after the 1.0 reset — what each piece is for, when to reach for it, and how the parts fit into a real AI product. Part 1 of a hands-on TypeScript series.

langchainlanggraphlangsmith
aiPart 2

createAgent + Middleware: How LangChain 1.0 Killed Chain Spaghetti

June 10, 2026 · 7 min read

Build a real support-triage agent with LangChain 1.0, then layer middleware — summarization, human-in-the-loop, PII redaction, and a custom guardrail — to get production control over the agent loop. Part 2 of a hands-on TypeScript series.

langchainai-agentsmiddleware
aiPart 3

LangGraph: When the Agent Loop Becomes a State Machine

June 17, 2026 · 8 min read

Drop below createAgent into raw LangGraph — StateGraph, cycles, checkpointing, and durable human-in-the-loop resume. We rebuild the support agent as an explicit graph and watch the black box open up. Part 3 (finale) of a hands-on TypeScript series.

langgraphai-agentsstate-machines
ai

Stop Vibe Coding. Start Vibe Engineering.

May 11, 2026 · 21 min read

I shipped Mintroot — a real Android finance app with 10 entities, 12 milestones, and a 4-layer matching engine — in 48 hours via a single Opus 4.7 1M-context conversation. The 1M context was not the trick. What I did before the first line of Kotlin was.

vibe-engineeringai-workflowclaude-opus
ai

Stop Loading 100K Tokens Just to Call a Tool: Why I Built MCPX

March 30, 2026 · 17 min read

How a single Go binary turned MCP from a context-burning liability into a zero-overhead CLI powerhouse with Unix composability, data filtering, and security policies

mcpmcpxcli
ai

The AI Convergence: Why Every Coding Tool Lands on the Same Two Defaults

March 23, 2026 · 17 min read

AI coding tools are converging on two outputs -- React + TypeScript when a build pipeline exists, plain HTML when it doesn't. The forces behind this are mechanical, self-reinforcing, and quietly killing language innovation.

ai-convergencetypescriptai-development
ai

MCP Is a Crutch: Why CLI Tools Are the Future of AI Agent Tooling

March 9, 2026 · 10 min read

How MCPX transforms MCP servers into zero-overhead CLI tools, and why the OpenClaw CEO is right that CLI is the natural interface for agentic systems.

mcpxmcpcli
ai

SPARC: The Methodology That Turns Vibe Coding Into Actual Engineering

March 9, 2026 · 11 min read

Why structured AI-assisted development with SPARC (Specification, Pseudocode, Architecture, Refinement, Completion) produces 4x better results than raw prompting, and how to adopt it today.

sparcai-developmentmethodology
ai

Spec-Driven Development: Why Writing Specs Before Code Is the Next Paradigm Shift

March 9, 2026 · 11 min read

How Tessl pioneered spec-driven development to eliminate AI hallucinations, reduce rework, and make specifications — not code — the source of truth.

spec-driven-developmenttesslai-coding
ai

RTK: The Rust Binary That Slashed My Claude Code Token Usage by 70%

March 1, 2026 · 15 min read

How a single Rust CLI proxy compresses command output before it hits the LLM context window, and why pairing RTK with Serena MCP creates the most token-efficient AI coding setup I have ever used.

rtkclaude-codetoken-efficiency
ai

From Vibe Coding to Symbolic Reasoning: How Serena MCP Gives AI Agents X-Ray Vision

February 11, 2026 · 17 min read

Why vector search fails at code understanding and how Serena MCP uses the Language Server Protocol to give AI agents the same precise, deterministic vision developers have in their IDEs.

serenamcplsp
ai

Surgical Code Editing: The 10x Token Efficiency Pattern

February 9, 2026 · 20 min read

Why full-file rewrites cost 10x more tokens and how symbolic operations with AST-based editing transform AI agent workflows from brute-force to surgical precision.

claudeai-agentstoken-efficiency
ai

Building a Complete Portfolio Using Only AI: Zero Human Code

February 8, 2026 · 23 min read

How I leveraged Claude Code, Gemini, and AI-driven development to build a production-ready portfolio from scratch with zero human code modifications—only planning

aiclaudegemini