
This course contains the use of artificial intelligence
AI agents are changing how software is built. An agent does not only talk: it checks systems, calls tools and finishes real tasks. That is also what makes it risky. An agent that can act can delete the wrong data, leak a secret, or be tricked by a single hidden sentence in a document. Companies need engineers who can build agents that are useful AND safe. This course teaches you to be that engineer.
You start by building real AI agents in Python, with the real OpenAI API:
Your first agent: a service health agent with one tool, a bounded loop and a live log you read line by line.
A multi-agent team: an investigator agent with tools hands its facts to a writer agent.
An agentic agent: it writes its own plan, does each step with tools, checks its work, then reports.
Then you learn how every part really works, and how to make it safe:
LLM foundations for engineers: tokens, context windows, temperature, prompts, structured outputs, tool calling and provider adapters.
The agent loop: state, events, task specs, a closed tool registry, step limits, timeouts and loop prevention.
Safe tools: argument validation, retries with backoff, idempotency keys, safe HTTP, database and file tools, and human approval gates.
Agentic reasoning: planning, ReAct, plan-and-execute, reflection, routing, state machines, and when NOT to use an agent.
Memory and RAG: SQLite memory, embeddings, retrieval, and trust boundaries for retrieved documents.
Multi-agent systems: supervisor and worker agents, handoffs, message contracts, durable workflows and MCP.
AI agent security: threat modeling, direct and indirect prompt injection, tool abuse, secret handling, policy enforcement, sandboxing, identity and supply-chain trust.
Testing and reliability: unit and integration tests, golden evaluation sets, regression gates, tracing, circuit breakers and budgets.
Production: a FastAPI service with authentication, checkpoints, background jobs, Docker, monitoring, rate limits and rollback.
In the capstone, you build a Secure DevOps Investigation Agent: it takes an alert, plans an investigation, gathers evidence with read-only tools, correlates it, writes an evidence-based report, and needs a signed human approval before any change.
How the course is taught
Problem first: before any agent code, you see what the agent does and which problem it solves.
Concept first: every idea is shown as an animated workflow diagram, explained in plain words, with every new term defined.
Real code and real output: Section 1 runs live against the real OpenAI API. Sections 1–4 are fully runnable labs whose output matches the lecture slides exactly.
Safe security labs: attacks like prompt injection run against an offline dummy model and simulated tools, never against a real vendor's model, so your account stays safe and the results are the same every time.
Focused lectures, 5–15 minutes each, five quizzes, and four practical assessments.
By the end, you will be able to design, build, test, secure and deploy AI agents you can trust in production, and you will have a capstone project to show.