@coree-ai/opencode
v0.15.0
Published
Persistent memory and code intelligence for AI agents
Downloads
590
Readme
Coree opencode Plugin
Coree provides persistent memory and code intelligence for AI agents. This plugin registers the coree MCP server and handles lifecycle events in opencode.
Features
- MCP Server: Automatically registers the coree MCP server in opencode.
- Automatic context injection: Injects relevant memories on session start and
live memory/code suggestions on every prompt, via opencode's
chat.messagehook. - Compaction-aware: Re-injects session context after the conversation is compacted.
- Agent Instructions:
opencode.mdtells the agent when and how to use coree's tools.
Installation
Add the plugin to your opencode.json:
{
"plugin": ["@coree-ai/opencode"]
}Agent instructions (optional)
Add opencode.md to your project root (or copy to ~/.config/opencode/AGENTS.md):
curl -fsSL https://raw.githubusercontent.com/coree-ai/opencode/main/opencode.md \
-o opencode.mdVerify
Start an opencode session and run:
call the diagnose toolThe diagnose MCP tool reports server state, database status, and any
initialisation errors.
Usage
Once configured, Coree provides MCP tools. Ask opencode to search your codebase or memories:
search for how the indexing worksSee opencode.md for detailed usage guidelines.
