oc-solomemory-devPersistent memory plugin for OpenCode — your AI agent remembers across sessions and projects
0
232
40 in 7 days
24.8
Multi-signal model
6 months ago
2026-02-20
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oc-solomemory-dev@1.0.8-dev.20260220054123.39f99b9"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["oc-solomemory-dev@1.0.8-dev.20260220054123.39f99b9"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D oc-solomemory-devopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
Solo Memory for OpenCode
Persistent memory plugin for OpenCode. Your AI agent remembers across sessions and projects.
Solo Memory gives your coding agent long-term memory — preferences you've shared, decisions you've made, context from past sessions. It all carries forward automatically.
Install
Get your API key at solomemory.com, then:
npx oc-solomemory@latest install --api-key=your-key
Restart OpenCode. Done.
What It Does
- Remembers context — Your preferences, project decisions, and past conversations are injected into every new session
- Syncs conversations — Sessions are synced to Solo Memory, building knowledge over time
- Scopes memory — Memories are organized by user, project, repo, and branch
- Keyword detection — Say "remember this" and it saves to memory
- Codebase indexing — Run
/solomemory-initto memorize your project structure
How It Works
You start a session
→ Plugin fetches your profile + relevant memories
→ Agent has full context from day one
You work with the agent
→ Session syncs to Solo Memory when idle
Next session
→ Agent already knows what you discussed
Memory Scopes
| Scope | What it remembers | Example |
|---|---|---|
| User | Your preferences across all projects | "Prefers TypeScript strict mode" |
| Project | Project-specific context | "Uses Bun, not Node" |
| Repo | Repository knowledge | "Auth uses JWT with refresh tokens" |
| Branch | Branch-specific work | "Working on dark mode feature" |
Configuration
See docs/CONFIG.md for advanced options.
Contributing
See docs/CONTRIBUTING.md.