neuron-explorer
Qwen3.5‑4B 전용 조향형 뉴런 탐색기, 모든 MLP 뉴런을 밀어 결과를 보관·탐색
증거와 함께 코딩 에이전트 메모리를 저장·검색해 작업 간 컨텍스트 유지
Store and retrieve coding agent memories with evidence to maintain repository context across tasks
AI가 요약 · README에서
개발 도구TypeScript · JavaScriptGitHub @Nei-Xin직접 설치운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
설치형 프로젝트는 배포 도메인 없이도 확인할 수 있습니다. 개인 저장소는 GitHub 로그인으로, 조직 저장소는 위의 저장소 확인 파일로 직접 확인해 주세요.
README 전체를 불러오는 중입니다. 아래는 저장된 발췌입니다.
Evidence-backed repository memory for coding agents.
RepoMind helps coding agents carry useful repository knowledge from one task to the next. It captures task evidence, turns reusable findings into memories, and retrieves relevant context when a new task begins. OpenCode, Claude Code, and MCP clients can work with the same repository memory.
A later session can recall why a module was designed a certain way, which command verified a change, or how a previous issue was resolved—and inspect the evidence behind that knowledge.README 전문 보기 ↗Evidence-backed repository memory for coding agents.
RepoMind helps coding agents carry useful repository knowledge from one task to the next. It captures task evidence, turns reusable findings into memories, and retrieves relevant context when a new task begins. OpenCode, Claude Code, Pi, Codex, and MCP clients can work with the same repository memory.
A later session can recall why a module was designed a certain way, which command verified a change, or how a previous issue was resolved—and inspect the evidence behind that knowledge.
Working in an existing repository means learning more than its source code. Agents also need its conventions, design decisions, verification commands, and lessons from earlier tasks. Those findings are often scattered across conversations and have to be rediscovered in a fresh session.
RepoMind makes that knowledge reusable:
flowchart LR
Task[New task] --> Recall[Retrieve repository context]
Recall --> Agent[Agent works on the repository]
Agent --> Evidence[Capture task evidence]
Evidence --> Memory[Store reusable memories]
Memory --> Recall
RepoMind uses a Session to connect a task with its starting repository state, observed activity, final response, and verification results. Successful tasks can produce reusable memories. Host-managed runs and configured interactive integrations also maintain derived context after a successful commit.
The memory model has five layers:
| Layer | What it contains | What it is useful for |
|---|---|---|
| L0 — Activity and evidence | Task requests, tool activity, Git snapshots, diffs, and command results | Inspecting what happened and supporting conclusions |
| L1 — Individual memories | Repository facts, conventions, decisions, solutions, and verified commands | Recalling specific knowledge for a task |
| L2 — Module narratives | Bounded summaries derived from memories about a module | Understanding module responsibilities and decisions |
| L3 — Repository profile | A compact overview derived from repository facts and module context | Orienting an agent at the start of a session |
| L4 — Skill candidates | Repeated successful workflows proposed for review | Turning recurring work into reusable instructions |
L2 and L3 retain links to their sources. L4 candidates require approval before export. See the memory model and architecture for more detail.
Requirements: Node.js 22.5+ and Git. Install OpenCode or Claude Code to run agent tasks through RepoMind; the CLI and MCP memory operations can also be used independently.
Install from the source checkout to use the current RC.3 functionality:
git clone https://github.com/Nei-Xin/repomind.git
cd repomind
npm ci
npm run build
npm link
A versioned RC.2 tarball is also available through GitHub Releases. The unscoped npm package repomind belongs to another project; use this repository's source or release artifact.
RC.3 publication is being prepared. See the RC.3 release notes for upgrade instructions and known limits, and release readiness for the remaining CI gates.
Inside the Git repository you want RepoMind to remember:
repomind init
repomind doctor --runner opencode
repomind run --task "Fix invoice decimal arithmetic and verify the change" --runner opencode
RepoMind retrieves repository context before launching the agent, captures the task's evidence, and closes the Session when the run ends. Successful commits update reusable memory and derived context.
For Claude Code, use --runner claude:
repomind doctor --runner claude
repomind run --task "Explain the invoice module and verify its tests" --runner claude
Omit --model to use the selected agent's default. Use --context-budget to control the amount of injected repository context; the default is 12,000 characters.
repomind run manages retrieval, agent execution, evidence capture, and Session completion. This is the quickest way to try the complete workflow.
See the daily workflow guide for task history, memory review, and ongoing use.
Configure OpenCode once for the target repository, then launch it normally:
repomind opencode setup --repo D:\path\to\repository
repomind opencode status --repo D:\path\to\repository
cd D:\path\to\repository
opencode
The project plugin retrieves context for root-session user messages, captures tool activity—including delegated child-session activity—and closes the task when the root session becomes idle. It uses a local Bridge and does not require the model to call MCP tools.
Claude Code interactive integration uses project hooks and the same local Bridge; Claude keeps talking to its own model endpoint. Configure the repository once, then run claude normally:
repomind claude setup --repo D:\path\to\repository
repomind doctor claude --repo D:\path\to\repository
See OpenCode integration and Claude Code integration for the available workflows and setup details.
Pi, Codex and Gemini CLI also support automatic native recall and activity capture:
repomind pi setup --repo /path/to/repository
repomind codex setup --repo /path/to/repository
repomind gemini setup --repo /path/to/repository
Then use pi, codex or gemini normally. Trust the project extension in Pi; in Codex,
trust the project and review RepoMind definitions with /hooks. Validated with
Pi 1.4.0, Codex CLI 0.165.0 and Gemini CLI 0.66.0. Codex Bash hooks currently omit exit codes, so
their raw output cannot establish verified-command evidence. See
Pi integration, Codex integration and Gemini CLI integration
for setup, lifecycle and evidence limits. These native integrations do not add
new repomind run --runner targets.
Add RepoMind to the client's MCP configuration:
{
"mcpServers": {
"repomind": {
"command": "repomind",
"args": ["mcp"]
}
}
}
The MCP tools cover Session management, memory search and inspection, memory maintenance, module narratives, repository profiles, and Skill candidates. See the MCP guide and client examples for repository selection and tool configuration.
Search for a finding and inspect its supporting evidence:
repomind search "invoice decimal arithmetic" --json
repomind inspect <memory-id> --json
Record a repository fact directly:
repomind record --type convention --title "Public API types" --content "Public APIs export explicit TypeScript types."
Review knowledge affected by code changes and browse the derived layers:
repomind review
repomind modules --json
repomind profile --json
repomind skills --status pending --json
You can validate, correct, invalidate, or forget memories through audited operations. A changed file marks related knowledge for review; you decide whether the conclusion still applies. Memory governance explains these operations.
For manual Session management, use repomind start and repomind commit. For an existing repository with no memory yet, the bootstrap workflow generates candidates for review before import.
RepoMind stores memory in a local SQLite database with FTS5 search. Repository identity lives in .repomind/project.json; memory data lives under ~/.repomind/repositories/<projectId>/repomind.db. Set REPOMIND_DATA_DIR to choose another data directory. Interactive setup also installs project-specific plugin or hook configuration.
The default workflow uses deterministic memory extraction and local lexical search. Additional capabilities are opt-in:
| Capability | Purpose | Documentation |
|---|---|---|
| Vector search | Combine lexical and vector retrieval using a configured embedding provider | Vector search |
| Remote LLM extraction | Generate structured memory candidates from a completed Session's evidence | Remote extraction |
| Export and backup | Move or recover repository memory, with optional encrypted archives | Data portability |
| Skill candidates | Review and export repeated successful workflows | Skill candidates |
Remote providers receive the relevant text after pattern-based secret redaction; vector queries are also redacted before embedding. See SECURITY.md for the data boundaries and redaction model.
npm run typecheck
npm test
npm run build
The project includes tests for memory lifecycle, retrieval, agent integrations, and data portability, plus retrieval benchmarks and cross-session agent experiments. Evaluation methods and results are documented separately:
For deeper reading, see architecture, design decisions, contributing, and troubleshooting. Version history is maintained in the changelog.