TwoSetAI Workshops #4 w. Nicole Königstein: Self-Improving Agent Loops Without Breaking Your Budget

29 Aug 2026 · 57 min
57:01

In this 30‑minute live workshop hosted by TwoSet AI founder Angelina Yang, guest speaker Nicole Königstein (PhD candidate, author of two O'Reilly books on AI agents) presents a deep dive into self‑improving agent loops for multi‑agent systems. She explains how the advent of powerful foundation models has shifted the focus from building larger single‑task models to designing orchestrated agentic pipelines whose performance depends on topology, coordination, and learning. The talk covers the fundamentals of reinforcement learning (MDPs, rollouts/trajectories, reward design), the importance of relative evaluation using multiple LLM judges, and how to avoid reward hacking. Nicole introduces policy learning for coordination, including multi‑armed bandit‑style online policies that dynamically select tools, verification steps, and model effort based on task difficulty, cost, and reliability. She advocates using low‑level, state‑machine‑oriented frameworks such as LangGraph and her own open‑source project Agents Flow, which integrates reinforcement‑learning‑based policy training without touching model weights. Practical concerns—cost‑reliability trade‑offs, catastrophic forgetting (mitigated via KL regularization), and the need for robust harness design—are discussed. The session ends with audience Q&A covering rollouts, reward function design, catastrophic forgetting, and the future relevance of these approaches as models improve and costs fall.

Questions this video answers

Yes—rollouts refer to the full sequence of tool calls and reasoning steps the agent actually takes during execution.

Use a hybrid reward: combine a numeric budget‑aware term (e.g., token cost) with a quality score from a relative‑judging model accessed via OpenPipe/OpenRouter (the Ruler reward function). For catastrophic forgetting, apply KL‑regularization (Kubelka‑Leibler) between the old and new policy, which most modern RL libraries (GRPO, GSO) implement automatically.

Reinforcement‑learning‑based loops remain relevant because they provide deterministic, task‑specific behavior that foundation models alone cannot guarantee. Proper harness design can yield gains comparable to a new model, and RL tooling has become cheaper and faster, making it practical for high‑stakes domains (e.g., healthcare, finance) where reliability outweighs raw model size.

Chapters

More from Angelina

0:27
youtube.com

Engineers won’t be replaced — they’ll become directors 🎬

3d ago
0:27
youtube.com

CAPTCHA Was Built to Block Bots. Now We Want Them In 🤖

4d ago
1:00:26
youtube.com

How Fast AI Learned Math | Phillip Kerger, Professor @ UC Berkeley, ex-NASA

4d ago
0:31
youtube.com

1 in 100 Trillion — Beating Face ID With Your Palm

1w ago
0:28
youtube.com

Stop Overbuilding Your Data Stack Before You Start

1w ago
1:02:02
youtube.com

The MrBeast Rule That Quietly Decides Who Wins on YouTube | Rox Codes, CEO @ Flightcast

1w ago
0:21
youtube.com

When Your AI Knows but Can't Tell You

1w ago
0:17
youtube.com

Why Facebook Has One of the Biggest Face Databases

1w ago
0:22
youtube.com

AI Is Great at Exploring, Not So Great on Rails

1w ago
52:59
youtube.com

Ask Any C-Suite This One Question About Their AI Agents | Hector Hernandez, COO @ Speakeasy

1w ago
1:05:30
youtube.com

How Enterprises Are Actually Adopting AI: From the Boardroom to Bare Metal

1w ago
See all content