Skip to main content
bash TV

Agent Shapes: From Long-Horizon to Open-Ended — Yacine Mahdid, @deeplearningexplained

AI Engineer

9.9K views5 Dec 2026

YouTube

Long tasks expose failures that a short agent demo can hide. Yacine Mahdid maps eight agent patterns across context management, memory, code tools, sandboxes and orchestration, then connects the research to industrial quoting, manufacturing data and video editing. He examines where agents lose track, how verification and feedback shape the harness, and why collecting useful production traces matters before pursuing more open ended systems. Speaker info: - https://x.com/yacinelearning - https://www.linkedin.com/in/yacinemahdid/ - https://datadom.co/ Timestamps: 0:00 - Introduction and the agent loop 4:10 - Compaction: managing a growing context 6:12 - External context and recursive language models 9:14 - Code as the interface to tools 10:33 - Continual harnesses and reusable learning 13:39 - Sandbox boundaries and reward hacking 16:05 - Orchestrators and specialized workers 18:20 - Agent communication and monitoring 22:04 - Autoresearch and the limits of repeated search 26:00 - Failure modes: benchmarks, persistence and verification 31:01 - Manufacturing data and expert feedback 33:47 - Industrial quoting and domain expertise 37:51 - Agent assisted video editing 41:46 - Harnesses, explicit rules and expert review 46:04 - The outer loop and context memory hierarchy 48:58 - Using specialized models as tools 50:39 - Learned context editing 52:35 - Continual training and model collapse risks 56:10 - Practical steps: traces, outcomes and feedback

Join the discussion

Have something to add?

Sign in to reply, follow this thread, and earn XP when your answer helps someone.