News for hackers. Stuff that matters.
Re:Agents need control flow, not more prompts by rdedev on Thursday May 07, 2026 @05:51PM (#48055617)
I had to create a hypothesis testing agent where it gets a query like "is manufacturing parameter x significantly different this month than last month" and have the agent follow a flowchart to run a statistical test and return the answer

At the time I had access to only 4o and there was no way to guarantee that the agent would follow the flowchart if I just mention it in its prompt. What I ended up wrapping the agent in a loop that kept feeding it the next step in the flowchart. In a way, a custom harness for the agent

There are no comments on this comment yet.