← All courses

Live workshop

Agent Engineering: Build, Evaluate, and Deploy AI Agents

For Python developers and researchers who want to build, evaluate and deploy AI agents. No prior agent-building experience needed.

Build, evaluate, and deploy an AI agent in a Python reference implementation. Work through agent loops, tools, context, multi-agent coordination, evaluation, and deployment, with guided implementation and checks.

How it works  5.5 hours in one day: an opening lecture, then four lectures, each followed by a hands-on lab on an open-source forecasting agent. You need Python 3.11 or later, uv and a coding agent.

Workshop starts Sat, Feb 6, 2027

Syllabus

One live day of five and a half hours: an opening lecture, then four segments, each a lecture followed by a hands-on lab on the open aia-forecaster implementation. You need Python 3.11 or later, uv and a working coding agent. No prior agent-building experience is assumed; comfort reading Python is.

  1. Module 1 Lecture

    What you engineer: prompt, context, harness, loop

    Decision

    How much autonomy to grant an agent before you have verified it, and which of four levers to pull when something goes wrong.

    • Agent = LLM in a loop with tools; the four things you engineer (prompt, context, harness, loop) named up front
    • A forecast as a calibrated, scorable probability (Brier/calibration named once)
    • The read-only action boundary and why most practical deployments sit at autonomy levels L1–L2
    • The AIA Forecaster paper's superforecaster-parity result, attributed to the paper
    • Repo and CLI orientation (aia, the four notebook folders)
  2. Module 2 Lecture + lab

    The single agent, in code

    Decision

    Whether the system prompt is actually responsible for a given failure mode - checked by changing exactly one line and reading the trace, not by rewriting the prompt from memory.

    Builds

    A running local dashboard with stored forecasts and inspectable attempts. Edit a prompt instruction; compare fresh responses with keys or explain the intended change while inspecting replay without keys.

    • Turning a raw market title and rules into a single resolvable yes/no question (question rewording)
    • The system prompt as the agent's personality - six failure modes written into agent_system.j2
    • The ReAct loop (reason → act → observe) and its action schema
    • Why a lean ReAct loop over Chain-of-Thought, Reflexion, or Tree of Thoughts for this task
    • The aia CLI and the dashboard's Detail tab and Config snapshot
  3. Module 3 Lecture + lab

    Context, and the harness around it

    Decision

    Whether an added data source or skill actually changed the agent's reasoning, and whether a leakage risk lives in what the model is told or in what a tool call is allowed to see.

    Builds

    A forecast run with a student-added data source (FRED) and a student-authored skill file, with an audit trail confirming both were loaded and used.

    • Why search is load-bearing (paper: excluding search performs worse than always predicting 0.5, ≈0.36 Brier vs ≈0.10 with search)
    • Agentic control of the query loop vs. a fixed set of pre-specified queries, and why that distinction explains earlier "search doesn't help" findings
    • Typed tool contracts and provenance - source ID, timestamps, policy flags built into every retrieved item
    • Adding a non-web data source (FRED) and a markdown skill file to an agent's context
    • The harness: stop conditions, search budget, storage, state, traces
    • Leakage: why a cutoff_date has to propagate to every tool call, and why date-filtered live search still leaks
  4. Module 4 Lecture + lab

    One agent becomes a pipeline

    Decision

    Which component or setting changes evidence and probabilities, and what resolved, comparable forecasts would be needed to measure improvement.

    Builds

    One chosen live configuration comparison, or a replay-based inspection without keys, plus a correctly scored panel with recovered labels, coverage and historical information limitations.

    • Why independent agents reduce single-run variance (diversity from stochastic search paths, not assigned roles)
    • Simple averaging as a strong baseline (paper's production configuration uses 10 agents; the workshop runs 3 for cost/speed)
    • Extremization and its proven equivalence to Platt scaling on the geometric mean (paper Appendix G.2, fixed at d = √3)
    • The supervisor's confidence-gated reconciliation - it finds evidence rather than re-judging which forecast is best
    • Why adversarial debate was tried and did not beat aggregation
    • Proper scoring: Brier score, log score, expected calibration error, reliability curves
  5. Module 5 Lecture + lab

    Production and autonomy

    Decision

    Whether a forecast pipeline is ready to run on a schedule unattended, and where the read-only boundary should still hold once you extend it yourself.

    Builds

    One completed daily-cycle run (aia run-daily) plus one runner.toml extension - an added market or question - the student authors themselves.

    • The daily runner: pull, select, forecast, track, driven entirely by config, not code
    • Reproducibility: the sanitized config snapshot and per-agent traces stored with every forecast
    • Read-only connectors - Manifold and Polymarket (no auth), Metaculus and Kalshi (keyed) - pull only, never place a trade or bet
    • Traces and replay as model-risk infrastructure
    • A shallow pass on the OWASP Top-10 for LLM applications (prompt injection on retrieved content, least-privilege tool access)
    • The operator pattern (general tools plus a skills library) and where the same forecasting-under-uncertainty pattern generalizes to other domains