Welcome
This site documents two npm packages that work together.| Package | What it is | Start here |
|---|---|---|
scp-protocol | One body, one LLM. The body class, pattern store, adaptive memory. | SCP introduction |
@srk0102/plexa | One brain, many bodies. Built on scp-protocol. | Plexa introduction |
Install
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 fromnpm install to a balanced inverted pendulum.
Source
- SCP: github.com/srk0102/SCP
- Plexa: github.com/srk0102/plexa