# Introduction

Hatch is a notes app that keeps everything as Markdown files in a folder you own. You write in it like any good editor. Claude Code, Codex, Cursor and your own agents read and write the same folder, and every change an agent makes in the app arrives as a diff you can keep, edit or undo.

![Hatch with a note open and the chat adding a line to its budget table](https://hatch-docs.pages.dev/assets/hero.9dc5237192.png)

## How it fits together

Hatch has a few parts. Only the first is needed.

| Part | What it does |
|---|---|
| The app | Write, link and organize notes. Runs on the web, on the desktop (Mac, Windows, Linux) and on phones |
| The vault | A plain folder of Markdown files. Hatch calls it a vault, the way Obsidian does, and Obsidian opens it too |
| Agents | An MCP server gives any agent search, read and write over a vault. The chat in the app proposes edits instead of making them |
| Publishing | Any folder becomes a docs site, blog or portfolio. Host it anywhere as static files, or on your own Hatch server |
| The server | Optional. Accounts, end-to-end encrypted sync, shared vaults, live editing and hosted sites |
| The packages | The editor, the vault, sync, publishing and more, on npm under `@hatchmd`, for building your own apps |

## What Hatch promises

- **Your files, untouched.** Opening a note never changes it. Editing one paragraph rewrites only that paragraph. Formatting Hatch doesn't know is kept exactly as typed.
- **Safe saves.** Edits from agents or other apps are merged in. A real conflict keeps both versions.
- **No account needed** to write. Accounts only add sync, sharing and hosting.
- **Nothing hidden.** Settings live in the vault as small JSON files you can read, and every component is a fenced block that still reads fine as plain text.

## Where to go next

```cards
cols: 2
items:
  - title: Quickstart
    text: Run Hatch, write a note, connect an agent and publish a page.
    link: "https://hatch-docs.pages.dev/get-started/quickstart/"
  - title: Coming from Obsidian
    text: What carries over, what's different, and what Hatch adds.
    link: "https://hatch-docs.pages.dev/get-started/coming-from-obsidian/"
  - title: Connect an agent
    text: Give Claude Code, Codex or Cursor your notes over MCP.
    link: "https://hatch-docs.pages.dev/agents/connect-an-agent/"
  - title: Publish a site
    text: Turn a folder into a blog, portfolio or docs site.
    link: "https://hatch-docs.pages.dev/publishing/site-templates-and-style/"
```
