⌨ Keyboard shortcuts available
G — waiting for next key…

Writing

The Blog

Engineering notes, build logs, and thoughts on creative development.

A technical diagram showing the Laravel 13 logo connected to a PostgreSQL database with vector data streams, representing native semantic search.
Featured Vespa.AI Elasticsearch

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.

May 9, 2026 · 6 min read
A high-contrast, minimalist architectural diagram showing a Laravel 13 server bridging data pipelines to an AI agent via the Model Context Protocol using Server-Sent Events.
AI SDK Laravel 13

Model Context Protocol in Laravel: Building MCP Servers with the AI SDK

Standardize your AI integrations by building MCP servers in Laravel 13. Learn to map tools to resources and implement SSE transports for high-scale Kafka and vector data pipelines.

Jul 7, 2026 · 31 min
Technical diagram of Laravel AI cost governance showing data streams from Vespa and Kafka flowing through middleware that converts tokens into USD budget pools, protected by hard quota circuit breakers.
AI SDK Laravel 13

Architecting for the Bill: Building an LLM Rate Limiter and Cost Tracker in Laravel

Learn how to build a robust LLM cost management system in Laravel 13 using middleware to track tokens, manage multi-tenant budgets, and prevent runaway costs.

Jul 7, 2026 · 30 min
An infrastructure diagram illustrating data flowing from an app server to a Kafka topic, landing in a raw zone, and transforming via dbt into clean search models.
Data Engineering Apache Kafka

Event-Driven Ingestion: Scaling Search Pipelines with Kafka and dbt

An enterprise data architecture tutorial focused on building a high-throughput search ingestion pipeline. We demonstrate how to break up transactional database dependencies by using Apache Kafka for immutable event routing, coupled with dbt incremental models to manage near-real-time data transformations smoothly at scale.

Jul 7, 2026 · 9 min
An architectural system layout diagram demonstrating 50 candidate records narrowing into a clean top-5 sorted selection via a Laravel AI Re-ranker block.
AI SDK Laravel 13

Two-Stage Retrieval: Cross-Encoder Reranking with Laravel 13 AI SDK

An deep-dive architectural tutorial demonstrating how to combine first-stage vector recall via pgvector with second-phase precision sorting using the Laravel 13 AI SDK Reranking engine. It walks through the mechanics of Bi-Encoders vs. Cross-Encoders and provides a clean implementation roadmap using native collection macros.

Jul 6, 2026 · 8 min
An engineering schematic showing a geographical map overlayed with sharp neon hexagons acting as pre-filters to narrow down vector space queries.
Laravel 13 Vector Search

Location-Aware RAG: Combining Uber’s H3 Grids with Laravel 13 Vector Search

An extensive system architecture tutorial analyzing how to construct location-aware Retrieval-Augmented Generation engines within the Laravel 13 ecosystem. We detail how to implement Uber's H3 Hexagonal indexing parameters inside PostgreSQL tables to narrow down local regional records before performing dense pgvector semantic similarity updates.

Jun 13, 2026 · 9 min
A high-level layout diagram detailing how the Laravel 13 AI SDK connects background storage systems, tool executors, and model providers.
AI SDK Laravel 13

Beyond Wrappers: Building Autonomous Agents with Laravel 13 AI SDK

An extensive end-to-end guide exploring the newly stabilized Laravel 13 AI SDK. We walk through setting up dedicated Artisan Agent classes, enabling native database conversation persistence, utilizing function tool-calling routines, and safeguarding production infrastructure via multi-model failover arrays.

Jun 7, 2026 · 8 min
An infrastructure diagram showing a single document splitting into sequential batch jobs processed concurrently by background workers into a PostgreSQL database.
php Laravel 13

Asynchronous Embedding Ingestion: Scaling pgvector in Laravel 13 with Queue Batches

An infrastructure guide focused on building a high-throughput, decoupled data ingestion pipeline using Laravel 13. We show how to safely handle high-volume text chunking, eliminate application process bottlenecks via asynchronous Bus Batches, and perform optimized updates directly within PostgreSQL

Jun 5, 2026 · 8 min
An enterprise architecture diagram showing decoupled data ingestion from an app database to a Vespa search cluster through a worker queue.
Vespa.AI

Real-Time Ingestion: Syncing Data to Vespa Without Lag

An architectural guide to implementing real-time data synchronization with Vespa. We break down the dangers of synchronous vector generation and provide an event-driven blueprint that utilizes asynchronous workers and partial document updates to maintain data freshness without degrading database performance.

Jun 5, 2026 · 8 min
A glowing dark-mode UI admin control panel displaying real-time server traffic graphs and data streaming pipelines
Laravel 13 Vector

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.

May 18, 2026 · 7 min
← Prev 1 / 3 Next →