Home / mdhouse

Your notes and docs in one browser tab. Your AI writes questions — you answer with a click.

Point it at a folder — notes, a repo, a whole directory of repos — and get one fast page with a file tree, instant search and a live what changed lately view fed by git. Nothing is imported, indexed or uploaded, and it never writes to a folder unless you say so.

mdhouse in the browser: a file tree with freshness marks on the left, a rendered
              document with its table of contents, and the file's recent git history on the right.

▸ Install

bun install -g mdhouse      #  bun 1.4+ required

▸ Start

mdhouse ~/notes ~/src -p     # serve folders, -p = save them for every later start, start in background
mdhouse service install      # starts now and at every login, serving the saved folders

📖 A reader for everything you write

⚡ Live, not polled
A file changes on disk — the page changes over a WebSocket. Edit in your editor, or let an agent edit, and just watch.
🔥 ♨️ Freshness at a glance
🔥 changed in the last ten minutes, ♨️ in the last hour, then the color fades to grey over the week. What is new jumps out.
🌿 Git built in
Who changed what and when, what is new since yesterday, each file's last commits. Commit, pull and push with a button.
⊟ Readable diffs
Changes laid over the rendered document — added in green, removed in red — as easy to read as the doc itself.
🖋 Renders properly
GitHub-flavored Markdown plus alerts, footnotes, mermaid diagrams, highlighted code, front matter; images, PDFs and video inline. Like GitHub, or better.
📁 Every folder, one tree
All your repos in one sidebar; .gitignore honored, every file at its own URL.
🔍 Find anything
File names as you type; full text through ripgrep — a hit opens at that exact line.
🕐 Recent and Mine
What changed lately across everything, and what you changed, uncommitted first.
The Recent tab: one row per file with its folder and commit subject, a diamond on your
              own files, and each age colored by how fresh it is.

👾 A workbench for you and your AI

Your agent writes into a plain .md file; mdhouse turns its markup into buttons. The file is the conversation — no chat history to lose, and it still reads fine on GitHub.

❓ Your AI asks — you click
Its questions become buttons. Type an answer and it goes back into the file; the AI reads it and carries on.
💡 It suggests — you decide
✓ agree or ✗ cancel, one click. Options become radio buttons.
🔴 🟠 ⚪ Problems, sorted
The AI finds issues and marks how bad each is; a strip counts and filters them. You pick what gets fixed.
🎯 Point at the work
Target the items you want done next; the AI does just those.
✅ Done is visible
Fixed items turn green and fold away, with the commit right next to them.
📌 Decisions stay put
Settled rules stand out, with the rejected alternatives under them — so nobody, human or AI, relitigates them.
Open questions in mdhouse: an answered one folded, one with an AI proposal and agree,
              cancel and reply buttons, one with two options, and one with its answer form open.
An agent's questions, answered on the page.

Works with any AI

agent-markup.md is written for AI agents, not people: one self-contained page that teaches an agent the markup mdhouse recommends — questions, proposals, options, issues with severity, decisions and ids — so what it writes renders as buttons on the page and still reads as plain Markdown on GitHub. Point any agent at it and say “do like this”:

use https://github.com/parf/mdhouse/blob/main/doc/agent-markup.md and do a review

For Claude Code there are ready skills — /ask-questions, /resolve-questions, /find-issues, /fix-issues — just ask it to copy them from the repo. The human-facing guide is Questions and answers.

🗨 Chat with an agent about the page

With agent-bus running, mdhouse opens a chat panel next to the document. You talk to an AI agent about the page you are on; it reads the same file, and every page keeps its own history.

mdhouse with the Agent Bus panel on the right: requests sent to a Claude Code session,
              its answers, a note box and the Updated, Send note, Do, Resolve and Review buttons.
mdhouse --agent-bus                        # local bus
mdhouse --agent-bus http://host:6767       # remote bus, over TCP with a token

Details, including an ssh-forwarded socket with no token: Agent Bus integration.

🔒 Local and safe

License

GPL-2.0.