---
name: "Give coding agents repo-local project memory with brain.md"
slug: "give-coding-agents-repo-local-project-memory-with-brain-md"
description: "Initialize and maintain a repo-native Markdown memory layer so coding agents preserve durable decisions, requirements, constraints, and rationale across sessions."
github_stars: 438
verification: "security_reviewed"
source: "https://github.com/mindmuxai/brain.md"
author: "MindMux AI"
publisher_type: "organization"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "mindmuxai/brain.md"
  github_stars: 438
  npm_package: "@mindmux/brain-md"
  npm_weekly_downloads: 92
---

# Give coding agents repo-local project memory with brain.md

Initialize and maintain a repo-native Markdown memory layer so coding agents preserve durable decisions, requirements, constraints, and rationale across sessions.

## Prerequisites

Node.js, npm or npx, git repository, supported coding agent that reads project instruction files

## Installation

Install or set up from the source-backed instructions:

Install with `npm install -g @mindmux/brain-md`, run `brain setup -y`, then initialize a target project with `brain init`. For one-off use, run `npx @mindmux/brain-md setup -y` and `npx @mindmux/brain-md init`.

- Source: https://github.com/mindmuxai/brain.md

## Documentation

- https://projectbrain.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/give-coding-agents-repo-local-project-memory-with-brain-md/)
