Get started
IWE is a Markdown knowledge base you and your AI agent work on together. It turns a directory of markdown files into a knowledge graph: a connected structure you browse in the iWe app or your editor and your AI queries from the command line. Every interface works on the same files and the same links. It needs no cloud service and no database, and your notes stay plain files.
Pick your setup. Work in the iWe Mac app or in your own editor. Either way your agent works on the same files, whether it is Claude Code, Codex, Gemini, or any tool that speaks the Model Context Protocol (MCP).
Use the iWe app with your agent
iWe for Mac is a native app for your folder of markdown. Claude Code or Codex runs inside it on your own login and edits the document while you watch. Requires macOS 15 or later.
Download for Mac, or tour the app first.
Or use your editor with your agent
The LSP server turns VS Code, Neovim, Zed, or Helix into a knowledge tool: navigate links like code, trace backlinks, extract a section into its own note, rename a file and every reference follows. Formatting on save keeps titles, headers, and links consistent across the graph.
Give your agents memory
Agents reach the same graph through the CLI or the MCP server. Search finds the entry point; one retrieve call expands the surrounding structure into context. Writes are guarded: every edit declares what it expects to touch before anything lands, and schemas keep documents in the shape you defined.
iwe retrieve --lexical "auth rewrite" --expand-includes 2
Start in five minutes
Install
brew install iwe-org/iwe/iwe
Or npm install -g @iwe-org/iwe on any platform, cargo install iwe iwes iwec, the editor extension for VS Code or Zed, or a release binary. Details in how to install.
Initialize
Point IWE at your notes. An existing folder of markdown works as-is:
cd ~/notes
iwe init
init reads your files first and fits the configuration to the conventions you already use.
Pick your path
Or hand it to your agent
Paste this into Claude Code, or any agent with shell access, and it does the install, the init, and the MCP wiring:
Set up IWE for my notes: install it (brew install iwe-org/iwe/iwe,
or cargo install iwe iwes iwec), run `iwe init` in my notes directory, then
add the `iwec` MCP server with its working directory set to that folder.
Docs: https://iwe.md/llms.txt
Go further
- Your editor: step-by-step guides for Zed, Helix, Neovim and VS Code.
- Markdown as a database: query your Markdown files by frontmatter, links and full text, then read why it works.
- Open Knowledge Format: create and validate OKF 0.2 bundles with
iwe init --okfandiwe schema validate. - Choosing a tool: IWE vs markdown-oxide vs Marksman and Obsidian vs an editor setup.