HKUDS/TokenWise
TokenWise is a context-engineering tool that reduces token consumption for LLM-based coding agents by up to 50%.
TokenWise is a TypeScript tool that optimizes the context fed to AI agents, targeting redundant instructions, logs, tool outputs, and accumulated history that inflate token costs. It reports up to 38-50% token savings across use cases such as iterative algorithm debugging, long-horizon software engineering, and long-context Q&A, and supports nine agents plus arbitrary shells, including Claude Code and Codex. The system also self-evolves by learning from real workflows, with an additional 27% token reduction over time.
Frequently asked
- What is HKUDS/TokenWise?
- TokenWise is a context-engineering tool that reduces token consumption for LLM-based coding agents by up to 50%.
- Is TokenWise open source?
- Yes — HKUDS/TokenWise is open source, released under the MIT license.
- What language is TokenWise written in?
- HKUDS/TokenWise is primarily written in TypeScript.
- How popular is TokenWise?
- HKUDS/TokenWise has 2.3k stars on GitHub.
- Where can I find TokenWise?
- HKUDS/TokenWise is on GitHub at https://github.com/HKUDS/TokenWise.