IWE Knowledge Graph & Agent Memory

Turn local Markdown into a queryable knowledge graph and inspectable memory for AI agents.

Source repo
iwe-org/iwe
Stars
★ 1.9k
Last updated
1d ago iwe-v0.37.0
FARS reviewed
Nov 08, 2026 +7 new
License
Apache-2.0
Primary language
Rust

At a glance

How it runs
CLIMCP serverIDE extension
Works with
Universal · cross-platformCodex · Claude Code · Claude.ai
Cost
Free, no paid service needed
Setup effort
Low · running in minutes
You'll need
IWE CLI 0.20.0 or newer for the Claude Code memory pluginShell / CLILocal filesystemMCP Server
Typical use
A researcher with a large Markdown corpus who wants queries over topic hierarchy, frontmatter, and cross-references without surrendering ownership of local files.
Not a fit if
  • Teams wanting built-in AI: IWE ships none and needs a separate Claude, Codex, or Gemini client.
  • Collections organized mainly by folders: the graph depends on IWE's inclusion-link convention.
  • Developers embedding the library: the published liwe crate is not API-stable.
Website
iwe.md ↗ set on GitHub
Maintenance
Commits in the last 30 dayslast commit 2026-12-01latest release iwe-v0.37.0 (2026-12-01)+2.1 ★/day over 7 days
Source review
69/100 · Some gaps

What does this agent do, and when should you use it?

IWE is a local-first, Rust-based knowledge system that turns a directory of Markdown files into a graph of inclusion links, cross-references, and multi-parent relationships. It provides the iwe CLI, the iwec MCP server, and an LSP implementation so people and AI agents can operate on the same files. Agents can search, retrieve, create, and refactor notes with parent, child, and linked context, while the resulting knowledge remains ordinary Markdown that can be reviewed and versioned with Git. Mutations can declare their expected scope and be checked against document schemas, dangling links, and orphan pages. IWE contains no built-in AI and needs no cloud database; its deployment boundary is the selected local notes directory, although editor, MCP-client, and automatic session-memory support vary by runtime.

IWE reads local .md files, treating a link on its own line as an inclusion edge and ordinary inline links as cross-references. iwe find performs fuzzy and full-text ranked searches with filters over frontmatter and graph edges; iwe retrieve returns a document with linked context; and iwe tree displays the hierarchy from a selected node. iwe update applies guarded frontmatter and targeted block edits, while iwe schema infers or validates document schemas; the CLI also includes commands such as new, extract, inline, rename, delete, normalize, and export. The iwec server exposes search, retrieval, creation, and refactoring through MCP and watches the underlying files for changes. Its LSP supplies navigation, references, hover previews, link completion, rename, formatting, and templates to editors including VS Code, Neovim, Zed, and Helix. A separate IWE plugin for Claude Code can capture established session knowledge into an IWE workspace inside the repository, producing reviewable Markdown diffs.

  1. A researcher with a large Markdown corpus who wants queries over topic hierarchy, frontmatter, and cross-references without surrendering ownership of local files.
  2. A VS Code, Neovim, Zed, or Helix user who wants IDE-style link completion, backlinks, renaming, and structural refactoring for a personal knowledge base.
  3. A software team that wants coding-agent memory stored as reviewable, version-controlled Markdown inside each repository.
  4. A Claude Desktop, Cursor, or Windsurf user who wants an MCP connection for searching, reading, creating, and refactoring local notes.
  5. A team maintaining OKF bundles that needs iwe init --okf, mechanical validation with iwe schema validate, and queries over YAML frontmatter.
  6. A personal knowledge-management user with thousands of notes who needs graph navigation and structured retrieval without migrating the collection into a proprietary database.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • brew install iwe-org/iwe/iwe
  • npm install -g @iwe-org/iwe
  • cargo install iwe iwes iwec
  • npx skills add iwe-org/skills
Install notes cover
Windows · macOS · Linux

How do you install or deploy this agent?

Choose one supported installation route: on macOS or Linux run brew install iwe-org/iwe/iwe; on macOS, Linux, or Windows run npm install -g @iwe-org/iwe; with Rust run cargo install iwe iwes iwec; or use the community-maintained conda-forge package with conda install -c conda-forge iwe. Enter the notes directory and run iwe init. Automatic Claude Code memory requires IWE CLI 0.20.0 or newer on PATH; then run /plugin marketplace add iwe-org/skills, /plugin install iwe@iwe-org, and /iwe:init in the repository to be remembered. Codex, Cursor, and OpenCode users can install the /init, /distill, /reflect, and /graph project skills with npx skills add iwe-org/skills; those runtimes invoke the skills manually.

How do you use this agent?

