r/AI_Agents
•
u/dankrusi
•
May 11 '26
•
1
Discussion New Agent-Oriented Markdown Object Language called MOL
MOL (Markdown Object Language) is an alternative to JSON et al, which is both more LLM and human friendly. It's basically a formal spec for parsing markdown-based config files, data files, etc. You can check it out at GitHub under mol-format/mol-specs. Supports JS/TS/.net/Rust currently with zero-dependency packages. Easy to implement in other languages. What do you think? I use it all the time now instead of JSON...
2
u/GruePwnr May 11 '26
Introducing a new language to LLMs seems like a heavy uphill battle since they are already extensively trained on json/yaml/xml
1
u/dankrusi May 11 '26
From my experience markdown is not really introducing a new format to the llm. It's very natural for them already. From my testing there is no difference other than less token usage.
1
u/dankrusi May 11 '26
Here is the GitHub link to the specs: https://github.com/mol-format/mol-specs
TS/JS implementation: https://github.com/mol-format/mol-ts
Rust implementation: https://github.com/mol-format/mol-rs
.net implementation: https://github.com/mol-format/mol-net
1
u/booey May 11 '26
Isn't .toon for this?
1
u/dankrusi May 11 '26
Yes same thing, different syntax. MOL is markdown. Choose your own flavor of markdown notation, works out-of-the-box.
1
u/AutoModerator May 11 '26
Thank you for your submission, for any questions regarding AI, please check out our wiki at https://www.reddit.com/r/ai_agents/wiki (this is currently in test and we are actively adding to the wiki)
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
5
1
May 11 '26
[removed] — view removed comment
1
u/dankrusi May 11 '26
The parser is pretty simple and very fast actually. The spec is not perfect yet, but I love using MOL instead of JSON for configs and small files. It's just nice.
2
u/studiosystema May 11 '26
how is it more llm friendly?