Harnessing LLMs as Agents: What Does It Cost?
The Language Model Agent Machine (lam) is a resource theory that quantifies how much computational cost various agent harnesses require to run large language models. It fixes the model's intelligence while rigorously measuring costs for communication, memory access, recomputation, and reliability. This provides a mathematical framework to understand the trade-offs between agent design and execution efficiency.