{"version":1,"type":"story","url":"https://digestai.news/story/researchers-propose-software-thermodynamics-to-measure-coding-agent-ef","json":"https://digestai.news/story/researchers-propose-software-thermodynamics-to-measure-coding-agent-ef.json","markdown":"https://digestai.news/story/researchers-propose-software-thermodynamics-to-measure-coding-agent-ef.md","slug":"researchers-propose-software-thermodynamics-to-measure-coding-agent-ef","headline":"Researchers propose software thermodynamics to measure coding agent efficiency","summary":"A new paper on arXiv introduces a theory of **software thermodynamics** to explain how coding agents spend tokens. The authors compare token usage to classical and stochastic thermodynamics, breaking costs into **work** (useful edits) and **heat** (failed or redundant calls). They tested the theory by simulating an agent making and undoing changes in a repository, measuring token usage per cycle.\n\nAbout **80% of tokens** in successful runs were wasted on calls that reverted changes, labeled as 'heat.' The **free energy** of a change—estimated via Jarzynski’s equality—accounted for **14–22% of the mean cost**. Uncoding (reverting edits) cost **1.1–1.5 times less** than coding. The study also notes that test suites, acting as 'Maxwell’s daemons,' introduce variability in verdicts, affecting token efficiency. The authors suggest this framework could lead to **new tools for optimizing agent performance** in software development.","keyPoints":["80% of tokens in coding agent runs are wasted on failed or redundant model calls, labeled 'heat'","Uncoding (reverting edits) costs 1.1–1.5 times less than coding, per the proposed thermodynamics model","Test suites introduce variability in verdicts, impacting token efficiency and agent optimization"],"whyItMatters":"This work could redefine how developers and toolmakers measure and reduce inefficiency in AI-driven coding agents, potentially slashing costs for enterprises using them.","category":{"slug":"research","name":"Research","url":"https://digestai.news/category/research"},"entities":{"companies":[],"models":[],"people":[]},"firstPublishedAt":"2026-11-19T05:00:00Z","updatedAt":"2026-11-19T05:00:00Z","sourceCount":1,"hasPrimarySource":true,"sources":[{"outlet":"arXiv cs.AI","title":"Where the Tokens Go: Heat, Entropy and Error in Agentic Coding","url":"https://arxiv.org/abs/2611.23375","publishedAt":"2026-11-19T05:00:00Z","type":"primary","primary":true,"lead":true}],"sourceNotes":null,"discussions":[],"thread":null,"cite":{"text":"Digest AI, \"Researchers propose software thermodynamics to measure coding agent efficiency\", 19 November 2026, https://digestai.news/story/researchers-propose-software-thermodynamics-to-measure-coding-agent-ef","publisher":"Digest AI","title":"Researchers propose software thermodynamics to measure coding agent efficiency","datePublished":"2026-11-19T05:00:00Z","url":"https://digestai.news/story/researchers-propose-software-thermodynamics-to-measure-coding-agent-ef"},"generatedBy":"Written by Digest AI's editorial model from the linked sources; the sources are the record.","license":"Headlines, digests and key points are written by Digest AI and may be quoted with a link to the story page. Linked articles belong to their publishers. Terms: https://digestai.news/terms#reuse"}