What should survive when AI compresses a document? My attempt at a reader with reversible levels of detail

Reddit r/ArtificialInteligence Tools

Summary

作者介绍 TextFold——一个支持可逆细节层级的开源 AI 阅读器,读者可在原文、逐句摘录与 AI 生成的渐进摘要之间切换,以应对 AI 压缩文档带来的"认知债"问题。

I work on human–AI alignment, and I keep coming back to a reading problem: it is easy to accept a compact explanation before checking what was left out. Unceta and colleagues describe a related concern as "epistemic debt": a gap between the output we use and the understanding we can defend. Their Nature Machine Intelligence comment is here: https://doi.org/10.1038/s42256-026-01294-w I've been exploring an interface response in TextFold, an open-source reader I build. The older idea behind it is Ted Nelson's stretchtext from 1967, where the reader could choose how much of a passage to expose. The useful design distinction, for me, is between selecting source wording and generating a shorter explanation. TextFold keeps those separate: Full contains the original paragraph. Brief selects one to three of its sentences verbatim. Key, Takeaway and Topic are AI-written layers with progressively less detail. You can reopen an individual paragraph while the rest stays folded. The levels are prepared first, so changing depth does not trigger another model call. There is a trade-off even in the verbatim layer: keeping the wording doesn't guarantee that the selected sentences preserve every caveat. An AI-written layer can introduce further errors. Keeping the source accessible makes checking possible; it doesn't prove that readers will check it. I haven't established that this improves comprehension or reduces cognitive load. The video shows the interaction and its Stretchtext background, then examples of web pages, PDF and Word documents. I'm interested in whether the interface helps readers notice when they need the fuller argument, and how to measure that against a normal document plus a summary. Source and setup (Apache 2.0): https://github.com/chenxiachan/textfold It can use a local Ollama model or a hosted provider; with a hosted provider, the text goes to that provider.
Original Article

Similar Articles

I built TextFold to make text stretchable with "semantic zoom"

Reddit r/ArtificialInteligence

开发者发布开源工具 TextFold,可将任意文本折叠为5层可缩放摘要(从章节地图到原文),支持捏合或按键在层级间缩放且不丢失阅读位置,适用于论文、文档和 AI 生成内容的阅读。

@QingQ77: Read EPUB/PDF locally with side-by-side translation, annotations, and AI chat all in one desktop app — your original files never leave your machine. https://github.com/cynicalight/reader…

X AI KOLs Timeline

Reader is an open-source, local-first EPUB/PDF AI reader supporting side-by-side bilingual translation, annotations, and AI Q&A grounded in the original text. Your files never leave your machine. Connect models via Claude Code / Codex CLI / Kimi Code CLI or OpenAI/Anthropic-compatible APIs.

@BlockInsight214: Before feeding papers, contracts, or scanned documents to AI, the hardest step is often "cleaning up the PDF." These open-source projects specialize in that: converting to Markdown/JSON, ready for RAG or agents. ① MarkItDown · Microsoft, Office/PDF/images to Markdown in one click...

X AI KOLs Timeline

Introduces five open-source tools (MarkItDown, MinerU, Docling, marker, surya) that convert PDFs, Office documents, etc., into Markdown or JSON for direct use with RAG or AI agents.

@Ryrenz: Throwing PDFs directly into large models? Tables get garbled, formulas break, and scanned documents can't even be read. These 5 tools help you convert documents into a clean format that AI can digest. 1. Stirling-PDF — All-in-one local PDF toolbox, 85k stars. Merge, split, compress, add watermarks, convert formats, dozens of operations…

X AI KOLs Timeline

This article introduces 5 open-source tools for converting documents into AI-readable formats: Stirling-PDF, MinerU, docling, marker, and OCRmyPDF, respectively targeting PDF editing, complex document conversion to Markdown, structured document output, high-precision PDF to Markdown, and OCR for scanned documents.