Courses Intermediate
Building AI products (full-stack)
How to build an AI product from start to finish: the chat UI, the backend, RAG, agents, evaluation and deployment. Over the course we grow one real product week by week, not ten separate exercises.
I will call you after you register so we can check your background and pick a schedule.
Who it is for
You have a computer science degree or similar basics. You know some Python and some JavaScript. You have used ChatGPT or similar, but you have not yet built a product on top of a language model. You do not need machine-learning knowledge. This course is about building products on existing models, not training them.
How the classes run
- Live sessions, with one repo that grows every week
- Each week has a short lesson, a part we build together, and an exercise you write yourself. The exercise has tests. When they pass, we review your code together.
- Each concept is first written by hand, so you see how it works. Then we use the tool that companies name in their job ads.
- The tests run offline and cost nothing in API fees
- Persian or English, depending on the group
Roadmap
- Language models from a product builder’s view — calling an LLM through an API. Tokens, the context window, temperature, and where cost and response time come from.
- The chat UI — a chat screen that shows the answer word by word, renders markdown and accepts files. When something fails, the user is not left guessing.
- A backend with FastAPI and PostgreSQL — users, login with JWT, and saving conversations and messages. The data model in SQLAlchemy, database changes with Alembic.
- Project week — the chat UI and the backend are joined. A user logs in, chats, and the history is saved.
- LLM application engineering — system prompts, structured output and tool calling. What to do when the model fails: retry, switch to a second model, and keep tokens and cost under control.
- Embeddings and vector search — how text becomes a vector of numbers, and how texts with similar meaning are found. PostgreSQL with pgvector, indexes, and filters on document fields.
- RAG for real use — loading documents, splitting them into chunks, building the context, and answers that show their source. Hybrid search, reranking the results, and measuring retrieval quality.
- Project week — the assistant answers customer questions from the shop’s documents and shows the source of each answer.
- Agents and tools — we write the agent loop by hand first, then build the same agent with LangGraph. Memory, multi-step workflows, human approval before any sensitive action, and MCP.
- Background work with Redis — caching, limiting the number of requests, queues and workers for long tasks, showing a job’s status, and retries.
- Evaluation, observability and safety — a fixed set of test questions, an LLM as a judge, retrieval scores, catching made-up answers, prompt versions, tracing with Langfuse, cost and latency, user feedback, and guardrails.
- Docker and deployment — Docker Compose, keeping keys and settings safe, CI, logs and monitoring, and keeping cost under control once the product has real users.
- Project week — finishing and polishing the final product.
- Project week — documentation, a full run from the README, and a five-minute demo.
Project
Over the course we build a “smart support assistant” for an online shop. It answers customer questions from the shop’s documents and shows where each answer comes from. It looks up an order’s status and creates support tickets. When it is not sure, or when it wants to do something that changes data, it hands the conversation to a real person. The quality of its answers is measured, and at the end it runs on a server with Docker.
After you register
Leave your email and phone. I will call you to talk through your background and whether this group is the right level for you.
Want a seat?
Leave your email and phone. I will call you to talk through the class. No account, no payment on this page.