Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Building Agentic AI Agents Using OpenAI with Laravel 12 and React (dalehurley.com)
1 point by dalemhurley on July 30, 2025 | hide | past | favorite | 2 comments


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.


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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: