A 40-line agent that beats my 600-line agent
RefactorI had a 600-line LangChain mess. Replaced with 40 lines: prompt + 4 tools + a while loop + retry-on-tool-error. Same accuracy on my eval set. 3x faster. 8x cheaper. Frameworks are training wheels — keep using them while you learn, drop them when you ship.
1 comments
399