Reading up on DSPy
6 deep · digging since feb 10
- The State of Context Engineering
Context engineering remains crucial as long context models introduce new failure modes like poisoning and distraction, requiring deterministic techniques such as pruning, summarization, and tool loadout.
- 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.