MotyWait field notes · AI engineering

Learn the system.
Not only the prompt.

Concise engineering references connected to Mira, the course labs, and one complete path from model output to a production-ready agent.

Mira, MotyWait's AI employee learning character

Eight connected modules

Slides, reference,
then practice.

Each module connects the teaching deck to a compact reference and a concrete lab. The complete 493-slide instructor deck and answer keys remain private while the course is being completed.

01

AI 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 connection

Compare prompt structures and convert an unstructured response into a validated result.

02

Agents & 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 connection

Design a minimal tool set, schemas, permission boundaries, and failure behavior.

Read the related guide ↗
03

Building 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 connection

Build the travel-agent core, then test tool errors, incomplete inputs, and unsupported requests.

04

Memory & 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 connection

Add explicit save/retrieve behavior and verify isolation across sessions and users.

Read the related guide ↗
05

Knowledge & 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 connection

Create a small knowledge base, inspect retrieved chunks, and test unanswerable questions.

Read the related guide ↗
06

Production 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 connection

Measure a baseline, remove unnecessary context, add caching, and compare before/after behavior.

07

Evaluation & 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 connection

Create quality, injection, exfiltration, excessive-agency, and escalation tests.

08

Capstone & 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 connection

Deliver an architecture brief, working flow, evaluation results, threat review, and operating plan.

Start with a question

Three guides.
Built to be used.

01

02 · Agents & tool use

What Is an AI Agent? A Systems View

Understand the controlled loop, tools, state, permissions, and stop conditions that distinguish an AI agent from a chatbot.

Read the guide ↗
02

05 · Knowledge & retrieval

RAG Architecture: From Documents to Grounded Answers

A practical map of ingestion, chunking, embeddings, retrieval, citations, abstention, and evaluation in a production RAG system.

Read the guide ↗
03

04 · Memory & context

AI Agent Memory: What to Store, Retrieve, and Forget

Separate context, session state, durable preferences, and organizational knowledge to build safer, more useful AI-agent memory.

Read the guide ↗

Course 01 · development list

Follow Mira’s
next capability.

Join the AI Engineering list for field notes, sample material, and the release announcement. No enrollment or payment is open yet.