logoalt Hacker News

dgb23yesterday at 8:11 AM0 repliesview on HN

I would first automate everything with scripts, and only use an agent for the parts that require it.

For example you mentioned playwright? That can be automated. It doesn’t need to be a free form tool that the agent uses at will.

If that means the scripts need to be adopted to changes, then that’s a separate, controlled workflow.

This approach can save you a ton of tokens, increasee reliability and observability, and it saves compute as well.

Sometimes it‘s useful to let the agent do things fully agentic, so you can then iteratively extract the deterministic parts.