GitHub is reducing costs by optimizing token usage within its automated agentic workflows. By auditing API logs and pruning unused tools from LLM contexts, they have created a self-improving system that identifies and eliminates operational inefficiencies.