Open Source · Apache 2.0

A coding agent that lives in your terminal.

Bring your own key. Fourteen providers, fifty-three models, switchable per project. It reads your repository, runs your commands, and shows you every change before it lands.

$npm install -g mindweave v2.3.0

Windows and Node 20+. macOS and Linux are not supported yet.

Mindweave v2.3.0 LIGHTNING MODE ON · GLM-5.3 Flash
 Read 1 file
  └ Read src/drivers/providerError.ts (182 lines)

 A spent balance and a rate limit arrive looking the same. The classifier
  recognises that the account was refused and quotes the provider's own
  sentence rather than guessing which one it was.

 Update(providerError.ts)                                  ✓ 0 · 118ms
   - const ACCESS = new Set([401, 403]);
    + const ACCESS = new Set([401, 402, 403, 429]);

 Run(npm test)                                     ✓ 2,271 passed · 41.9s

 Worked for 34s · 8.2K tokens

> say something…
  tip: /undo restores the last checkpoint

What it does

every item below ships today

Fourteen providers

DeepSeek, Anthropic, OpenAI, Gemini, Qwen, Kimi, GLM, xAI, Mistral, Meta, MiniMax, Groq, Cerebras and Tencent. /provider switches; the choice is remembered per project.

Reads the repository

A background lane indexes your code with tree-sitter and language servers, costing no tokens, so it opens the right file instead of grepping around for it.

Every change is a diff

Edits arrive as a diff you read in place, with the language server's own errors for that file attached. Checkpoints are taken as it works, and /undo rolls the last turn's file changes back.

Runs your commands

Tests, servers, builds. A long command moves to the background rather than timing out, and the agent picks the results back up. A recognised test run shows its counts, not a wall of passing lines.

Prompt caching, everywhere

The request is split so the stable half caches on every provider that supports it. A multi-step turn re-sends its context at a fraction of the price.

Rules it has to follow

Per-project rules, skills, protected paths and forbidden commands. Ask for one in plain words and it writes the rule itself.

MCP servers

/mcp add connects a server and its tools join the session. Resources and prompts come with it.

Plan before it builds

In Architect mode it researches and presents a plan, and changes nothing until you approve. Approving starts the work in the same turn.

Updates in place

/update installs the newest release and reopens on the exact conversation you were having, rather than leaving you to close the terminal and start over.

Start in four steps

from npm, or built from source
01

Install it

npm install -g mindweave. Needs Node 20 or newer. Building from source instead is below.

02

Run it in your project

mindweave, or mw for short. It roots at the current directory.

03

Paste a key when it asks

On the first run it asks for one and saves it. Use /provider to switch; if it does not have that key yet, it asks for that one too.

04

Say what you want

Describe the change. Watch the tool calls, read the diffs, and press shift+tab to change how much rein it has.

Building from source instead
$ git clone https://github.com/mindweave-cli/Mindweave
$ cd Mindweave
$ npm install
$ npm run build
$ npm link

Providers

53 models · set one key, or several and switch
ProviderEnvironment variableModels
DeepSeekDEEPSEEK_API_KEYV4 Flash, V4 Pro, V4 Flash Vision (reads images)
AnthropicANTHROPIC_API_KEYSonnet 5, Opus 5, Opus 4.8, Fable 5.1, Fable 5, Haiku 4.5
OpenAIOPENAI_API_KEYGPT-5.6 Terra, Sol, Luna
GeminiGEMINI_API_KEY3.8 Flash, 3.7 Flash, 3.1 Pro, 3.5 Flash-Lite, 3.6 Flash, 3.5 Flash, 3.1 Flash-Lite
QwenDASHSCOPE_API_KEYQwen3.7 Plus, Qwen3.8 Max, Qwen3.7 Max, Qwen3.5 Flash
KimiMOONSHOT_API_KEYK2.6, K3, K2.7 Code, K2.5
GLMZAI_API_KEYGLM-5.3, GLM-5.3 Flash (reads images), GLM-5.2, GLM-5, GLM-4.7, GLM-4.7 FlashX
xAIXAI_API_KEYGrok 4.6, Grok 4.5, Grok 4.3
MistralMISTRAL_API_KEYMedium 3.5, Large 3, Small 4, Ministral 8B
GroqGROQ_API_KEYLlama 3.3 70B, GPT-OSS 120B, and whatever else your key serves
CerebrasCEREBRAS_API_KEYGPT-OSS 120B, GLM 4.7, and whatever else your key serves
MetaMODEL_API_KEYMuse Spark 1.3, Muse Spark 1.3 (Contributor), Muse Spark 1.2, Muse Spark 1.2 (Contributor)
MiniMaxMINIMAX_API_KEYM2.7, M3, M2
TencentTOKENHUB_API_KEYHy3, Hy4 Preview

Who's using it

anonymous, opt-out any time
Daily active
Weekly active
Monthly active
Daily active users
No data yet
hover or tap to inspect

Where it stands

Windows only, for now

Mindweave is developed and tested on Windows, and that is what it supports today. The suite does not yet pass on macOS or Linux — it hangs partway rather than failing outright, which points at process handling that has only ever been exercised on one platform.

Built in the open

Mindweave 1 is out, and v2.3.0 is the current release. Every change is written down, including the things that were quietly wrong. Read the changelog →