Initialize a workspace with cd ~/notes followed by iwe init. A basic retrieval flow is iwe find --fuzzy auth, then iwe retrieve --key authentication --expand-includes 2 for the note and surrounding hierarchy, or iwe tree --key oauth to inspect its subtree. For an MCP client, configure {"mcpServers":{"iwe":{"command":"iwec","cwd":"~/notes"}}}; alternatively use {"mcpServers":{"iwe":{"command":"npx","args":["-y","@iwe-org/mcp"],"cwd":"~/notes"}}} to fetch the server on demand. The server operates on its working directory, so cwd must point to the intended notes collection. After installing the Claude Code plugin, run /iwe:init in the repository that should retain memory; its background capture invokes only iwe, so permission can be limited to Bash(iwe:*). Hooks exit silently when MEMORY.md is absent or the CLI is not installed.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

External MCP tool bridge

Inherits capabilities of connected MCP servers; audit third-party servers before enabling.

What are this agent's strengths and limitations?

Pros
  • Notes remain plain local Markdown rather than records in a cloud or proprietary store, making them directly editable, reviewable, and suitable for Git versioning.
  • The CLI, MCP server, and LSP operate on one graph, avoiding separate knowledge stores for humans and agents.
  • Retrieval can expand a search hit into parent context, children, and cross-references instead of returning an isolated matching passage.
  • Writes can use expect guards to declare their blast radius; MCP makes those guards mandatory and rejects schema-invalid changes.
  • Multi-parent relationships let one note belong to several topics without duplicating its contents.
  • OKF scaffolding, validation, and frontmatter queries are included.
Limitations
  • IWE has no built-in AI, so users must separately provide Claude, Codex, Gemini, or another compatible client.
  • Automatic session capture is specific to the Claude Code plugin; Codex, Cursor, and OpenCode receive manually invoked skills instead.
  • The Claude Code plugin requires IWE CLI 0.20.0 or newer and shell permission for iwe commands.
  • An MCP client must set the server working directory correctly or it will serve the wrong notes collection.
  • The published liwe Rust library is not API-stable, creating upgrade risk for applications that embed it directly.
  • The graph depends on IWE's inclusion-link convention, so an existing collection organized mainly by folders may require link restructuring.

How does this agent compare with similar options?

Unlike moving notes into an actual database, IWE keeps them as local Markdown while adding database-style queries through links and YAML frontmatter. Unlike a conventional folder tree, one note can sit under multiple topics. Compared with retrieval that guesses context from vector similarity alone, IWE emphasizes explicit parent-child and cross-reference structure. It can also complement ripgrep, full-text, or vector search: an external tool finds the note, and IWE supplies its surrounding graph context.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
IWE Knowledge Graph & Agent Memory This agent 69 · Some gaps CLIFree ★ 1.9k 1d ago Rust Codex · Claude Code · Claude.ai
Rowboat 69 · Some gaps Desktop appFree + model costs ★ 18k today TypeScript Codex · Claude Code
SwarmVault 75 · Good CLIFree + model costs ★ 741 5mo ago TypeScript Codex · Claude Code
GBrain 82 · Good CLIFreemium ★ 34k today TypeScript ChatGPT · Codex · Claude Code · OpenAI API

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
69/ 100 5-point scale 3.5 / 5
This review covers the source as of Nov 08, 2026. The project has shipped 7 stable release(s) since, which have not been re-reviewed. The score and verdict describe the reviewed version only. Recent releases ↓
Trust 14/29
Reliability 9/14
Adaptability 15/18
Convention 14/18
Effectiveness 12/13
Verifiability 5/8
Why each dimension lost points
Trust14 / 29 · 2.4/5

The source shows CLI, LSP, and MCP services; MCP defaults to stdio, HTTP binds to 127.0.0.1 by default, and the workspace can be specified explicitly, supporting ordinary least privilege (2). The README says notes are local Markdown that users can inspect, edit, and delete, and that AI models are not bundled. Confirmation details for memory enablement and bulk document operations are incomplete, so confirmation and sensitive-data handling score 1. File and session data flows are partly described, but the full processing boundary is not shown (2). Dependencies and release checksums are visible, but no dependency audit or vulnerability response evidence is provided (1). The docs advise backing up before bulk operations, and the Mac app is described as undoable, but general CLI rollback guidance is limited (1). Repository authorship, Apache licensing, and release automation are documented. Unverified publisher identity is treated as unknown and not penalized; attribution scores 2.

Reliability9 / 14 · 3.2/5

The README, installation guide, and source files support the product description of CLI/LSP/MCP, cross-platform installation, and local Markdown. Configuration and CLI troubleshooting are also concrete (self-consistency 2). Homebrew, npm, Cargo, prebuilt binaries, and source installation are documented, with release workflows and an npm smoke-test step (dependency availability 2). Troubleshooting covers common issues, empty workspaces, cycles, and debug levels; some errors exit directly or use expect, so failure messages are useful but incomplete (2).

Adaptability15 / 18 · 4.2/5

The product supports personal notes, editor integration, CLI automation, and several AI assistants, across multiple operating systems and editors; the scenarios and environment fit are well evidenced (3, 3). CLI commands and hidden unstable internal commands have some boundary labels. MCP supports stdio or HTTP and an explicit workspace, but agent permissions and behavior boundaries are not systematically documented (2). Setup and MCP connection steps are fairly clear, though deciding when to enable a plugin or tool still relies on user judgment; trigger precision scores 2.

