All processes, tasks, decisions, and knowledge as Markdown files — so every employee can work with AI agent tools.
00 — Overview
| Size | Effort | Benefit |
|---|---|---|
| 3–10 people | 1 day setup | Central knowledge base, AI as "all-knowing colleague" |
| 10–50 people | 1–2 weeks | Unified processes, review workflows, onboarding acceleration |
| 50–500 people | 2–3 months | Cross-department transparency, compliance, AI self-service |
| Human-readable and machine-readable | No special tools needed |
| Git-native | Full audit trail, branching, review workflows |
| Agent-agnostic | Every AI tool already understands Markdown |
| No vendor lock-in | Plain text files, no proprietary format |
01 — Collaboration
Core decision: Git as the foundation, with bridges for non-technical users.
| Problem | Cloud Sync | Git |
|---|---|---|
| Simultaneous editing | Creates duplicates | Line-based merging |
| Change tracking | File versions only | Line-by-line diff |
| Undo | Whole file rollback | Individual changes |
| Review before merge | Not possible | Pull requests |
owner in frontmatter, others via PR02 — Folder Structure
--- title: Recruiting Process # required owner: priya-sharma # required, firstname.lastname department: hr # optional, enum type: process # required, enum status: active # required, enum created: 2024-08-10 # required, YYYY-MM-DD last-reviewed: 2026-03-25 # optional, used for freshness tags: [recruiting, hiring] # optional created-by: claude-code # optional, marks AI-generated ---
| Field | Purpose |
|---|---|
| owner | Who is responsible? Who reviews changes? |
| department | AI agent can narrow context |
| type | Automatic aggregation (e.g., list all policies) |
| status | Drafts ≠ valid, archived ≠ active |
| last-reviewed | Freshness check: warning at >6 months |
| created-by | Marks AI-generated content |
03 — AI Agent Integration
| What the agent creates | Stored in |
|---|---|
| New process | departments/<dept>/processes/ |
| Meeting minutes | meetings/YYYY/ |
| Analysis / report | results/ |
| Change to existing doc | In-place (same file) |
| Decision documentation | decisions/ |
04 — Change Tracking & Quality
| Status | Age | Action |
|---|---|---|
| Current | <4 months | No action needed |
| Due soon | 4–6 months | Plan review |
| Overdue | >6 months | Immediate review by owner |
| Change type | Review needed? | Reviewer |
|---|---|---|
| Typos, formatting | No | — |
| Content addition | Yes | File owner |
| Process change | Yes | Department lead + owner |
| Cross-department | Yes | All affected owners |
05 — Rollout Guide
1–2 weeks. Repo setup, AGENTS.md, CI/CD, core team (2–3 people).
2–4 weeks. One department fully migrated. Feedback collected.
4–8 weeks. More departments. Non-technical users. Old system off.
| Source | Migration path |
|---|---|
| Confluence / Wiki | Export as HTML → convert with AI agent → review |
| Word / Google Docs | AI agent reads directly, or Pandoc batch conversion |
| Notion | Markdown export → clean up → add frontmatter |
06 — Tool Comparison
| Tool | Tier | Git | WYSIWYG | Offline | AI Agent |
|---|---|---|---|---|---|
| VS Code + CC | 1–2 | UI | Preview | Yes | Yes |
| Obsidian + Git | 2 | Plugin | Preview | Yes | * |
| Kivanto App | 2–3 | Built-in | Yes | Yes | Yes |
| GitHub.dev | 3 | Built-in | Preview | No | No |
| GitBook | 3 | Sync | Yes | No | No |
| Decap CMS | 3 | Direct | Forms | No | No |
* Obsidian + AI agent CLI in the same folder
07 — Tool Agnosticism
AGENTS.md is the open standard for AI agent context files — managed under the Linux Foundation, supported by 30+ tools.
| Tool | Maker | Type | Open Source |
|---|---|---|---|
| Kivanto | Kivanto.ai | CLI + Desktop + Web | MIT |
| Claude Code | Anthropic | CLI + IDE | No |
| Codex CLI | OpenAI | CLI | Yes |
| Copilot CLI | GitHub | CLI + IDE | No |
| Gemini CLI | CLI | Yes | |
| Cursor | Anysphere | IDE | No |
| Aider | Open Source | CLI | Yes |
One file to maintain. Full tool compatibility.
08 — Skills
Agent Skills standard (agentskills.io) — supported by 30+ tools including Claude Code, Copilot, Cursor, Gemini CLI, Codex CLI.
meeting-minutes/ ├── SKILL.md ← Metadata + instructions ├── scripts/ ← Executable code (optional) ├── references/ ← Additional docs (optional) └── assets/ ← Templates, resources (optional)
Name + description only
~100 tokens / skill
At startup, all skills
Full SKILL.md loaded
<5000 tokens
When skill matches
scripts/ references/
On demand only
Only when needed
09 — Example
A complete implementation for a fictional SaaS company (~80 employees).
Project management SaaS product
Munich (HQ) + Berlin (Engineering)
TypeScript, React, NestJS, PostgreSQL, AWS
Realistic content, Agent Skills standard
$ cd company-docs/departments/hr/ $ kivanto Welcome! I know the context of the HR department. > Create a job posting for a Senior Backend Developer in the Engineering team. Using the skill "job-posting", reading the tone of voice guide and current benefits... ✅ Job posting created.
10 — Projects
The overarching concept: how to structure enterprise processes, tasks, and knowledge in Markdown. 10 concept documents, example repository, presentation, two academic papers.
The intelligent Markdown filesystem. Parses YAML frontmatter, builds a search index, auto-constructs a knowledge graph, and exposes everything through 5 interfaces.
| Interface | Description |
|---|---|
| CLI | 11 commands (search, graph, impact, freshness, validate, ...) |
| Python API | from mdaifs import MdaifsRepo |
| MCP Server | 7 tools for AI agents (Claude Code, Kivanto, etc.) |
| REST API | FastAPI with Swagger docs |
| FUSE Mount | Virtual filesystem with .mdaifs/ query directory |
$ pip install mdaifs $ mdaifs status $ mdaifs search "onboarding process" $ mdaifs graph nina.scholz $ mdaifs impact hr
11 — Papers
The conceptual paper. 4-layer model, RAG on Markdown, automatic knowledge graph construction from frontmatter, freshness scoring, progressive disclosure for agents, comparison with existing systems.
The technical architecture paper. 5 implementation paths: FUSE virtual filesystem, system library (libmdaifs), MCP server, CLI, and REST API. Rust crate structure, migration strategy, performance targets.
12 — Compatible Tools
mdaios works with any AI agent tool that reads Markdown.
| Tool | Maker | Type |
|---|---|---|
| Kivanto | Kivanto.ai | CLI + Desktop + Web |
| Claude Code | Anthropic | CLI + IDE |
| Codex CLI | OpenAI | CLI |
| Copilot CLI | GitHub | CLI + IDE |
| Gemini CLI | CLI | |
| Cursor | Anysphere | IDE |
| Aider | Open Source | CLI |
| Roo Code | Community | IDE |
| Amp | Sourcegraph | IDE |
| Kilo Code | Community | IDE |
| Windsurf | Codeium | IDE |
| Continue.dev | Open Source | IDE |
| Cline | Open Source | IDE |
| Junie | JetBrains | IDE |
| Goose | Block | CLI |
| OpenHands | Open Source | CLI |