1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
The three mneme projects are designed to work together as a complete AI coding ecosystem.
```bash
cargo install mneme
cargo install mneme-ai
cargo install mneme-guardian
brew tap daddydiaz2/homebrew-tap
brew install mneme
brew install mneme-ai
brew install mneme-guardian
```
```bash
mneme serve & # start HTTP server (optional)
mneme-ai init # ~/.config/mneme-ai/config.toml
mneme-ai install opencode # writes MCP config
mneme-ai install claude-code # writes MCP config
mneme-ai install cursor # writes MCP config
cd /path/to/your-project
mneme-g init # ~/.config/mneme-guardian/config.toml
mneme-g install # .git/hooks/pre-commit
```
```
┌─────────────────────────────────────────────────────────┐
│ Your Project │
│ ┌──────────────────────────────────────────────────┐ │
│ │ git commit │ │
│ │ ↓ │ │
│ │ pre-commit hook → mneme-g run │ │
│ │ ↓ │ │
│ │ mneme-g → AI provider → review results │ │
│ │ ↓ │ │
│ │ mneme save --type review (results stored) │ │
│ └──────────────────────────────────────────────────┘ │
│ │
│ Next session: │
│ mneme search "auth bug" → finds past decisions │
└─────────────────────────────────────────────────────────┘
```
Since mneme-guardian automatically saves review results to mneme:
```bash
mneme search "code review" --project my-project
mneme search "BLOCKER" --project my-project
mneme context --project my-project
mneme graph --project my-project
```
```yaml
name: Code Review
on: [pull_request]
jobs:
review:
```
```bash
mneme-g run
MNEME_G_PROVIDER=claude mneme-g run
MNEME_G_PROVIDER=ollama MNEME_G_MODEL=qwen2.5-coder:7b mneme-g run
```