AI Agents

Agentic AI systems move beyond single prompt-response cycles into multi-step workflows where models plan, call tools, and act autonomously. These articles cover how to build and harden that class of system in Laravel — with full control over what the model can and cannot do.

Expect practical implementations, not conceptual overviews. Every article assumes you’re building something real.

Schema validation, retry logic, and observability are treated as requirements here, not optional extras.

Laravel AI Agent Memory: Persisting Context Across Conversations and Sessions

Most Laravel AI tutorials treat every request as stateless. That works for single-turn completions. It fails for agentic systems where the agent needs to recall what it did three tool calls ago, what the user said last Tuesday, and what decisions were made in a previous session. This guide builds a three-layer Laravel AI agent memory system using Eloquent for conversation history, Redis for working session state, and pgvector for semantic long-term recall.

Laravel AI Agent Memory: Persisting Context Across Conversations and Sessions Read More »

Building a Laravel AI Agent (I): Human-in-the-Loop Approval

Autonomous AI agents that can process refunds, delete records, or send external emails are making irreversible decisions on your behalf. This guide implements the confirmation gate pattern in Laravel using Prism PHP: intercept tool calls before execution, serialise the proposed action to a pending approval record, and resume the agent loop only after a human confirms. The result is an agent architecture safe enough to run against live business data.

Building a Laravel AI Agent (I): Human-in-the-Loop Approval Read More »

Building Agentic Laravel Apps with Prism PHP

Laravel 13 ships a first-party AI SDK for text generation and basic completions. Prism PHP is the layer you reach for when your requirements move past that baseline: multi-provider tool calling, agentic loop control, and RAG pipelines. This guide covers installation, building Stripe and Twilio tools, pgvector-backed semantic search, and SSE streaming — all with production-grade error handling.

Building Agentic Laravel Apps with Prism PHP Read More »

Scroll to Top