How Should Agents Read Demonstrations? Hierarchical Structure Beats Flat Action Logs
arXiv:2606.20978v1 Announce Type: new Abstract: Programming by Demonstration (PbD) offers a human-centered way to author procedural knowledge for LLM agents: users communicate what they want by showing rather than by writing prompts or code, making agent authoring accessible to non-programmers. The natural output of a PbD recording is a flat action log, but how this log is organized before being passed to the agent is an open design question with significant consequences for plan quality. We pro