01AI fundamentals & prompting
Understand probabilistic output, tokens, context limits, and the five-part prompt structure used throughout the course.
Mira can communicate with a defined role, task, constraints, and output shape.- Role, context, task, constraints, output
- Context is finite and should be relevant
- Validate structured output before using it
Lab connectionCompare prompt structures and convert an unstructured response into a validated result.
02Agents & tool use
Move from a single model response to a controlled loop that can select tools, act, observe results, and stop safely.
Mira can choose a permitted tool and use its result without seeing its credentials.- User → planner → tool → observation → response
- Tool descriptions determine when tools are selected
- Give every loop a stop condition
Lab connectionDesign a minimal tool set, schemas, permission boundaries, and failure behavior.
Read the related guide ↗03Building an agent
Compose routing, chaining, decomposition, and evaluator patterns into a small agent that is easy to inspect.
Mira can break a goal into bounded steps and explain what happened.- Route by intent before execution
- Prefer focused calls over one overloaded prompt
- Cap evaluator and retry loops
Lab connectionBuild the travel-agent core, then test tool errors, incomplete inputs, and unsupported requests.
04Memory & context
Separate working context, session state, durable preferences, and source-of-truth data instead of calling everything memory.
Mira can remember an approved preference without leaking it into another user’s session.- Store only what has a future use
- Scope memory by user and purpose
- Support correction, expiry, and deletion
Lab connectionAdd explicit save/retrieve behavior and verify isolation across sessions and users.
Read the related guide ↗05Knowledge & retrieval (RAG)
Build ingestion, chunking, embeddings, retrieval, grounding, and citations as one measurable system.
Mira can answer from approved documents, cite evidence, and abstain when evidence is weak.- Chunk for the question, not a fixed number
- Store source metadata with every chunk
- Evaluate retrieval separately from generation
Lab connectionCreate a small knowledge base, inspect retrieved chunks, and test unanswerable questions.
Read the related guide ↗06Production engineering
Treat cost, latency, reliability, observability, and deployment as architecture—not cleanup after the demo.
Mira can operate within a latency target, cost budget, and defined fallback path.- Log cost and latency per request
- Retry only transient failures
- Cache, batch, stream, and route deliberately
Lab connectionMeasure a baseline, remove unnecessary context, add caching, and compare before/after behavior.
07Evaluation & security
Test task quality and system safety with datasets, thresholds, permissions, adversarial cases, and human escalation.
Mira can refuse unsafe actions, protect secrets, and surface uncertain decisions to a person.- Evaluate the complete task, not style alone
- Untrusted content never becomes authority
- Permission scope must match consequence
Lab connectionCreate quality, injection, exfiltration, excessive-agency, and escalation tests.
08Capstone & review
Combine goals, tools, memory, knowledge, guardrails, evaluation, and operations into one defensible system.
Mira can complete a bounded workflow and show the evidence needed to review it.- Define success and non-goals first
- Prefer the smallest architecture that meets the need
- Demo failure handling, not only the happy path
Lab connectionDeliver an architecture brief, working flow, evaluation results, threat review, and operating plan.