danny22.com

Labs

Agent Lab

Attach an agentic AI agent to one real subsidiary problem. Starting from a request like "build us an agent", first decide whether an agent is needed at all, fix how success, safety and cost will be judged before building, bound what the agent may do with a permission table, then compare it side by side with what people actually did. The goal is not to know many frameworks but to understand what breaks when an agent is wrong, and to prevent it with test sets and permissions.

Status
Updated 2026-11-17 KST · 1 of 3 units written. A one-page plan is written. Its structure and decisions are not yet agreed and may change. The first volume is a recommended candidate, to be decided alongside two candidates for later volumes
Size
A 3-unit common volume V00 plus a 38-unit first volume V01 (37 core, 1 advanced), 41 units in all, each a 60 to 90 minute session. V01 includes one volume map and seven part maps. Each later volume adds 10 to 15 units plus its own map unit
Audience
Practitioners such as platform operators, analysts and engineers. Being able to read Python is enough. You don't need to know LLM internals; what you need is covered briefly right before it is used, and LLM Lab goes deeper
Cases
Subsidiaries of the fictional holding company danny22.com. The first volume candidate is group IT, the one subsidiary that is not fictional: it uses the real operating records of the machine that runs this site. Because this is not public data, how much of it is used and what appears in the course material are decided separately. The subsidiaries, people and figures in the candidates for later volumes are made up and unrelated to real companies
Language
The course material is written in Korean
Access
agent-lab.danny22.com is open to signed-in readers and holds only the plan for now. Get in touch to request access

What you learn

  • Decide first whether you need an agent: ask how far up the ladder of a single call, a fixed workflow and an agent you need to go. Agents suit work whose steps are not known in advance and whose mistakes can still be caught.
  • Fix the judgment first: score success (evidence, key facts and the proposed action) with exact checks, count safety as the rate of attempted and blocked disallowed actions as well as refused legitimate questions, and measure cost in tokens, time and human review time. An LLM-as-a-judge is judged too.
  • Retrieval as a tool: treat RAG as one of the tools an agent uses. Compare chunking, Korean tokenization, BM25, dense embeddings, hybrid search and reranking, and weigh the cost against simply putting the whole document set into the prompt.
  • Build the loop and tools yourself: write the tool-calling loop by hand without a framework, and expose tools as an MCP server that holds the allowlist and the reasons for refusals. Compare multi-step diagnostic planning, using past incidents as memory, and splitting work across several agents (advanced) on the same test set.
  • Permissions and autonomy levels: turn the list of things that need human confirmation into a permission table for tools and commands, and set an autonomy level for each action (shadow, suggest, execute after approval) with the conditions for raising it and a way to switch it off. Test instructions planted in documents (prompt injection) and commands that try to slip past the allowlist.
  • Shadow operation and looking back: let the agent only record its diagnoses and suggestions on real situations, and set them beside what people actually did. Conclude whether to keep it, keep only retrieval or retire it, and count retiring it as a success too.

What a unit contains

  • Theory: concepts and the reasons behind them.
  • Notebook: always run against the same test set, ending in a check cell that judges the result with numbers. Every run leaves a trace of inputs, tool calls, tokens and time.
  • Pipeline code: the same work at operating scale. Each unit is marked core or advanced and fills cells of the canvas that records what was decided while solving the problem.

Course

Agent Lab is a problem lab. It has a common volume, V00, shared by every volume, and one volume for each problem. A volume solves one problem once around Data Culture Lab's common skeleton, from finding the problem to looking back. Units are numbered volume-part-chapter (V01-P02-C04), and 00 at each level is the map: V01-P00 is the volume map, and C00 in each part is that part's map. Every problem solved with an LLM (customer support assistants, internal search, operations support) becomes a volume in this lab. LLM Lab serves, slims down and trains the models, and Data Lab builds the document index pipeline. This lab puts those models and indexes to work inside tools, permissions and judgments.

The first volume candidate, V01, is an operations assistant for group IT. Given an alert or a question, it finds the operating documents, runs read-only checks and offers likely causes with evidence, and only suggests any change. It is recommended because the operating documents record procedures and past mistakes, so correct answers can be defined, and what people actually did is on record for comparison. In this volume the assistant acts on its own only as far as read-only checks; restarts and configuration changes stay with people. The candidates for later volumes are a card customer support assistant for the finance subsidiary and an analytics assistant that writes SQL against the group data platform. The units will be written once LLM Lab's model route and Data Lab's document index and MCP tools are in place; the parts from finding the problem to judgment design can be written before that.

PartWhat you learnUnits
V00-P00 CommonCourse overview, a map that splits agent problems along five axes (the work, autonomy level, tools, evaluation and the split with people), and a workflow with run traces, pinned test sets and a rule against sending internal documents outside3
V01-P00 Group IT operations support mapThe map of this volume: the subsidiary and its decision, the order of the seven parts and their lifecycle stages, what carries over from V00, and what this volume leaves behind1
V01-P01 Finding the problemSeparating the problem from an "operations chatbot" request, a metric tree that breaks down the handling time of one alert, root causes, and comparing from the bottom of the solution ladder5
V01-P02 Baseline and dataA baseline for today's process without an assistant, a pinned document corpus with secrets filtered out, a test set built from incident records, retrieval, reranking versus putting everything in, and check tools7
V01-P03 Judgment designSuccess metrics and exact checks, safety metrics and the permission table, and writing down cost and the thresholds for the next rung before seeing results4
V01-P04 MethodsRetrieval with a single call, the tool-calling loop, exposing tools over MCP, planning, memory, and multiple agents (advanced)7
V01-P05 EvaluationError analysis that sorts wrong answers by cause, safety evaluation, and comparing local and external API models on success, safety and cost4
V01-P06 Verification, approval and operationsIndependent verification and approval, attaching to the alert path, shadow operation, monitoring and records, and autonomy levels and rollback6
V01-P07 Looking backReviewing incidents with blameless postmortems, concluding and ending, and what carries over to the next volume4