Reading up on DSPy
5 deep · digging since feb 10
- Fuck You, Show Me The Prompt. – Hamel's Blog
Using mitmproxy to intercept LLM API calls reveals the actual prompts libraries send, enabling users to assess framework necessity and craft better prompts.
- The Problem is Prompt Debt
Hand-tuning natural language prompts for AI systems accumulates debt that slows iteration, locks teams to one model, and should be replaced with metrics, tests, and automated prompt optimization.
- We Should Take Text Optimization More Seriously
Text optimization—modifying prompts, context, memory, and harnesses—is a legitimate, sample-efficient learning mechanism that deserves the same rigorous study as weight optimization.
- 9 Observations from Building with AI Agents
Building AI agents reveals nine lessons including using best models for prototyping, fine-tuning for stable tasks, static typing to reduce hallucinated code, and closed-loop prompt optimization.
- The Potential of RLMs
Recursive Language Models (RLMs) mitigate context rot in LLMs by wrapping long contexts in a REPL environment, turning the problem into a coding and reasoning task.