What is Plexa
Plexa is the orchestration layer above SCP. It runs a tick loop, packs every body’s state into a brain prompt, applies safety rules, dispatches the brain’s tool intent as a direct method call, and remembers what worked across sessions.scp-protocol directly. Plexa starts paying for itself when you have two or more.
SCP vs Plexa
| scp-protocol | @srk0102/plexa | |
|---|---|---|
| Scope | one body | many bodies under one brain |
| Role | protocol + body SDK | orchestrator |
| Memory | pattern store + adaptive memory (per body) | adds vertical memory (per space, cross-session) |
| Safety | reflex rules in the body | adds safety gate + approval hook + injection sanitizer |
| Cost tracking | per-bridge counters | per-space USD totals + cache savings |
| Lateral events | not applicable | space.link(from, to, types) |
When to use which
Use scp-protocol when:- You have one body.
- You want full control over the tick loop.
- You do not need cross-session memory at the orchestrator level.
- You have several bodies and want one LLM coordinating them.
- You need cross-session memory that the brain can search before deciding.
- You want a hard safety gate that cannot be bypassed by the LLM.
- You want bodies to talk to each other directly without going through the brain.