Building Agentic AI Agents Using OpenAI with Laravel 12 and React

1 dalemhurley 2 7/30/2025, 1:36:07 PM dalehurley.com ↗

Comments (2)

dalemhurley · 18h ago
Five-part guide to building an autonomous AI agent with Laravel, React, and OpenAI. - Part 1: set up Laravel and make a basic OpenAI “hello world” call. - Parts 2-4: add streaming responses, custom tool hooks, and persistent state. - Part 5: use OpenAI to generate a multi-step plan and iterate through the steps—prompting users, gathering input, generating content, and calling registered tools—until the task is finished.
dalemhurley · 18h ago
Hi All

Hope you really enjoy this tutorial I put together.

It brings together the latest the Laravel community has been working on in terms of streaming, SSE and OpenAI. It is unlikely your Coding AIs will have the latest knowledge.

In all honesty, you can build a super powerful AI bot in less then 20 minutes.

If you use Claude Code or Cursor etc, you could build a lot of tools quite quickly.

Dale