<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
    <channel>
      <title>LLM AGENT ENGINEERING</title>
      <link>https://lectures.pojenwang.dev/agent-engineering</link>
      <description>Last 10 notes on LLM AGENT ENGINEERING</description>
      <generator>Quartz</generator>
      <item>
    <title>Notebooks</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/notebooks/</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/notebooks/</guid>
    <description><![CDATA[ Every executed notebook in the course, in module order, with downloads. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:27:16 GMT</pubDate>
  </item><item>
    <title>Notebook 13: A mini coding agent</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/notebooks/13-mini-coding-agent</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/notebooks/13-mini-coding-agent</guid>
    <description><![CDATA[ Build a bash-only coding agent that fixes a small repository until its tests pass, and engineer the harness around it: the tool's output format, truncation, a step budget, a progress file that survives a context reset, and a sandbox. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:27:15 GMT</pubDate>
  </item><item>
    <title>Notebook 5a: Retrieval from scratch</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/notebooks/05a-retrieval</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/notebooks/05a-retrieval</guid>
    <description><![CDATA[ Chunking a small handbook three ways, BM25 written from the formula, hashed vectors in a numpy vector store, hybrid search with reciprocal rank fusion, and recall@k on 24 labelled questions. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:27:00 GMT</pubDate>
  </item><item>
    <title>Module 6: Memory and context engineering</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/modules/06-memory-and-context</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/modules/06-memory-and-context</guid>
    <description><![CDATA[ What an agent stores against what it sends: why the cost of a run grows with the square of its length, sliding windows that keep tool calls whole, compaction, summarisation and when to trigger them, sessions that survive a restart, and long-term memory with extraction, de-duplication and injection. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:26:39 GMT</pubDate>
  </item><item>
    <title>Module 1: What is an agent?</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/modules/01-what-is-an-agent</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/modules/01-what-is-an-agent</guid>
    <description><![CDATA[ From a single model call to a loop: workflows versus agents, the think-act-observe cycle, context engineering, and why every loop needs a budget. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:25:26 GMT</pubDate>
  </item><item>
    <title>Module 12: Safety and guardrails</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/modules/12-safety-and-guardrails</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/modules/12-safety-and-guardrails</guid>
    <description><![CDATA[ Why an agent that reads untrusted content and can act is open to prompt injection, why a better prompt does not fix it, and the defences that do not depend on the model: a permission policy, an egress allowlist, the quarantine pattern with taint tracking, and the limits of detectors. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:25:26 GMT</pubDate>
  </item><item>
    <title>Module 11: Optimizing agents</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/modules/11-optimizing-agents</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/modules/11-optimizing-agents</guid>
    <description><![CDATA[ Turning an agent's own traces into improvement: the data flywheel, prompt optimisation with bootstrapped demos and reflective instruction search, policy-gradient training with GRPO and a KL penalty, and how a policy exploits a learned reward model. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:25:26 GMT</pubDate>
  </item><item>
    <title>Module 13: Capstone, a coding agent</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/modules/13-capstone-coding-agent</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/modules/13-capstone-coding-agent</guid>
    <description><![CDATA[ A bash-only coding agent that fixes a small repository until its tests pass, and the harness engineering that decides whether it works: the tool's output format, truncation, a step budget, a progress file that survives a context reset, a sandbox, and tests as the verifier. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:25:26 GMT</pubDate>
  </item><item>
    <title>Module 10: Evaluating agents</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/modules/10-evaluating-agents</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/modules/10-evaluating-agents</guid>
    <description><![CDATA[ Seeing what an agent did with traces, spans and metrics, then measuring how well it does it: task suites with code graders, pass@k and pass^k over repeated trials, error analysis, a rubric judge checked against human labels, and an eval gate in CI. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:25:26 GMT</pubDate>
  </item><item>
    <title>Notebook 12: Prompt injection and guardrails</title>
    <link>https://lectures.pojenwang.dev/agent-engineering/notebooks/12-prompt-injection-guardrails</link>
    <guid>https://lectures.pojenwang.dev/agent-engineering/notebooks/12-prompt-injection-guardrails</guid>
    <description><![CDATA[ Watch a browsing agent leak a secret because a web page told it to, then stop it with layers that do not depend on the model: a permission policy, an egress allowlist, the quarantine pattern and taint tracking, and see why a heuristic detector is not enough. ]]></description>
    <pubDate>Tue, 03 Nov 2026 16:23:16 GMT</pubDate>
  </item>
    </channel>
  </rss>