Technical articles, tutorials, and insights
The user sends a message, the Agent replies and calls three tools — but what's actually happening under the hood? This article fully unpacks the dsh Agent Loop: the Turn/Step structure, how the driver works, what each extension point does, and where you can insert control logic.