For Agent Users¶
Pick your platform, install the plugin, and you're done. memsearch captures conversations, indexes them, and recalls relevant context — all automatically.
What can you use it for?¶
- Resume debugging threads — ask how a similar Redis, Docker, database, or deployment issue was fixed last time.
- Recover decision rationale — find why the project chose one architecture, library, migration path, or API design over another.
- Trace feature history — understand how a feature evolved across sessions, including the files changed and tradeoffs discussed.
- Do code archaeology — ask when and why a module, config, or workflow was changed before touching it again.
- Find the right session to resume — ask which previous conversation covered a topic, recover the relevant context, and continue from there.
- Carry context across agents — keep Claude Code, Codex CLI, OpenClaw, and OpenCode working from the same project memory.
Choose Your Platform¶
| Platform | Install | Maturity |
|---|---|---|
| Claude Code | Marketplace or --plugin-dir |
Most mature |
| OpenClaw | openclaw plugins install --force + hook permissions |
Stable |
| OpenCode | Add to opencode.json plugin array |
Stable |
| Codex CLI | bash install.sh |
Stable |
What Happens Automatically¶
Once installed, the plugin handles everything:
| When | What |
|---|---|
| Session starts | Recent memories injected as context |
| Each turn ends | Conversation summarized and saved to daily .md |
| You ask about history | Agent searches memory via built-in tools/skill |
How Recall Works (3 Layers)¶
Plugins use progressive disclosure — the agent decides how deep to go:
- L1 (search) — find relevant chunks via semantic + keyword hybrid search
- L2 (expand) — get full markdown sections around a match
- L3 (transcript) — drill into the original conversation for exact dialogue
Simple questions stop at L1. Complex questions go deeper.
Platform Details¶
Each platform adapts the same architecture to its own plugin system:
- Claude Code: Full guide →
- OpenClaw: Full guide →
- OpenCode: Full guide →
- Codex CLI: Full guide →
See the Platform Comparison for a detailed feature matrix.