agentmemory
Skill1 starsChanged 8 months agoApache-2.0View on GitHub
Persistent memory for AI coding agents - remembers everything across sessions so you don't have to re-explain
2 other projects use a version of this.
Adopted by
Most recently taken up by
- PanPanFR/oh-my-openkilotheir own version, first seen Oct 22, 2026
- webzler/agentMemorytheir own version, first seen Jan 21, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- webzler/agentMemory★ 32same name
- PanPanFR/oh-my-openkilo★ 9same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- AGENTS.mdAGENTS.md
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Add this to your opencode.json:
- Very specific: line 44
Use /recall <query> or memory_smart_search MCP tool to search past observations.
- Very specific: line 49
Use /remember <what to remember> or memory_save MCP tool to save insights.
- Very specific: line 54
Use /session-history to see recent session summaries.
- Very specific: line 57
Use /forget to delete observations or sessions.
- Distinctive: line 83
If MCP tools aren't available:
- Distinctive: line 85
Check OpenCode config has correct MCP entry
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AgentMemory - Persistent Memory for AI Coding Agents
agentmemory silently captures what your agent does, compresses it into searchable memory, and injects the right context when the next session starts.
Quick Start
# Terminal 1: Start the memory server
npx @agentmemory/agentmemory
# Terminal 2: Add to OpenCode
# Edit opencode.json and add the MCP configConfiguration for OpenCode
Add this to your opencode.json:
{
"mcp": {
"agentmemory": {
"type": "local",
"command": ["npx", "-y", "@agentmemory/mcp"],
"enabled": true,
"env": {
"AGENTMEMORY_URL": "http://localhost:3111"
}
}
}
}Commands
Search Memory
Use /recall <query> or memory_smart_search MCP tool to search past observations.
Example: /recall JWT auth middleware
Remember Something
Use /remember <what to remember> or memory_save MCP tool to save insights.
Example: /remember Use jose package instead of jsonwebtoken for Edge compatibility
Session History
Use /session-history to see recent session summaries.
Forget
Use /forget to delete observations or sessions.
What Gets Captured
The system automatically captures:
- User prompts
- Tool usage (file edits, tests, commands)
- Error contexts
- Session summaries
- Sub-agent lifecycle
Key MCP Tools
memory_smart_search- Hybrid semantic + keyword searchmemory_save- Save an insight, decision, or patternmemory_recall- Search past observationsmemory_sessions- List recent sessionsmemory_profile- Project profile (concepts, files, patterns)memory_file_history- Past observations about specific files
Viewer
Open http://localhost:3113 to watch memory build live with session replay, knowledge graph, and health dashboard.
Troubleshooting
If MCP tools aren't available:
- Confirm agentmemory server is running (
npx @agentmemory/agentmemory) - Check OpenCode config has correct MCP entry
- Restart OpenCode after config changes
For more info: https://github.com/rohitg00/agentmemory
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

