You can't tell a "working" agent from a "hung" one — so I made the code measure its own time + tokens (a pattern I call TMDD/TTMDD)
Summary
A developer introduces TMDD/TTMDD, a pattern where code measures its own time and tokens to distinguish a working AI agent from a hung one.
Similar Articles
What mechanisms are you using to distinguish "agent busy" from "task completed"?
This article discusses an anti-pattern in AI agent systems where agents appear busy but fail to complete tasks. The author suggests separating responsibilities and requiring proof of completion as a solution.
AI agents recreate the “rockstar developer” problem, just faster
The post compares AI agents to 'rockstar developers' who create clever but unmaintainable code, pointing out that agents lack memory of their own actions. It recommends using visible conventions like AGENTS.md, ADRs, and tests to keep agent-generated code understandable by the team.
I measured where my AI coding agents waste tokens, 42% was avoidable. Built a tool to catch it (Claude Code / Cursor / Codex)
The author measured token waste in AI coding agents and found 42% avoidable, then built a tool to catch it. The tool works with Claude Code, Cursor, and Codex.
Giving an AI coding agent a deterministic "architecture linter" so it stops faking "done"
The article describes giving an AI coding agent a deterministic architecture linter that checks Event Storming diagrams for mechanical gaps and open questions, ensuring the agent doesn't fake completion.
DeltaTTG: Training Multi-Turn Agents with a Token-to-Go Progress Meter
DeltaTTG 提出一种可复用的进度计量器(progress meter),以 Token-to-Go(剩余生成 token 数)作为完成进度的可观测代理,在不改变奖励的前提下重新分配多轮智能体训练中的优势值,在 ALFWorld、PaperSearchQA 和 BFCL v3 上显著优于 GRPO 等 RL 基线。