Welcome to AI Builders Tutorial! This is a comprehensive, hands-on tutorial series for vibe coding as well as building AI applications using modern tools.
ai_builders_tutorial/
âââ services/ # Main application services
â âââ frontend/ # Astro + Preact web application
â âââ backend/ # Python FastAPI REST API
âââ docs/ # Comprehensive documentation
âââ start-auth-servers.sh # Quick start script
âââ README.md # This file
All application code is organized under the /services directory:
services/frontend/- Full-stack web application with tutorials, UI components, and static assetsservices/backend/- Authentication API with Circle integration and Google OAuth
See services/README.md for detailed service documentation.
Get up and running in 3 commands:
# 1. Setup project (creates .env, installs dependencies)
make setup
# 2. Edit services/backend/.env with your Circle API credentials
# 3. Start both services
make devThat's it! Visit:
- Frontend: http://localhost:4321
- Backend API: http://localhost:8000/docs
- Login: http://localhost:4321/login
make help # Show all available commands
make dev # Start both frontend and backend
make dev-backend # Start backend only
make dev-frontend # Start frontend only
make install # Install all dependencies
make test-backend # Run backend tests
make clean # Clean build artifacts
make info # Show project informationEach tutorial is designed to be practical and immediately applicable:
⢠Concise and To-the-point: We cover the most important concepts of each tool for you to get started quickly ⢠Hands-on Examples: Every concept includes working code you can run and modify ⢠Best Practices: Learn industry-standard approaches and common pitfalls to avoid ⢠Progressive Complexity: Start with basics and advance to sophisticated implementations
Tutorials are written with concise explanations and runnable code / notebooks. Many include copyâfriendly prompts and refactor patterns so you can adapt them directly into real projects.
Below is a quick mental map of the content areas. Open a category in the sidebar to explore individual tools, frameworks, and notebooks.
Leverage AIânative editors (Cursor, Windsurf, etc.) plus oneâclick deploy flows to supercharge iteration beyond simple âchatâ usageâown your code, not just generated files.
Connect AI + workflow engines (n8n, Zapierâstyle orchestration, background jobs) to trigger agents or model calls from events and pipelines.
Call, configure, and optimize a wide range of proprietary & open model APIs (latency, quality, fallbacks, cost shaping).
Unify multiple providers behind one interface with routing, retries, caching, usage tracking, and graceful degradation.
Endâtoâend application scaffolds: retrieval augmentation, toolâcalling agents, multiâstep orchestration, structured outputs, evaluation harnesses.
Rapidly build productionâready conversational & multimodal interfaces with state management, streaming, and tool feedback loops.
Instrument, trace, evaluate, and debug LLM/agent behavior in staging & prod; collect spans, prompts, scores, and regression signals.
Adapt base models to domain style or task specifics; cover dataset prep, parameterâefficient methods, evaluation & iteration.
Embed, store, and retrieve context using vector databases, hybrid search, chunking strategies, and longâhorizon memory patterns.
Integrate live search, crawling, proxy rotation, and SERP/structured extraction to ground responses in current information.
Empower agents to navigate, extract, and act within live web contexts (headless & interactive) for research, QA, and scripted tasks.
Lowâlatency speech recognition, streaming synthesis, and realtime bidirectional agent experiences.
Generate & manipulate visual media (diffusion, video pipelines, asset optimization, multimodal grounding).
Ready to dive deeper into the world of AI development? Visit AI Builders for more resources, advanced tutorials, and the latest insights in AI development.
Connect with fellow AI builders from around the world! Join our vibrant community at AI Builders Community where you can:
- Share your projects and get feedback
- Ask questions and get help from experienced developers
- Collaborate on exciting AI projects
- Stay updated with the latest AI trends and technologies
- Network with AI enthusiasts and professionals globally
Whether you're just starting out or you're an experienced developer, our community welcomes everyone who's passionate about building with AI. Come join us and be part of the future of AI development!
This platform now includes a complete Circle Headless API authentication system for secure user authentication!
- â Email/password login (verifies Circle community membership)
- â Google OAuth integration
- â JWT-based session management
- â Secure token handling
- â Protected routes and API endpoints
cd services/backend
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -r requirements.txt
cp .env.example .env
# Edit .env with your Circle API credentials- Go to Circle admin â Settings â Developers â Tokens
- Create "Headless Auth" token
- Add to
services/backend/.env
# Option 1: Use Makefile (recommended)
make dev
# Option 2: Use startup script
./start-auth-servers.sh
# Option 3: Manual start
# Terminal 1 - Backend
make dev-backend
# OR: cd services/backend && python main.py
# Terminal 2 - Frontend
make dev-frontend
# OR: cd services/frontend && npm run devVisit: http://localhost:4321/login
- Quick Reference:
docs/QUICK_REFERENCE.md- Fast setup guide - Full Setup Guide:
docs/CIRCLE_AUTH_SETUP.md- Complete documentation - Implementation Details:
docs/IMPLEMENTATION_SUMMARY.md- Technical overview - Backend API:
services/backend/README.md- API endpoints & usage
POST /auth/login- Email/password authenticationPOST /auth/google- Google OAuth loginGET /auth/me- Get current userPOST /auth/refresh- Refresh access tokenGET /health- Health check
# Test backend setup
cd services/backend
python test_setup.py
# Test API health
curl http://localhost:8000/healthFor detailed setup instructions, see docs/CIRCLE_AUTH_SETUP.md.
