Replacing Agent Prompt Templates with Trainable Control Modules in DSPy(viksit.substack.com) |
Replacing Agent Prompt Templates with Trainable Control Modules in DSPy(viksit.substack.com) |
Each branch in the workflow learns how to behave, not just where to route. I show how to set up a reward, plug in an optimizer, and treat agent behavior as something you can tune like a model.