dspy-utils
Installation
SKILL.md
DSPy Utilities: Caching, Debugging, Save/Load, and Validation
Guide the user through DSPy's utility functions -- controlling caching, debugging calls, persisting optimized programs, and enforcing runtime constraints with reward functions.
Looking for streaming, async, or MCP? These have dedicated skills now:
- Streaming tokens to a UI -- see
/dspy-streaming- Async execution and FastAPI -- see
/dspy-async- MCP server integration -- see
/dspy-mcp
Step 1: Which utility do you need?
Ask the user before diving in:
- What are you trying to do? Debug a failing program, save/load an optimized program, control caching, or validate outputs with reward functions?
- Is this for development or production? Development needs (debugging, cache control) differ from production needs (save/load, validation).
Then jump to the relevant section below.