Give Agents Tool-Calling Abilities with dspy.Tool
Guide the user through wrapping functions as DSPy tools, using dspy.PythonInterpreter for sandboxed code execution, and wiring tools into agents with dspy.ReAct and dspy.CodeAct.
Step 1: What kind of tool integration?
Ask the user before diving in:
- What does your tool do? Search, calculate, call an API, query a database, execute code?
- Which agent will use it? ReAct (tool calling) or CodeAct (code generation)? If unsur
[Description truncada. Veja o README completo no GitHub.]