dspy-agent-framework-integration
Installation
SKILL.md
DSPy + Microsoft Agent Framework Integration
A comprehensive guide to the integration patterns between DSPy and Microsoft Agent Framework in AgenticFleet. This skill documents how to leverage DSPy's structured reasoning capabilities with the Agent Framework's orchestration primitives.
Overview
AgenticFleet combines DSPy for intelligent prompt optimization and structured outputs with Microsoft Agent Framework for reliable multi-agent orchestration. This integration enables:
- Typed Signatures: Pydantic-validated DSPy outputs for type-safe orchestration
- DSPy-Enhanced Agents: ChatAgent wrappers with Chain of Thought, ReAct, and Program of Thought reasoning
- Routing Cache: TTL-based caching of routing decisions to reduce latency
- GEPA Optimization: Offline genetic prompt algorithm optimization
- Checkpoint Storage: Workflow resumption via agent-framework storage
- Agent Handoffs: Direct agent-to-agent transfers with context preservation