📚 Proyecto educativo para talleres de IA y Agentes
🎓 Aprende a construir este proyecto en: www.fixtergeek.com/llamaindex
AI-powered landing page builder con multi-modelo (GPT-4o, Claude) y deployment a Netlify.
- 💬 Streaming Chat: SSE real-time con feedback de herramientas
- 🤖 Multi-modelo: GPT-5 Nano, GPT-5 Mini, Haiku 3, Sonnet 4.5
- 🧠 Memoria conversacional: Edita iterativamente ("cámbialo a rojo")
- 👁️ Live Preview: Vista instantánea en iframe
- 🚀 Netlify Deploy: Deploy programático (en desarrollo)
- 🎨 Tool Cards: Status visual de cada herramienta ejecutada
- Multi-SDK: Anthropic SDK + OpenAI SDK directo (sin LlamaIndex)
- 3 Tools: create_html, edit_code, deploy_to_netlify
- SSE Streaming: Server-Sent Events para feedback en tiempo real
- File System: Proyectos en
/projects/{projectId}/index.html
- Single HTML: Todo en
public/index.html(sin build step) - Chat + Preview: 2 paneles lado a lado
- Tool Cards: Indicadores visuales de ejecución de herramientas
pnpm installCreate .env file:
OPENAI_API_KEY=sk-...
ANTHROPIC_API_KEY=sk-ant-...
NETLIFY_AUTH_TOKEN=nfp_... # Optional, for deployment
PORT=3000# Start server (single command)
pnpm devOpen http://localhost:3000 (todo en un puerto)
-
Describe your landing page in the chat
- Example: "Create a modern SaaS landing page with a hero section, features, and pricing"
-
AI generates code using the
create_htmltool- Watch the code appear in the editor
- See live preview on the right
-
Request changes naturally
- "Make the background gradient purple"
- "Add a contact form"
-
Deploy to Netlify when ready
- "Deploy this to Netlify"
- Get instant public URL
Creates new landing page with HTML/CSS/JS in a single file.
Modifies existing code (HTML, CSS, or JS sections).
Retrieves current code from a project.
Deploys project to Netlify and returns public URL.
landing_maker/
├── server/
│ ├── agents/
│ │ ├── landingWorkflow.ts # Main agent workflow
│ │ └── tools/
│ │ ├── fileSystem.ts # File operations
│ │ └── netlifyDeploy.ts # Deployment
│ ├── api/
│ │ ├── chat.ts # SSE streaming endpoint
│ │ └── preview.ts # Preview & code retrieval
│ └── index.ts # Express server
├── src/
│ ├── components/
│ │ ├── Chat.tsx # Chat interface
│ │ ├── Editor.tsx # CodeMirror editor
│ │ └── Preview.tsx # iframe preview
│ ├── hooks/
│ │ └── useAgentStream.ts # SSE hook
│ └── App.tsx # Main layout
├── projects/ # Generated landing pages
└── CLAUDE.md # Project documentation
- Backend: Express, Anthropic SDK, OpenAI SDK
- Frontend: Vanilla JS, Tailwind CDN (sin build)
- AI: Multi-modelo (GPT-4o, GPT-4o-mini, Claude Haiku, Claude Sonnet)
- Deploy: Netlify CLI (programático)
- Modern patterns: Agent Workflows (2025 LlamaIndex best practices)
- Lightweight: Preact (3KB) instead of React
- Simple scope: Landing pages only (not full-stack apps)
- Real deployment: Instant Netlify URLs (not just previews)
"Create a minimalist portfolio landing page with dark mode"
"Build a SaaS landing page with hero, features, pricing, and CTA"
"Make a product launch page with countdown timer"
"Create a newsletter signup page with gradient background"
"Add a testimonials section with 3 cards"
"Deploy this to Netlify"
- Request timeout (60s)
- Max chunks limit (2000)
- Content validation
- Proper error handling
🎓 Taller de IA Agents con LlamaIndex
Aprende a construir este proyecto desde cero en nuestro taller interactivo.
Este proyecto enseña:
- Multi-modelo AI: Cómo usar diferentes LLMs con la misma interfaz
- Tool Calling: Patrones de function calling con SDKs oficiales
- SSE Streaming: Server-Sent Events para feedback en tiempo real
- Conversational Memory: Mantener contexto entre requests
- Error Handling: Gestión de errores en aplicaciones AI
MIT
🎓 Proyecto educativo por FixterGeek Built with ❤️ para talleres de IA y Desarrollo