Skip to content

jspruance/ai-agent-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

14 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ OpenAI Agent Tutorial – Starter Repo

This is the starter code for my YouTube tutorial:
πŸ‘‰ β€œYour First AI Agent (Next.js + OpenAI Tool Calling)”

We’ll start from a fresh Next.js 15 project with:

  • βœ… TypeScript
  • βœ… Tailwind CSS
  • βœ… App Router
  • βœ… @/* import alias

In the tutorial, we’ll add the code that turns this into a working AI Agent.


πŸ“¦ Setup

Clone this repo:

git clone https://github.com/jspruance/ai-agent-tutorial.git
cd openai-agent-tutorial-starter

Install dependencies:

npm install

Add your OpenAI API key (not yet used, but needed later):

# .env.local
OPENAI_API_KEY=your_api_key_here

▢️ Run the Dev Server

npm run dev

Then open http://localhost:3000 in your browser.

You should see a blank Next.js app with Tailwind installed.


πŸ—‚οΈ Project Structure

src/
 └── app/
      β”œβ”€β”€ page.tsx       # Simple placeholder page
      └── api/           # Agent code will go here in the tutorial

πŸ“š References


πŸ‘‰ This repo is just the starting point.
Follow the tutorial to build out your first AI Agent step by step!

About

Starter code and completed example for the AI Agent tutorial.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published