Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: Validation
A Local AI Agent with Ollama: Narrow Tools, Validation and Hard Step Limits
A local AI agent on Ollama that behaves: narrow tool allowlists, a capped loop, Pydantic structured output, explicit state and a test set of failure cases.
9 min readPlaying Volleyball With AI Agents to Predict Restaurant Turnover
A restaurant turnover hackathon built on human-gated AI agents: data audit, tail-aware validation, feature engineering, ensembling and the gap to leaderboard scores.
18 min readValidation Gates and Multi-Agent Routing for a LangGraph Support Bot
Add deterministic business-logic gates, a self-correcting validation loop and a supervisor with three specialist subgraphs to an e-commerce LangGraph agent.
25 min readGraph Engineering for AI Coding Agents: Context, Contracts and Repair
What a contract-driven agent graph taught one developer: scoped context, deterministic validation, targeted repair, and when the extra compute cost is justified.
11 min readValidating LLM Output With an Executable Knowledge Graph and Two Gates
Use RelationalAI as a verification layer: structured LLM claims, schema validation, a refund-policy graph and a second gate that rejects answers contradicting business rules.
7 min readReplacing as-Casts with Zod Parsing at Every Next.js Data Boundary
Why a TypeScript cast cannot protect you from API drift, and how one Zod schema validates fetch results, forms, Route Handlers and Server Actions in Next.js.
5 min readZod 4.5 compile, validate and safeParse: Choosing a Parser per Boundary
How to benchmark Zod 4.5's compiled parsers and boolean validate fast path on valid and invalid payloads, and where each API belongs without losing error paths.
11 min readA Validated Birth-Date Form in Next.js With Controlled Inputs and Callbacks
Build a small Next.js client form that tracks input with useState, rejects bad birth dates, shows accessible errors and hands clean data to its parent component.
10 min readHand-Built React Forms: Controlled Inputs, Validation and Submit States
Learn how React forms work from controlled inputs and per-type handlers to validation, submission states, dynamic fields, uploads and when a form library pays off.
13 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.