The paper introduces ABCAgent, a system that lets a powerful foundation model agent write and edit a symbolic program (Python code with neural calls) to fully specify its behavior at runtime. This separates behavior design from execution, making the agent's actions deterministic and efficient for recurring but varied tasks.
ABCAgent matches or beats neural agents on several benchmarks, especially where robustness and long control flows are critical. It achieves 98.3% vs 97.3% on GSM-Symbolic, 71.9% vs 47.4% Pass@4 on tau2-bench telecom, and better performance on control-flow-augmented WorkArena. It also reduces latency and cost significantly, e.g., 5.2x lower latency and 7.0x lower cost on GSM-Symbolic without authoring new programs.