Advanced Topics
This section builds on the backend and mobile app you've already built. You'll take your chat bot from a simple Q&A system to a truly intelligent assistant.
What's Inside
Agentic AI (advanced/agentic/)
Give your AI the ability to use tools — a calculator, Wikipedia search, and more. The AI decides when to use each tool, calls it, and uses the result to answer your questions.
- Step 1: What are agents?
- Step 2: Tools and function calling
- Step 3: Building a research agent
- Step 4: Chain-of-thought reasoning
- Step 5: Enhance your chat app with agentic tools
- Challenges and solutions
RAG — Retrieval-Augmented Generation (advanced/rag/)
Give your AI access to a knowledge base of real documents. Instead of relying only on training data, your AI searches for relevant information and answers based on what it finds.
- Step 1: What is RAG?
- Step 2: Embeddings and vectors
- Step 3: Set up pgvector
- Step 4: Ingest knowledge
- Step 5: Enhance your chat app with RAG
- Challenges and solutions
Prerequisites
Before starting these sections, you should have completed:
- All 6 backend steps
- All 5 mobile app steps
- The concepts on LLMs (concepts/05-llm-comparison.md)
Development Principles
Throughout these sections, you'll practice professional development workflows:
- Write tests alongside your code
- Lint with ruff before committing
- Design first, implement second
- Mock external services in tests