frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Building Agentic AI Agents Using OpenAI with Laravel 12 and React

https://dalehurley.com/posts/aiagentopart0
1•dalemhurley•6mo ago

Comments

dalemhurley•6mo 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•6mo 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