Skip to main content
Model Routing cover: a dark cover with a vertical ladder of five code chips in resolution order, model colon, model parens, hash bracket Model, hash bracket UseCheapest and default, with all of them struck through in grey except hash bracket Model which glows emerald as the winner, and a muted red X labelled failover beside it
September 18, 2026 Your Laravel Agent Is Not Running the Model You Pinned Model selection in the Laravel AI SDK is five inputs in a fixed order, plus step middleware that can override them on any step, and none of it warns you. #[Model] kills #[UseCheapestModel], a failover list throws away the model id you wrote at the call site, and the SDK's own test assertion never sees a per-step route.
laravelaiagentslaravel-ai-sdkcost
Read article
Context Hygiene cover: a dark cover with five columns of stacked message blocks labelled Turn 1 to Turn 5, the same tall emerald block repeated identically in turns 2, 3 and 4, and collapsed to a thin emerald line in turn 5, illustrating a tool result re-sent on every turn until it is stubbed
September 14, 2026 Your Laravel Agent Re-Sends Every Tool Result It Ever Saw RemembersConversations replays every stored tool result on every turn, up to a 100-row cap the docs never mention. Measured over ten turns on a real agent, with the three levers that cut it and the two that can lose your evidence.
laravelaiagentslaravel-ai-sdkcost
Read article
Agent Cost Math cover: a dark cover with three columns of stacked emerald context blocks labelled Step 1, 2 and 3, each column repeating the blocks of the one before it, and step 3 topped by one tall muted-red block that towers over the rest, illustrating one step being 87% of a Laravel AI agent run
September 12, 2026 Your Laravel AI Agent Costs 5× the Estimate. One Step Is 87% of It. The loop re-sends everything every step, the SDK's total hides which step ate the budget, and caching the history made it worse. Measured on a real Laravel agent.
laravelaiagentslaravel-ai-sdkcost
Read article
Observing RAG in Laravel — a dark observability line chart of answer relevance over time, the emerald line drifting steadily downward and crossing below a dashed emerald relevance threshold where it turns red, illustrating retrieval quality quietly degrading in production
July 1, 2026 Observing RAG in Laravel: Your Retrieval Is Getting Worse and Nothing Throws Your Laravel RAG answers 200 OK while retrieval quietly degrades. Here's how to trace retrieval quality, token cost, and faithfulness on live traffic, built from a decorator, a table, and two of the AI SDK's own events. No vendor SDK.
laravelairagpgvectorlaravel-ai-sdkobservability
Read article
Reranking RAG in Laravel — a vertical stack of four numbered result cards on charcoal, the top three grey and the fourth highlighted in emerald, with an emerald arrow lifting the emerald answer card from rank four up to the top
June 20, 2026 Reranking RAG in Laravel: The Right Document, the Wrong Paragraph Your Laravel RAG finds the right document and answers from the wrong paragraph. Here's a two-stage reranker built from the model you already pay for, measured against a deliberately messy eval, plus the experiment that finds its ceiling.
laravelairagpgvectorlaravel-ai-sdk
Read article