Code mode yields a 99.2% cost reduction in our systems

AI & Machine Learning, DevOps & Infrastructure, Software Releases & Release Notes(agent-swarm.dev)view on HackerNews
Code Modeworkflow-triagetoken countAImachine learningDevOpsinfrastructuresoftware releasesrelease notes.

Author: tarasyarema

Date: 7/23/2026

Article Summary:
The article describes a script that measures the reduction in token count when using "Code Mode" in production, compared to making 26 individual tool calls. The script, workflow-triage, scans all workflows and schedules in the swarm, flags dead or failing items, and provides a markdown report. The article presents the results of running the script and the raw sequential calls, highlighting the significant reduction in token count and the benefits of using Code Mode.