Convention14 / 18 · 3.9/5

The README organizes usage modes, features, installation, agent setup, and community participation, with separate configuration, installation, and troubleshooting guides (3). Installation methods, platform requirements, and binary differences are explained well (3). CLI, LSP, and MCP naming is stable in the supplied files, though multiple integrations and package names add some cognitive load (2). Command examples, configuration examples, common issues, and edge cases provide good coverage, but not a complete FAQ (2). Backup guidance and behaviors for empty workspaces and missing references are documented, but other side-effect and compatibility boundaries are not fully covered (2). Apache-2.0 is consistent between Cargo metadata and the README (3). A version is shown and releases are automated, but the supplied material contains no changelog content, so version history scores 1. The author, issue/discussion channels, and release automation are clear; maintenance responsibility is still presented mainly through the author and community channels (2).

Effectiveness12 / 13 · 4.6/5

Plain Markdown files remain readable, editable, and versionable across tools; the CLI supports search and organization, the LSP supports editing, and MCP lets agents use shared context. The output is suitable for further human editing (3). Shared, inspectable project memory and a cross-tool knowledge graph provide clear complementary value (3). Multiple installation and integration choices add flexibility but also configuration and document-review/backup costs; no cost measurement is provided (2).

Verifiability5 / 8 · 3.1/5

Product claims are traceable across the README, installation/configuration/troubleshooting guides, Cargo metadata, entry-point source, and release workflow (2). Several files corroborate installation targets, tool names, platform support, and default MCP transport, while effectiveness claims remain primarily project-authored (2). The docs give concrete behavior and allow direct code defaults to be distinguished from README product descriptions, but there is no independent evaluation evidence (2).

Risks and how to mitigate them
  • Back up before bulk normalize or other document changes; the supplied material does not show a general CLI undo mechanism.
  • When using an AI agent, note contents may be read or changed by that agent. Follow its account and settings requirements, and review generated file changes.
Evidence confidence: Low Reviewed Nov 08, 2026 Reviewed revision 930c184b7cc8 New commits since this review; the score may not cover them
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/iwe.svg)](https://followagents.com/en/agents/iwe)
<a href="https://followagents.com/en/agents/iwe"><img src="https://followagents.com/badge/iwe.svg" alt="FARS review"></a>

Recent releases

Latest entries from the project's GitHub Releases. Notes are quoted from upstream as written, not rewritten or tested by FollowAgents.

  1. iwe-v0.37.0 v0.37.0
    Release notes excerpt
    Footnotes are now first-class: [^label] references and their definitions survive normalize, update, extract, inline and squash, can be queried with the $footnote operator, and the editor supports go to definition, hover, references, completion, rename and folding for them. This release also fixes a stray space written between a code fence and its language, a * at the start of a paragraph flipping on every normalize, and the iwe_find MCP tool description. …
    View on GitHub ↗
  2. iwe-v0.36.1 v0.36.1
    Release notes excerpt
    A security fix: symbolic links inside a workspace can no longer be used to read or overwrite files outside it. Symlinked notes are skipped when the workspace loads, and creating or writing a note whose file or folder is a symlink now fails in the CLI and the MCP server. Thanks @pzr21 for reporting the issue. iwe Changed - Symlinked notes are no longer loaded and notes can't be written through a symlinked file or folder (previously a symlink could read or overwrite files outside the workspace) …
    View on GitHub ↗
  3. iwe-v0.36.0 v0.36.0
    Release notes excerpt
    Notes with a dot in their name, like notes.draft, now work like any other note: links to them are found, written so they read back, and kept up to date by iwe rename and by the editor and MCP rename. Wiki links to dotted names resolve too, and go to definition opens the right file for notes whose own name ends in .md. Thanks @acroaticum-ns for reporting the broken rename. iwe Changed …
    View on GitHub ↗

FAQ

Does IWE require a paid model or cloud service?
IWE itself includes no AI and requires no cloud database. Its core files and graph are local; any cost for Claude, Codex, Gemini, or another MCP-capable client comes from the service the user chooses separately.
Can an agent modify the entire knowledge base without limits?
MCP mutations must include expect guards declaring the permitted number of affected documents and blocks. A mismatch aborts the complete update, and schema-invalid writes are rejected; mutations can also surface dangling-link and orphan-page warnings.
Can I use IWE without an MCP client?
Yes. People and shell-based agents can use the iwe CLI directly, while editor users can access navigation, completion, and refactoring through LSP. MCP is one integration path rather than a requirement for every workflow.
Will Claude Code memory activate in every repository?
No. It must be initialized with /iwe:init in the repository that should be remembered. Without MEMORY.md, or when the CLI is unavailable, the hooks exit silently.
Is the Rust library a stable embedding interface?
The liwe crate is published but is not yet API-stable. The documented practical integration surfaces are currently the CLI and MCP server; applications using the library should pin its version.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts