A new open-source tool called ax is helping AI agents cut token usage by up to 40%. Built specifically for AI agents that browse the web, ax acts as a smart web scraper that strips away unnecessary HTML clutter.
When AI agents fetch web pages conventionally, they often receive raw HTML files that are hundreds of kilobytes in size — filled with navigation menus, ads, and other junk that eats up precious context tokens. Ax solves this by returning only the essential page structure, real data, and tables in a compact format.
The tool's developer benchmarked ax on real Claude Code sessions and found average token cost reductions of roughly 40%. That translates to significant savings for heavy users of AI coding agents and other automated browsing systems.
To try ax, search for "yusukebe ax" on GitHub.