Build Agents That Write and Execute Code with dspy.CodeAct
Guide the user through building DSPy agents that solve problems by generating and running Python code, rather than calling tools through a fixed interface.
What is CodeAct
dspy.CodeAct is a DSPy module that creates agents which write Python code to accomplish tasks. Instead of selecting from a predefined set of tool calls (like ReAct), CodeAct generates executable code snippets that use provided tools as Python functions.
The
[Description truncada. Veja o README completo no GitHub.]