Este es el repositorio usado en el workshop "Agentes IA en Claude Code 2.0".
Si quieres aprender a usar todos los poderes de Claude Code incluidos en este repositorio, y todo lo que podrías hacer como AI Engineer, tienes la grabación del workshop y la información de nuestro master AI4Devs en https://lidr.co/workshop-agentes-ia-gracias
This is a Next.js application that demonstrates AI chat functionality with streaming responses using OpenAI's GPT-4o model and the Vercel AI SDK.
- 🚀 Pure Next.js implementation (no Python backend required)
- 💬 Real-time streaming chat responses
- 🛠️ Tool calling support (weather data example)
- 🎨 Modern UI with shadcn/ui components
- 🌓 Dark/Light theme support
- Framework: Next.js 13 with App Router
- AI Integration: OpenAI SDK + Vercel AI SDK
- Styling: Tailwind CSS + shadcn/ui
- Language: TypeScript
- Node.js 18+ installed
- OpenAI API key
- Clone the repository:
git clone <your-repo-url>
cd cabify-demo- Install dependencies:
yarn install
# or
npm install- Set up environment variables:
cp .env.example .envThen edit .env and add your OpenAI API key:
OPENAI_API_KEY=your-openai-api-key-here
- Run the development server:
yarn dev
# or
npm run dev- Open http://localhost:3000 in your browser
app/
api/
chat/ # API route for chat completions
utils/ # TypeScript utilities and types
(chat)/ # Chat interface pages
components/ # React components
ui/ # shadcn/ui components
yarn dev- Start development serveryarn build- Build for productionyarn start- Start production serveryarn lint- Run ESLintyarn test- Run tests with Vitest
OPENAI_API_KEY=REPOSITORY_TYPE="mongodb"MONGODB_URL=DATABASE_NAME=