{"slug": "straw-compress-big-infra-into-one-md-file-99-5-llm-token-reduction", "title": "Straw: Compress big infra into one md file – 99.5% LLM token reduction", "summary": "Straw, a new tool, compresses large infrastructure data into a single markdown file, achieving a 99.5% reduction in LLM tokens by converting 3,774 log lines into 37 patterns, 746 topology edges into 11 flows, and 507 metric samples into 15 elevated samples.", "body_md": "- Logs: 3,774 lines -> 37 patterns (99.0% reduction)\n- Topology: 746 edges -> 11 flows (98.5% reduction)\n- Metrics: 507 samples -> 15 elevated (97.0% reduction)\n**Total Token Reduction: 276k Tokens (Raw) -> 1100 Tokens (with straw) (99.5% reduction)**\n\n``` bash\n$ go run main.go stream.txt\n```\n\n", "url": "https://wpnews.pro/news/straw-compress-big-infra-into-one-md-file-99-5-llm-token-reduction", "canonical_source": "https://github.com/ilyesarf/straw/", "published_at": "2026-06-24 21:11:11+00:00", "updated_at": "2026-06-24 21:43:48.783842+00:00", "lang": "en", "topics": ["developer-tools", "large-language-models", "ai-tools"], "entities": ["Straw"], "alternates": {"html": "https://wpnews.pro/news/straw-compress-big-infra-into-one-md-file-99-5-llm-token-reduction", "markdown": "https://wpnews.pro/news/straw-compress-big-infra-into-one-md-file-99-5-llm-token-reduction.md", "text": "https://wpnews.pro/news/straw-compress-big-infra-into-one-md-file-99-5-llm-token-reduction.txt", "jsonld": "https://wpnews.pro/news/straw-compress-big-infra-into-one-md-file-99-5-llm-token-reduction.jsonld"}}