Skip to main content

Getting started

Three steps to a running body.

1. Pick a package

If you are not sure which to use, start with @srk0102/plexa. It includes everything in scp-protocol plus orchestration.

2. Get a brain (optional)

The bundled examples fall back to a stub brain that rotates through sensible actions, so you can run them without any LLM. To use a real brain locally:
For hosted brains, set credentials:
  • ANTHROPIC_API_KEY for AnthropicBrain.
  • AWS credentials in the standard chain for BedrockBrain.

3. Run an example

Walkthrough version of the same example: Cart pole.

Where to go next