AI Engineering Full Course - Build and Deploy a Real AI App
Summary
This course walks through a complete end-to-end build of an AI customer support agent that reads a real Gmail inbox, drafts replies using an LLM agent, and surfaces everything in an admin UI. Rather than stopping at a prototype, it covers the unglamorous production pieces — polling, persistence, knowledge retrieval, evals, and Docker deployment to a hosted server — so the result is a portfolio-grade system rather than a notebook demo.
Key takeaways
- Wire the agent to a real inbox through the Gmail API and a polling loop rather than a toy chat interface; ingesting live messages forces realistic handling of auth, retries, and message state.
- Separate the system into clear layers: a FastAPI backend, a Pydantic AI agent layer calling Claude, and Supabase for persistence, so the LLM logic stays isolated from transport and storage concerns.
- Ground replies in an external knowledge base so the agent answers from curated support content instead of parametric memory, which makes outputs auditable and updatable without retraining.
- Build an eval suite before deployment to measure reply quality against expected outcomes; treat evals as the regression gate for prompt and pipeline changes.
- Ship with Docker onto a plain VPS and add an admin dashboard for human oversight — deployment, observability, and a review surface are what turn a script into an operable product.