Skip to main content

Welcome

This site documents two npm packages that work together.
PackageWhat it isStart here
scp-protocolOne body, one LLM. The body class, pattern store, adaptive memory.SCP introduction
@srk0102/plexaOne brain, many bodies. Built on scp-protocol.Plexa introduction

Install

# one body
npm install scp-protocol

# many bodies under one brain
npm install @srk0102/plexa

In one paragraph

In MCP the brain asks. In SCP the muscle asks. A body runs at 60Hz, holds its own decision cache, and only consults an LLM when the cache cannot answer. Plexa stacks several of those bodies under a single brain and adds cross-session memory, safety gates, and lateral body-to-body events.

Walk through a working example

The fastest way to understand the stack is to run one. See Cart pole for an end-to-end walkthrough that goes from npm install to a balanced inverted pendulum.

Source