Skip to content
jkrandom edited this page Aug 12, 2026 · 2 revisions

opencode-plugin-peers Wiki

Cross-session messaging plugin for opencode — let independent opencode instances on the same machine discover each other and exchange plain-text messages. Modeled after Claude Code's cross-session messaging.

Pages

Page Description
Architecture Protocol v2, registry, discovery, delivery pipeline, permission model
Commands-Reference Detailed reference for all /peers* commands and agent tools
Configuration-Guide All plugin options with examples and recommended setups
Security-Model Trust boundaries, prompt injection, and permission guardrails
Development-&-Testing Build, test, publish, and real OpenCode E2E verification
Troubleshooting Common issues and solutions

Quick Links

Quick Start

# Install
opencode plugin -g opencode-plugin-peers

# Name your instance
/peers-name frontend

# See who's online
/peers

# Let your agent send a message
Use send_message to tell "backend" that the API contract changed.

Clone this wiki locally