Programmer.ie
Technical library for the AI era
Menu
Home
Books
Examples
Solutions
Learn
Prompts
Articles
Search
About
DSPy
Why Are We Still Hand-Writing Prompts?
A Prompt Is Not Yet a Program
Define the Contract
Separate What From How
Build Programs From Programs
Your Model Is a Dependency
Examples Are Experimental Data
You Cannot Optimize What You Cannot Measure
When the Metric Becomes the Target
Compile the Program
Few-Shot Optimization
Optimize the Instructions
Let the Program Reflect
Change One Thing
Agents Are Programs Too
Search, Memory and Long Context
Search the Reasoning Space
Don't Let the Optimizer Cheat
From Experiment to Production
Build a Self-Improving Engineering Program
Beyond the Book: Production DSPy Systems (Appendix)
Appendix 15: Paper Coverage Report: AI as a Co-Scientist
Appendix 16: Implementing AI as a Co-Scientist: A Research Case Study
Dimensions of Thought: A Smarter Way to Evaluate AI
Building an AI Co-Scientist
Uncovering Reasoning in LLMs with Sparse Autoencoders
Optimizing Prompt Generation with MARS and DSPy