Comparison
DSPy vs PocketFlow
A like-for-like, spec-level comparison. Both entries are verified against their docs and repo.
DSPy
Declarative, programmable prompt programming from Stanford.
PocketFlow
A 100-line minimalist LLM framework, agentic-coding friendly.
| Spec | DSPy | PocketFlow |
|---|---|---|
| Role | Agent framework | Agent framework |
| Tags | agent-framework, library | agent-framework, library, orchestration |
| License | MIT | MIT |
| Open source | Yes | Yes |
| Self-hostable | Yes | Yes |
| MCP support | No | No |
| Pricing | free | free |
| Starting price | BYOK usage cost | BYOK usage cost |
| Models | byok | claude, gpt, gemini, byok |
| Languages | python | python |
| GitHub stars | 35.5k | 10.9k |
| Last activity | 2026-06-25 | 2026-03-27 |