# IWE > IWE is a Markdown knowledge base you and your AI agent work on together: a > local folder of plain markdown treated as a knowledge graph. An LSP server (iwes) gives editors > IDE features over notes; the CLI (iwe) and MCP server (iwec) give agents > search, structured retrieval, guarded edits, and schema validation over > the same files. No cloud, no database, no built-in model. Free and open > source (Apache-2.0). Install: brew tap iwe-org/iwe && brew install iwe (or: cargo install iwe iwes iwec) Initialize: run `iwe init` inside any folder of markdown — existing notes work as-is MCP: run `iwec` with the notes folder as its working directory ## Docs - [Get started](https://iwe.md/get-started/): install, initialize, first queries - [Agent tools](https://iwe.md/docs/agentic/): find, retrieve, update, MCP server - [Query language](https://iwe.md/docs/concepts/query-language/): filters over frontmatter and graph edges - [Document schemas](https://iwe.md/docs/concepts/document-schema/): shape validation for agent writes - [CLI reference](https://iwe.md/docs/cli/): every command - [Editor setup](https://iwe.md/docs/editors/): VS Code, Neovim, Zed, Helix - [Templates](https://iwe.md/templates/): pre-built workspaces with schemas and skills - [Query JSON Schema](https://iwe.md/schemas/query/draft/2026-08/schema): the query language, JSON Schema draft 2020-12, for validating a query before running it ## Full text - [All documentation in one file](https://iwe.md/llms-full.txt): every docs page as plain markdown ## Source - [GitHub](https://github.com/iwe-org/iwe): Rust, Apache-2.0