
PaLM2 Tutorial: Create your own AI-powered Virtual Assistant
AI hackathon tutorial: build a chat-style virtual assistant with Google's PaLM2 API and a Streamlit app in Python, step by step.
By Starfield Labs
40 min
Tutorials
Learn AI with hands-on tutorials, from your first machine learning model to building AI agents and apps with LLMs and generative AI. Our step-by-step AI tutorials cover Deep Learning, Natural Language Processing (NLP), RAG, robotics, prompt engineering and more, for beginners and experienced developers alike.
Pick a free tutorial, join the next AI Hackathon and start building today.

AI hackathon tutorial: build a chat-style virtual assistant with Google's PaLM2 API and a Streamlit app in Python, step by step.
By Starfield Labs
40 min

AI hackathon tutorial: download YouTube audio with Pytube and transcribe it with OpenAI Whisper in a few lines of Python.
By Starfield Labs
30 min

AI hackathon tutorial: build a Streamlit app that uses Claude to pick commonly misspelled words and ElevenLabs speech to spell them.
By Starfield Labs
35 min

AI hackathon safety: add rate limiting and a daily spending cap to an LLM endpoint. Count requests per user and stop at the cap.
By Starfield Labs
45 min

AI hackathon tutorial: build a Diffusers pipeline for text-guided image-to-image generation with Stable Diffusion v1-4.
By Starfield Labs
30 min

AI hackathon tutorial on Falcon LLMs: use cases, features and running Falcon 7B, 40B and 180B with Hugging Face Transformers.
By Starfield Labs
50 min

AI hackathon guide to Rhymes AI's Aria multimodal API: send text and image queries from Google Colab, use LangChain and cURL.
By Starfield Labs
55 min

AI hackathon testing: write an evaluation script with 20 test cases. Print a pass rate and run it before each change.
By Starfield Labs
45 min

AI hackathon guide to deploying AI agents locally with Meta's Llama Stack: download a model, build a server and call it from Python.
By Starfield Labs
20 min

AI hackathon tutorial: build a LangChain agent that reads a MongoDB Atlas schema and inserts and queries data through chat, with security notes.
By Starfield Labs
85 min

AI hackathon cost tip: cache LLM answers in Python. Hash the request, return hits, add an expiry and count the saving.
By Starfield Labs
40 min

AI hackathon tutorial: build a Python content moderation agent with OpenAI structured output, function calling and a Supabase table.
By Starfield Labs
130 min

AI hackathon tutorial: build a research assistant app with AutoGPT, LangChain, Flask and React that writes reports to files.
By Starfield Labs
50 min

AI hackathon tip: validate LLM JSON output with a schema in Python. Retry once on failure and count failures over 50 runs.
By Starfield Labs
40 min

AI hackathon tutorial: use Chroma, Cohere embeddings and Stable Diffusion in Google Colab to turn a book character into a generated image.
By Starfield Labs
40 min

Test an MCP server with a client before your AI hackathon demo. Start it, list tools, call each one and check how it handles bad input.
By Starfield Labs
30 min

AI hackathon tutorial: add AgentOps session tracking, replays and cost metrics to a multi-agent CrewAI system in Python.
By Starfield Labs
50 min

AI hackathon tutorial: build a podcast generator with ElevenLabs, Langchain and Streamlit, from script to audio to deployment.
By Starfield Labs
40 min

AI hackathon agent guide: answer questions about a GitHub repo. Give it read tools, answer with file paths and limit what it can read.
By Starfield Labs
45 min

AI hackathon guide to Stable Diffusion prompts: raw prompts, styles, artist names and finishing touches for better images.
By Starfield Labs
55 min

AI hackathon tutorial: build a ChatGPT plugin that generates images with Stable Diffusion, using a Flask API, a manifest and an OpenAPI spec.
By Starfield Labs
40 min

Build a streaming chat page in Next.js for your AI hackathon project, with history, a stop button and clear error states.
By Starfield Labs
45 min

AI hackathon tutorial: install OpenAI Whisper, load the base model and transcribe an audio file in a Jupyter notebook.
By Starfield Labs
35 min

AI hackathon tutorial: build a simple Python chatbot with a 100 000 token context Claude model and a per-message cost readout.
By Starfield Labs
35 min