Blog

Writing.

Articles on Laravel, production AI and building software products. Longer topics are organised into series.

AI Engineering series cover

Blog series

AI Engineering

A chapter-by-chapter guide to building production AI features with Laravel: the SDK, agents, prompts, structured output, reliability, model costs, RAG, MCP, streaming, security and observability.

22 chapters · 1 published

Open the series →
AI Engineering
Head First Design Patterns: A Software Engineer’s Book Review
Book Review

Head First Design Patterns: A Software Engineer’s Book Review

A practical review of Head First Design Patterns—why its visual, problem-first approach works, where it falls short, and how software developers should read it.

Aug 21, 2026 · 10 min read
The Fundamentals of AI Engineering
AI Engineering

The Fundamentals of AI Engineering

A practical guide to AI engineering for Laravel developers: core concepts, architecture, tools, RAG, reliability, security, and the boundaries that keep production systems safe.

Aug 19, 2026 · 14 min read
Getting Started with the Laravel AI SDK
AI Engineering

Getting Started with the Laravel AI SDK

A practical introduction to the Laravel AI SDK for PHP developers building AI-powered Laravel applications with providers, prompts, and responses.

Coming soon
Understanding Agents in the Laravel AI SDK
AI Engineering

Understanding Agents in the Laravel AI SDK

Understand how agents work in the Laravel AI SDK, including goals, tools, context, execution loops, and production design trade-offs.

Coming soon
Prompt Engineering in Laravel Applications
AI Engineering

Prompt Engineering in Laravel Applications

Learn practical prompt engineering patterns for Laravel applications, including prompt structure, context management, and reusable prompt contracts.

Coming soon
Structured Outputs in Laravel AI Applications
AI Engineering

Structured Outputs in Laravel AI Applications

Build reliable structured outputs in Laravel AI applications using schemas, validation, parsing, and predictable response formats.

Coming soon
Reliability Patterns for AI Responses: Validation and Retry
AI Engineering

Reliability Patterns for AI Responses: Validation and Retry

Design validation and retry patterns that make AI responses more dependable in production Laravel applications.

Coming soon
Multi-Provider Architecture for Laravel AI Applications
AI Engineering

Multi-Provider Architecture for Laravel AI Applications

Plan a multi-provider Laravel AI architecture that can switch models, reduce vendor lock-in, and improve reliability across AI services.

Coming soon
Understanding AI Model Costs and Token Economics
AI Engineering

Understanding AI Model Costs and Token Economics

Understand AI model pricing, token usage, context windows, and cost drivers before shipping AI features in Laravel applications.

Coming soon
AI Model Selection and Cost Optimization
AI Engineering

AI Model Selection and Cost Optimization

Choose the right AI models for Laravel workloads by balancing quality, latency, context length, reliability, and cost.

Coming soon
Tool Calling and Function Execution in Laravel AI
AI Engineering

Tool Calling and Function Execution in Laravel AI

Use tool calling and function execution to let Laravel AI applications safely interact with APIs, databases, and product workflows.

Coming soon
Retrieval-Augmented Generation (RAG) in Laravel
AI Engineering

Retrieval-Augmented Generation (RAG) in Laravel

Learn how retrieval-augmented generation works in Laravel and how to ground AI answers with trusted application data.

Coming soon
Embeddings and Vector Search in Laravel
AI Engineering

Embeddings and Vector Search in Laravel

Understand embeddings and vector search for Laravel applications, including indexing, similarity search, and semantic retrieval patterns.

Coming soon
Designing AI Knowledge Bases with Laravel
AI Engineering

Designing AI Knowledge Bases with Laravel

Design AI knowledge bases in Laravel that keep content structured, searchable, maintainable, and ready for retrieval-augmented generation.

Coming soon
Conversation Memory and Context Management
AI Engineering

Conversation Memory and Context Management

Manage conversation memory and context in AI applications without losing control of cost, privacy, relevance, or response quality.

Coming soon
Understanding the Model Context Protocol (MCP)
AI Engineering

Understanding the Model Context Protocol (MCP)

Understand the Model Context Protocol, why MCP matters, and how it standardizes tool and context access for AI applications.

Coming soon
MCP Server Architecture in Laravel
AI Engineering

MCP Server Architecture in Laravel

Explore MCP server architecture in Laravel, including transports, tools, resources, prompts, authentication, and lifecycle design.

Coming soon
Core Components of a Laravel MCP Server
AI Engineering

Core Components of a Laravel MCP Server

Learn the core building blocks of a Laravel MCP server and how tools, resources, schemas, and handlers fit together.

Coming soon
Designing a Production-Ready MCP Server with Laravel
AI Engineering

Designing a Production-Ready MCP Server with Laravel

Design a production-ready MCP server with Laravel using authentication, validation, logging, error handling, and deployment patterns.

Coming soon
Streaming AI Responses in Laravel Applications
AI Engineering

Streaming AI Responses in Laravel Applications

Implement streaming AI responses in Laravel applications to improve perceived speed and create responsive user experiences.

Coming soon
Security Considerations for Laravel AI Applications
AI Engineering

Security Considerations for Laravel AI Applications

Review security considerations for Laravel AI applications, including prompt injection, tool permissions, data exposure, and audit trails.

Coming soon
Observability and Debugging in AI Applications
AI Engineering

Observability and Debugging in AI Applications

Add observability and debugging to AI applications with logs, traces, evaluations, token tracking, and failure analysis.

Coming soon
Caching, Rate Limiting, and Performance in Laravel AI Applications
AI Engineering

Caching, Rate Limiting, and Performance in Laravel AI Applications

Improve Laravel AI application performance with caching, rate limiting, queue design, response reuse, and provider-aware throttling.

Coming soon