TL;DR
- Markdown vs HTML cuts token usage 68–87%; Markdown vs DOCX XML is ~3x more token-efficient; RAG accuracy improves 35% when ingesting Markdown over raw HTML — the format is doing real work, not just aesthetics.
- 42% of companies have abandoned most AI initiatives not because the technology failed but because knowledge was stored in formats agents can't efficiently read, write, diff, or query.
- Three authoring formats only: Markdown for prose, YAML for configuration, CSV for tabular data — everything else (PDF, DOCX, PPTX) is a rendered output that exists only at the moment of distribution.
- Git is the universal write path; the read path varies (MCP for agent queries, RAG for NLQ retrieval,
llms-full.txtfor bulk ingestion, static site for humans) — all from the same plain-text source. - If your working files are in formats agents can't read at machine speed, your agents are sidecars, not teammates.
I haven't opened a Word document to write anything in six months. Not because I don't produce Word documents — I produce dozens. But I never author in Word. I author in Markdown. Word is a render.
This distinction — between authoring formats and rendering formats — turns out to be the single most consequential architectural decision in an AI-native workflow. Get it wrong and every agent interaction is slower, every edit is harder, every version is harder to track. Get it right and your entire knowledge surface becomes instantly readable, writable, diffable, and searchable by both humans and agents.
The industry is converging on this conclusion from multiple angles. But to understand why it matters, you have to understand the problem it solves.
The Fundamental Problem: Knowledge Distribution
Knowledge work has always had two halves: creation and distribution. AI has largely solved creation — coding agents write code, content agents write docs, analysis agents produce reports. The build side is accelerating fast.
But distribution? Still broken. : "The problem isn't volume. It's architecture. Enterprise knowledge lives in the wrong places, maintained by the wrong mechanisms, delivered through the wrong model."
40% of agentic AI projects will be shut down by end of 2027 for the same reason.
The distribution problem is layered:
Leaders need the right insights at the right time — strategic alignment, decision context
Teams need shared operational knowledge — procedures, playbooks, account context
Individual contributors need answers at the point of work — without leaving their tool
Agents need structured, queryable knowledge — without extraction pipelines and format conversion
Every one of these is a knowledge distribution problem. And every one of them is blocked by the same bottleneck: the knowledge is stored in formats that can't be efficiently authored, versioned, searched, or served to agents.
This post proposes an architecture that solves all four layers. The format is the foundation.
The Three-Layer Stack
My operating model uses exactly three file formats for authoring:
| Format | Purpose | Why |
|---|---|---|
| Markdown (.md) | All prose — blog posts, strategies, proposals, field notes, meeting notes, documentation | Plain text, instant read/write, perfect chunking for RAG, diffs are meaningful, agents handle it at machine speed |
| YAML (.yaml) | Configuration, metadata, structured state — agent registries, skill definitions, account context | Typed, human-readable, agent-parseable, composable |
| CSV (.csv) | Tabular data — account lists, spend timeseries, triage queues, signal streams | Universal, any tool can read it, pandas loads it in one line, agents iterate rows trivially |
Everything else — PDF, Word, PowerPoint, Excel — is a rendered output. It exists only at the moment of distribution, for a specific audience, for a specific purpose.
The Industry Is Converging
This isn't a solo opinion. The convergence is happening across the entire AI-native ecosystem:
Extency's research (May 2026) — : Converting HTML to markdown reduces token usage by : "My AI development setup is almost entirely markdown files. CLAUDE.md for project context. Skills in .claude/skills/. Agent definitions in .claude/agents/. Specs in plans/. System prompts, review checklists, style guides: all markdown." His key insight: markdown configuration gives you model portability — when the US DoD's Anthropic deal collapsed in 2026, teams with markdown-based workflows switched providers by pointing a different model at the same files. Teams with proprietary formats had to rebuild.
GitHub Agentic Workflows (Feb 2026) — GitHub replaced complex YAML CI/CD configurations with now use AGENTS.md, a single Markdown file at the repo root that tells AI coding tools how to work on a project. Teams report 35–55% fewer AI-generated bugs when the agent has a well-structured markdown context file.
The HTML debate proves the point. Andrej Karpathy and Thariq Shihipar (Claude Code team) both argue for HTML as output — rendered, visual, consumable. But even they don't argue for HTML as source. The authoring layer remains plain text. The rendering layer is what varies by audience. That's exactly the pattern: author in text, render for consumption.
Tools for Humans (March 2026) — : WorkOS rebuilt their entire docs pipeline to serve clean, dynamic markdown via content negotiation — because AI agents are now a significant audience, and most sites serve them unparseable HTML.
The signal is consistent: every team building AI-native workflows — from solo builders to enterprise platforms — is converging on plain text (Markdown, YAML, JSON) as the authoring and storage layer, with rich formats generated on demand for human consumption.
The Numbers
The token economics alone make the case:
Markdown vs HTML: 68% fewer tokens for equivalent content (
- Multiple agents can work on the same knowledge surface without the binary merge conflicts that plague Word and PowerPoint
- Every change is trackable, reviewable, and reversible — the same version control that makes code reliable now makes knowledge work reliable
Code got version control, CI/CD, and collaborative workflows decades ago because the format was right. Knowledge work is finally getting the same capabilities — but only if you stop storing knowledge in formats that were designed for printers.
The Render-on-Demand Pattern
When I need a Word document — for a formal proposal, an executive briefing, a customer deliverable — I don't switch formats. I render:
Markdown source → render skill → .docx output
The render skill handles formatting: headings map to Word styles, tables get proper borders, code blocks get Courier New, bold and italic carry through. The output looks professional. But the source remains Markdown — versionable, diffable, agent-native.
Same pattern for every rendered format:
| Need | Render path | Tool |
|---|---|---|
| Customer proposal | .md → .docx | python-docx, pandoc, or your AI agent's doc skill |
| Executive deck | .md (outline) → .pptx | pptxgenjs, python-pptx, or AI render |
| Formatted report | .md → .pdf | weasyprint, reportlab, or pandoc |
| Spreadsheet analysis | .csv + Python → .xlsx | xlsxwriter, openpyxl |
The source never changes format. Only the output does. And the output is ephemeral — it exists for the recipient, not for me. I never edit the rendered output. If something needs to change, I change the Markdown and re-render.
Why Traditional Formats Are Traps
Word, PowerPoint, and Excel are great consumption formats. They're terrible authoring formats for AI-native work because:
They're opaque to agents. A .docx file is a ZIP containing XML. An agent can't grep it, can't diff it against last week's version, can't apply a surgical edit without loading the entire document model. Every interaction requires a heavyweight library.
They break version control. Git can track Markdown line-by-line. It can't meaningfully diff a binary Word file. You lose the entire history of what changed and why.
They trap knowledge. Content locked in a PPTX can't be indexed by RAG, can't be queried via NLQ, can't be composed into other documents without extraction. The format is a prison for the knowledge inside it.
They create sync problems. I've — and it only works when the files are readable.
Try that with a folder full of .docx and .pptx files. The agent can't keyword search them without extraction. Can't build a knowledge graph from them without parsing XML. Can't semantically index them without a conversion pipeline. Every binary format adds an extraction tax before the agent can even begin to understand your work.
With plain text, the harness does all of this for free:
Keyword search — instant, no preprocessing
Semantic indexing — chunks cleanly at paragraph boundaries
Knowledge graph — entities, relationships, and connections extracted directly
Context loading — agents read exactly what they need, no extraction step
Your workspace becomes the brain. The agent doesn't need a separate memory system or a vector database you maintain — your files are the memory. Structured, versioned, always current.
And because everything is text, agents can rescan your workspace at any time and realign — discovering new connections, updating stale context, suggesting restructuring to make things more discoverable. The workspace evolves alongside your work.
The Collaboration Model Changes Too
The last objection: "But I need to collaborate with people in Word and PowerPoint."
Two responses:
For people outside your organization — render on demand. They receive the format they expect (PDF, DOCX, PPTX). You authored in text. The render costs seconds. This has always been the pattern for code documentation — nobody sends people a git repo when they want a PDF spec sheet.
For people inside your organization who work in agent-native mode — Git-based collaboration replaces real-time editing. Pull requests, merge requests, structured reviews. This isn't theoretical — it's how open source communities have collaborated on text for now use AGENTS.md for AI-native collaboration. enable parallel agent work on the same repo without conflicts.
For most external communication — it happens on Slack and email anyway. And those platforms are becoming agent communication buses.
This is the part nobody talks about: Slack and email are already durable, history-maintaining platforms. Every message is timestamped, searchable, attributed. When your agent writes a comprehensive update directly in a Slack channel or composes a detailed email, that is the deliverable. No separate document needed. The channel maintains the history. The thread maintains the context.
40% of enterprise applications will integrate task-specific AI agents by end of 2026 (up from less than 5% a year ago). that knowledge workers spend 20% of their time searching for information. The format problem compounds this — information locked in binary formats is harder to find, harder to index, and harder for agents to surface at the point of need. Plain text eliminates the search tax entirely.
The Solution Is Git
So what's the actual infrastructure? Where does the knowledge live? How does it get there? How do agents read it?
The answer is simpler than the industry wants to admit: Git is the universal write path. The read path is what varies.
WRITE PATH (universal):
Author locally (plain text) → commit → push to Git
Agent writes locally → commit → push to Git
Scheduled agent produces report → commit → push to Git
READ PATHS (multiple, all from the same Git source):
├── MCP server → agents query via Model Context Protocol
├── RAG / knowledge store → NLQ retrieval, semantic search
├── Slack agent → community-facing, conversational access
├── Web render → static site (Astro, MkDocs, Hugo)
└── Direct file read → local agents with repo access
The write path is AI-native by default. Agents write files. Files go to Git. Git is the durability layer — version-controlled, distributed, conflict-resistant. Every agent, every human, every scheduled process uses the same mechanism. This isn't novel — it's what software engineering has used for decades. The novel part is extending it to all knowledge work.
The read path is where it gets interesting. From a single Git-backed repository of plain text, you can serve multiple consumers simultaneously:
MCP — the demonstrates this: Git-native persistent memory served via MCP.
RAG / knowledge store — platforms that do NLQ retrieval natively over files. You point them at your Git output (synced to S3, or directly) and they handle chunking, embedding, semantic search. No custom vector database to maintain. No Lambda functions. No embedding pipelines. The platform does it for you.
Slack agents — a read path that serves communities. An agent running on a cloud runtime (like AgentCore) gets invoked on every thread in a channel. It reads the Git-backed knowledge source and responds inline — turning every Slack channel into a queryable knowledge interface without anyone needing to leave the conversation. Different teams can have their own Slack agents backed by the same knowledge repo. The agent reads Git, answers conversationally, and the thread itself becomes an annotation layer on top of the knowledge — community-style notes, corrections, and context that enrich the source over time.
Web + llms.txt — a static site generator renders the same Markdown files as a browsable website. But the site has two audiences now. Browsers render HTML for humans. (March 2026): "Enterprise software organizations accumulate critical institutional knowledge — architectural decisions, deployment procedures, compliance policies, incident playbooks — yet this knowledge remains trapped in formats designed for human interpretation." The paper proposes skills as the unit of institutional knowledge that agents can discover and execute.
supporting the open Agent Skills standard. converts heterogeneous resources into validated, reusable agent skill packages.
The pattern mirrors knowledge distribution exactly:
| Knowledge | Skills | |
|---|---|---|
| What | Facts, context, insights | Procedures, workflows, protocols |
| Format | Markdown files | Markdown skill definitions |
| Write path | Author → Git → sync | Build skill → Git → sync |
| Read path | MCP / knowledge store / Slack agent | Agent discovers skill from repo automatically |
| Scale | Personal → team → enterprise | Personal → team → enterprise |
Skills in a Git repo get discovered by agents the same way knowledge does. An agent scanning your workspace finds not only what you know but how you work. It discovers triage procedures, publishing workflows, research protocols — and can execute them immediately. The skill is the institutional knowledge made executable. When you share the repo, you share not just the information but the capability.
Here's what this architecture replaces:
| Old pattern | What it required | What Git + read paths gives you |
|---|---|---|
| Custom Bedrock KB with chunking strategy | Lambda functions, S3 triggers, Cohere embeddings, sync pipelines | Point RAG platform at your repo. Done. |
| Self-hosted MCP server with custom ingestion | Server infrastructure, deployment pipeline, auth, monitoring | MCP server reads Git files directly |
| Separate Slack bot with its own data store | Bot hosting, separate knowledge sync, deduplication | Slack agent reads same Git source |
| Wiki (Confluence, Notion) with manual updates | Content rots because maintenance is manual | Git source is maintained by agents on schedule |
The custom knowledge base infrastructure I built — MCP server, Lambda, Bedrock Knowledge Base, Cohere embedding config, S3 sync pipeline, chunking strategy — all of it exists because the write path and read path were separate systems with separate formats. With Git as the canonical store and platform-native read paths, most of that infrastructure disappears.
The pattern scales from personal to enterprise:
Personal: write to a local Git repo, read via your desktop agent's native indexing
Team: shared Git repo, multiple read paths (MCP for agents, knowledge stores for NLQ, Slack bot for team Q&A)
Enterprise: Git-backed knowledge infrastructure, branch-based access control, MR-gated publishing, multiple department-specific read surfaces
This is what knowledge engineering actually looks like: structured text, versioned in Git, delivered at the point of need through whatever read path the consumer prefers. The consumer might be a human reading a website. It might be an agent calling an MCP tool. It might be a colleague asking a Slack bot. All of them read from the same source. None of them need the knowledge to be in Word.
The Cloud Document Library Implication
This is why my cloud document library is all Markdown. Not because these platforms can't host Word files — they can. But because:
Most platforms render .md natively — GitHub, GitLab, SharePoint, Notion imports, and dozens of others render Markdown with formatting in the browser
RAG systems index .md perfectly — every file becomes NLQ-queryable without extraction
Agents can read and write .md files via API — no conversion step needed
Diffs are meaningful — when something changes, you can see what changed
If a collaborator specifically needs a Word doc, I render one on demand and share that. But the canonical version remains Markdown. Always.
The Token Economics
Beyond the workflow benefits, there's a pure cost argument:
Token cost: Markdown is ~3x more token-efficient than equivalent DOCX XML for the same content
Compute cost: Agent operations on text files are 10-100x faster than operations on binary document formats
Storage cost: A 2,000-word Markdown file is ~12KB. The same content in DOCX is 50-100KB
RAG cost: Markdown chunks cleanly at paragraph boundaries. DOCX requires extraction, which loses table structure and introduces artifacts
At scale — hundreds of agent interactions per day, thousands of files in a knowledge surface — these differences matter.
Live Collaboration: Dissolved, Not Unsolved
The obvious objection: "What about Google Docs-style simultaneous editing?"
This question assumes collaboration means two humans editing the same document at the same time. That assumption belongs to the pre-agent era — when writing took hours, and having multiple people edit simultaneously was a force multiplier on a scarce resource (authoring time).
When writing takes seconds, the bottleneck shifts from authoring speed to review quality. There's nothing to co-edit in real time because the writing phase is nearly instantaneous.
— the move from "conductor" (one agent, synchronous, real-time guidance) to "orchestrator" (multiple agents, asynchronous, parallel execution). The winning pattern isn't live co-editing. It's decomposition + async execution + merge. File locks and worktrees handle conflicts. Nobody's doing collaborative cursors on the same file.
The to to the 60,000+ repos using AGENTS.md. Plain text is winning not because it's trendy, but because it's the only format that serves all three audiences simultaneously: humans who read, agents who process, and version control systems that track.
The thesis: if your working files are in formats that agents can't read, write, diff, or query at machine speed, your agents are sidecars, not teammates.
The AI-native operating model is text-first:
Author in Markdown, YAML, CSV — always
Render to PDF, DOCX, PPTX — only at the moment of distribution
Never edit the rendered output — change the source, re-render
Extract incoming binary formats to text immediately — make the knowledge accessible
This isn't about being anti-Word or anti-PowerPoint. Those formats serve real purposes for human consumption. But they're consumption formats, not authoring formats. The moment you treat them as source-of-truth, you've created a knowledge prison that agents can't efficiently access and that version control can't meaningfully track.
Markdown is the operating system. Everything else is a render.
SOCIAL SHARE CARD GENERATOR