Writing
The Blog
Engineering notes, build logs, and thoughts on creative development.
Vespa.ai vs Elasticsearch: Which is Best for Real-Time Vector Search?
A deep dive into Vespa.ai vs Elasticsearch for 2026. Learn why Vespa's native tensor support and AI-driven query conversion win for real-time search intelligence.
Building a Real-Time Search Dashboard with Laravel 13 & Reverb
A hands-on, end-to-end tutorial detailing how to configure a real-time operational dashboard using Laravel 13 and Laravel Reverb. We bypass legacy database polling architectures by leveraging event-driven WebSockets and show how to monitor background application metrics live with Livewire v4 and the new Reverb database backend driver.
Vespa Multi-Stage Ranking: Merging BM25 and Vector Search
An in-depth technical tutorial detailing how to craft hybrid, multi-stage rank profiles inside Vespa.ai. It breaks down the mechanical logic of first-phase (lexical) and second-phase (semantic vector) scoring layers, allowing developers to safely merge exact string matching with high-intent vector representations without sacrificing execution latency.
Vespa Streaming Mode: The Architect’s Guide to Cost-Efficient Private Search
An architectural exploration of Vespa Streaming Mode. We discuss the cost-efficiency of "index-less" search for private, multi-tenant data and provide a framework for architects to choose between streaming and traditional indexing based on data volume and budget constraints.
Building a Semantic Newsletter Engine with Laravel 13 AI SDK
A comprehensive guide to building an AI-powered newsletter engine. We demonstrate how to leverage Laravel 13's native vector search and the first-party AI SDK to create a curation tool that understands user intent and delivers deeply relevant technical content.
The 'Edit' Button for AI: Implementing Multi-Step Approval Workflows in Laravel 13 RAG
Autonomous AI is great until it hallucinates a refund policy. Learn how to use the Laravel 13 AI SDK and Livewire v4 to build a "Human-in-the-Loop" search engine. We'll show you how to intercept RAG responses, provide a human review UI, and ensure your AI-generated content is 100% brand-safe before it ever hits the user.
Building AI-Native Apps: Vector Search in Laravel 13 & PostgreSQL
This guide explores how Laravel 13 has revolutionized search by introducing native vector similarity methods. We cover everything from the basic whereVectorSimilarTo syntax to the advanced orchestration of embeddings using the new Laravel AI SDK, providing a clear path for architects to build intelligent, semantic search engines.
FastAPI vs. Prism vs. WireMock: The 2026 Developer’s Guide to Mastering API Mocking
Stop stalling your development cycle. Discover why FastAPI, Prism, and WireMock are the three pillars of 2026 API mocking—perfect for testing AI agents, ensuring contract certainty, and simulating chaotic production failures.
Beyond the Single Prompt: Orchestrating Multi-Step AI Workflows in Laravel 13
One AI agent is a chatbot; three AI agents are a department. In this tutorial, we move beyond basic API calls to build a sophisticated "Orchestrator-Worker" system. See how to use the Laravel 13 AI SDK to chain agents, handle structured output, and build reasoning engines that actually solve complex business problems.
Step-by-Step: Building a Zero-Downtime Data Migration Tool with Laravel Zero
Stop crashing your production DB. Standard migrations are fine for small apps, but when you hit millions of rows, you need a strategy. Learn how to build a custom CLI migration tool with Laravel Zero using the "Expand-Backfill-Switch" pattern to move data safely with zero downtime.