> ## Documentation Index
> Fetch the complete documentation index at: https://docs.praison.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Memory CLI

> CLI commands for in-memory state store

# Memory CLI

## Setup

No dependencies needed - uses Python's built-in dict.

## Quick Start

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
# Test connection
praisonai persistence doctor \
  --state-backend memory

# Run with memory state
praisonai persistence run \
  --state-backend memory \
  "Hello"
```

## Commands

### Doctor

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai persistence doctor \
  --state-backend memory
```

### Run

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
praisonai persistence run \
  --state-backend memory \
  --session-id my-session \
  "Process this"
```

## Python Test

```bash theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
python3 -c "
from praisonai.persistence import create_state_store
store = create_state_store('memory')
store.set('test', {'value': 1})
print('Memory OK:', store.get('test'))
"
```

## Notes

* Data is lost when process exits
* Best for development and testing
* No external dependencies
