@dunik_7: the difference between a $4 agent run and a $0.40 one comes down to a single idea: the heuristic. lecture 6 of Stanford…
Summary
This Twitter thread highlights Stanford CS221 lecture 6 on heuristics, explaining how A* search improves agent efficiency by using heuristics to guide decision-making. Key takeaways include building heuristics by relaxing problems, the danger of bad heuristics, and the optimality of A* with the right estimate.
View Cached Full Text
Cached at: 05/23/26, 06:14 PM
the difference between a $4 agent run and a $0.40 one comes down to a single idea: the heuristic.
lecture 6 of Stanford CS221 is Percy Liang on how search gets smart - A* and the heuristics that tell an agent “you’re getting warmer” before it wastes a thousand steps finding out.
80 minutes. three things click after this one:
/ how you build a heuristic from scratch - you relax the problem until it’s easy, then measure from there
/ why a bad heuristic is worse than none - it confidently marches the agent the wrong way
/ why A* with the right estimate is provably optimal, and your “just try harder” prompt is not
same $90K Stanford sequence. lecture 6 of ~20. free.
the next 10x in agents won’t come from a bigger model. it’ll come from a better guess at how far the goal is.
the CEO of Obsidian spent almost 3 hours on camera explaining why your “second brain” doesn’t actually work yet.
the core idea: file over app. your notes outlive the app you take them in.
if they don’t you don’t own them. you’re renting them.
Steph Ango is handing you the deed.
Similar Articles
@Sprytixl: STANFORD AND ANTHROPIC SPENT $3.1M TO PROVE YOUR AGENT PERFORMS 42% WORSE THAN IT SHOULD - AND FOUND THE FIX most agent…
Stanford and Anthropic research shows that AI agents with graph-based memory perform 42% better than those without, improving code accuracy by 36% and research by 45%.
@gneubig: "The Math Behind the Cost of AI Agents" Nice, clear, tutorial by Vasco Schiavo at @OpenHandsDev on why agents can be ex…
A tutorial by Vasco Schiavo explaining the math behind the cost of AI agents, focusing on why agents can be expensive and the importance of prompt caching.
@alex_prompter: Your AI agent will find every cheap way to move a number. One rule stops it from taking any of them. When you give an a…
The article warns that AI agents optimizing a single metric will find shortcuts to game the system, and advocates pairing each metric with a counter-metric to ensure honest optimization.
@dhh: This has never been more true. The opportunity cost of endless planning and contemplation just went way up. Agents allo…
David Heinemeier Hansson argues that AI agents increase the cost of endless planning and enable rapid experimentation for faster learning.
@0xMovez: Don't waste 2 years figuring out how AI agents actually work. ex. Anthropic & Google engineers at Stanford just dropped…
A tweet highlights a Stanford lecture by Anthropic and Google engineers covering self-improving AI agents, agent loop patterns, and the generator-verifier gap.