toon-format/toon
View on GitHub ↗ ★ 25,596 TypeScript
🎒 Token-Oriented Object Notation (TOON) – compact, human-readable serialization of JSON data for LLM prompts. TypeScript SDK, CLI, benchmarks.
18 mentions on Hacker News by 17 people: 9 stories, 9 comments · first 2025-10-26 · latest 2026-06-18
20082026
-
…and I've had a lot of problems with compaction (absent other prompting) losing key bits of state. https://github.com/toon-format/toon is another interesting one, and I feel like it takes on a much more achievable goal - reduce whitespace…
comment by old_sysadmin · 2026-06-18 · in The Token Compression Illusion: Why I'm Skeptical of RTK -
…CLI in the end. Despite building it agent-first, it's helped us get to a better human product. [1] https://github.com/toon-format/toon
comment by glenngillen · 2026-05-08 · in Principles for agent-native CLIs -
…conscious work is becoming more and more relevant.. Look at https://github.com/AgusRdz/chop And https://github.com/toon-format/toon
comment by reacharavindh · 2026-04-16 · in Claude Opus 4.7 -
…just shipped TOON (Token-Oriented Object Notation) compression. TOON is an open format (not ours): https://github.com/toon-format/toon It converts JSON like this: {"id": "cust_001", "name": "Acme", "mrr": 15000} Into: id: cust_001 name:…
comment by raaihank · 2026-02-04 · in We added TOON compression to our LLM gateway – compress prompts, saves tokens -
…overhead and syntax complexity, even if it's well represented. This is the instinct behind, e.g. https://github.com/toon-format/toon , a json alternative format. They test LLM accuracy with the format against JSON, (and are generally…
comment by vessenes · 2026-01-19 · in Nanolang: A tiny experimental language designed to be targeted by coding LLMs -
Yes, that's the purpose of TOON. https://github.com/toon-format/toon
comment by marquesine · 2026-01-16 · in LLM Structured Outputs Handbook -
I don't know if you've seen this: https://github.com/toon-format/toon
comment by ModernMech · 2025-11-15 · in Designing a Language (2017) -
I think they're talking about these sections: 1. Retrieval Accuracy - https://github.com/johannschopplich/toon?tab=readme-ov-file#... 2. Performance by dataset - https://github.com/johannschopplich/toon?tab=readme-ov-file#...
comment by tujux · 2025-10-27 · in TOON – Token Oriented Object Notation -
…most LLM, as they would JSON. So benchmarks on, say, data processing tasks, would be warranted. [0] https://github.com/johannschopplich/toon?tab=readme-ov-file#...
comment by Mumps · 2025-10-27 · in TOON – Token Oriented Object Notation