Give your agent an interpreter, not tools: 19 min to 2 min on the same model

Itz_hany · reddit · 2026-11-06

Checksum shares their "Code Mode" practice: instead of having agents call tools one by one, give them a stateful code interpreter so tools are invoked as Python functions. With the same model, test generation went from 19 minutes to 2, and cost per test from $1.67 to $0.25.

Two levels:

A side benefit: successful runs can be cached as reusable scripts by design.

Original post →

More from coding & agent

coding & agent channel →