Fen icon Fen

Your notes, and an AI that answers from them.

Fen is a native Markdown editor for Mac, iPhone and iPad that turns your folders into a knowledge base. Ask a question and get an answer with numbered sources. Search by meaning, on your device. Add the AI you trust, and every AI edit goes through one gate you can undo. Your notes stay plain .md files. Free and open source.

Signed and notarized by Apple, so it opens without Gatekeeper warnings. Needs macOS 15 or later (iOS 18 or later on iPhone and iPad).

Free and open source No account No telemetry Your files, not a vault Native Swift, not Electron
Fen's Ask view. The question "Why did we choose a yearly price?" is answered in one line with a numbered source, Interview notes.md, and its line numbers

What makes Fen different

A fen is a wetland that feeds itself. Your notes can work the same way: connected, searchable and always growing, while they stay plain files.

💬

Ask your notes, get sources

Ask a question across one workspace or all of them. The answer cites numbered sources with line numbers, so you can check it. A statement with no source gets a warning. Ask only reads. It never edits.

Why did we choose a yearly price?
A yearly price felt fair to most during interviews [5].Example. [5] is Interview notes.md, lines 13 to 19.
🔎

Search by meaning, on your device

An on-device index finds notes by exact words and by meaning, across one workspace or all of them. Nothing leaves your Mac.

🧭

Related notes while you write

A card shows the notes that link here, the ones you link to, and passages that say something similar. Open one, or insert a link in a click.

🛡️

AI you control

Fen sends no AI request until you add a provider: Apple's on-device model, Ollama, or any OpenAI-compatible service. Each workspace sets what AI may see. Ask AI, Enrich and agents all change a note through one gate. You start it, you see the change, and Undo reverts it.

🤖

Ready for agents (Mac)

An optional MCP server listens on 127.0.0.1 only and is off by default. Each client gets its own token and its own workspaces. An agent commits to its own branch and your checkout stays put.

🗂️

Workspaces

Add as many folders as you like, with or without git. Fen lists their notes without opening each one, and writes nothing into your folders apart from an optional schema file.

🔗

Wiki-links and backlinks

Link notes with [[name]], [[name|text]] or [[name#heading]]. A backlinks list shows the notes that link here, even ones you have not opened.

👀

Live preview, scroll-synced

GitHub-Flavored Markdown, syntax highlighting, MathJax and Mermaid render as you type. An optional Live Preview mode (Experimental) styles the source in place.

🏷️

Document types

Define types and fields in a plain schema.yaml. Edit typed properties in the app. Hints flag a near-miss, and they never block a save.

🔄

GitHub sync

Clone a repository as a workspace, then pull and push with a token limited to that repository, kept in the Keychain. On iPhone, Fen copies the repository through the GitHub API. Conflicts wait for your choice.

🕘

Version history

See the earlier versions the system keeps for a note. On iCloud, your other devices' recent versions show up too. We measured this between a Mac and an iPhone.

📱

iPhone and iPad

The same editor with keyboard shortcuts, a share sheet in and out, and one pane at a time on a narrow screen.

⚡

Native, free and open source

Pure Swift and SwiftUI on Apple Silicon. MIT license, no account, no telemetry. Every script ships inside the app.

See it in action

How Fen compares

Most tools make you pick between files you own and AI that helps. Fen keeps both.

FenObsidianNotionBeariA Writer
Notes are plain .md files in your foldersYesYesNo, a cloud workspaceNo, a databaseYes, plus an Authorship block in the file
Apps for Mac, iPhone and iPadYes, native SwiftYes, Electron on desktopYesYesYes
Search by meaning, on your deviceYesPlugins onlyYes, in the cloudNot foundNo, words only
Answers cite their sourcesYes, with line numbersNot in the core appYesNo built-in AINo built-in AI
Choose your own AIYes: on-device, Ollama or any compatible endpointThrough pluginsNo, Notion picks the modelBring your own assistant over MCPNo AI features
Approval and Undo for AI editsYes, one gate for all of themNot in the core appAccept or discard, version historyDepends on your assistantNo AI edits
MCP server for agentsYes (Mac), each agent on its own git branchCommunity serversYesYes (Mac)Not found
Set what AI can read, per workspaceYes: none, local only or any providerNo built-in AINoBy tag, over MCPNo AI
Flags notes that contradict each otherYesNot foundNot foundNot foundNot found
Open any .md file where it isYes, any folder on diskInside a vaultImported as a copyImportedThrough Library locations
Clone a GitHub repo and sync with pull requestsYes (pull requests on Mac)PluginNoNoNot found
Export to HTML and PDF from the command lineYes, fen-exportNoNoNoNo
LicenseFree & open source (MIT)Closed. Free app, Sync from $4 a month, AI plugins cost extraClosed. Free plan, AI needs Business at $20 a member a monthClosed. Free app, Pro $2.99 a monthClosed. $49.99 once, per platform

Checked against each tool's official pages on 15 October 2026. Tools change, so check theirs before you decide. Found a mistake? Tell us and we'll fix it.

Install

Mac: download

Get Fen.app.zip from the latest release, unzip it, and drag Fen to Applications. Choose Fen > Check for Updates… to update.

Mac: Homebrew

Install and upgrade with a tap.

brew tap zoharbabin/fen https://github.com/zoharbabin/fen
brew install --cask fen

iPhone, iPad and the Mac App Store

Fen is in App Review. One App Store listing will cover Mac, iPhone and iPad. Until it is out, use the Mac download above.

Build from source

Clone the repository and run swift build. The README has the steps.

What's coming?

A snapshot of the full roadmap. Missing something? Propose a feature or share an idea in the issues.

Later
Live Preview parity (Experimental)
Tables, lists, math, Mermaid and maps already render in place. The rest of the edge cases wait for a later release.
In review
App Store release
The Mac, iPhone and iPad versions are waiting for Apple's review.

Get involved

Fen is a small, focused project and issues, bug reports, and pull requests are all welcome.

MIT licensed Star Fen on GitHub Swift 6, strict concurrency Swift Testing suite Signed & notarized releases

Read CONTRIBUTING.md · Report a bug · Request a feature