Skip to main content
Evaluating RAG in Laravel — a query arrow pulling the wrong document, a red warranty card, out of a stack while the correct emerald shipping card stays put
May 31, 2026 Evaluating RAG in Laravel: Is Your Agent Retrieving the Right Chunks? Your Laravel RAG demo answers fine. That doesn't prove retrieval is right. Here's how to eval a RAG system built on the AI SDK and pgvector, and catch the regression that ships to production without a single error.
laravelairagpgvectorlaravel-ai-sdk
Read article
An agent orchestration diagram: a Support Agent delegating to Refunds, Orders, and Account specialist sub-agents
May 30, 2026 Multi-Agent Orchestration in Laravel: When You Actually Need It The Laravel AI SDK lets one agent delegate to another. Most teams reach for it too early. Here's when sub-agents earn their place, the three gotchas that bite you, and how to test the hand-off.
laravelaiagentsmulti-agentlaravel-ai-sdk
Read article
An emerald shield deflecting a malicious prompt away from a database and a tool, illustrating prompt-injection guardrails in a Laravel AI app
May 30, 2026 Prompt-Injection Guardrails in Laravel: Defend the Tools, Not the Prompt You can't out-prompt an attacker — to the model, your instructions and a malicious ticket are the same text. Here's where guardrails actually live in a Laravel AI app: the tools, the middleware, and the output.
laravelaisecurityprompt-injectionlaravel-ai-sdk
Read article
Evals in Laravel — a Laravel AI SDK eval suite in a terminal showing green PASS rows, one red FAIL, and an 88% pass-rate bar
May 29, 2026 Evals in Laravel: How to Prove Your AI Output Is Actually Good Your Laravel AI tests prove the code runs. They don't prove the output is good. Here's how to eval a real feature with the AI SDK: a golden dataset, an LLM judge you build yourself, and a regression gate that catches a bad prompt before your customers do.
laravelaievalstestinglaravel-ai-sdk
Read article
A dark-mode Livewire chat UI with an AI reply streaming in token by token, built on the Laravel AI SDK
February 18, 2026 Laravel AI SDK + Livewire: Build a Streaming Chat Interface Every Livewire AI chat tutorial uses the raw OpenAI client. This one uses the official Laravel AI SDK — streaming, conversation memory, and production fixes.
laravellivewireaistreaminglaravel-ai-sdk
Read article