Companion repository for the Code with Antonio video course · Watch on YouTube.
Add an AI agent to your Laravel 13 app with the official AI SDK: tools over Eloquent, structured output, conversation memory and tests with fake().
Notes gets an AI assistant that searches, summarizes and remembers
| # | Lesson | Video | Folder |
|---|---|---|---|
| 1 | An assistant that knows your notes | 0:00 | lessons/01-an-assistant-that-knows-your-notes |
| 2 | Install the AI SDK | 3:32 | lessons/02-install-the-ai-sdk |
| 3 | Your first agent class | 6:26 | lessons/03-your-first-agent-class |
| 4 | Give it tools | 8:48 | lessons/04-give-it-tools |
| 5 | Summaries with a shape | 12:19 | lessons/05-summaries-with-a-shape |
| 6 | A chat that remembers | 15:17 | lessons/06-a-chat-that-remembers |
| 7 | Test it without spending tokens | 19:20 | lessons/07-test-it-without-spending-tokens |
- Laravel 13.x (13.32.0) · laravel/ai 1.0.0 (2026-09-23) · OpenAI
gpt-6-sol· PHP 8.4 · Pest 5.2.1 · SQLite - PHP, Composer and the Laravel installer (one command, see lesson 2) or Laravel Herd
- Node.js + npm
cd app
composer install
cp .env.example .env
php artisan key:generate
touch database/database.sqlite
php artisan migrate
npm install && npm run build
composer run devREADME.md this file
lessons/ one folder per lesson: goal, timestamp, commands and files exactly as in the video
app/ the final working project
assets/ thumbnail
MIT — use it for anything, credit appreciated.
Generated on 2026-09-27 from the course scripts. Code with Antonio · AI tutor.