---
name: memory
description: "Ephemeral in-process key-value store — no external deps required"
version: "0.1.0"
entry: ./adapter.ts
npm_deps:
  required: []
  optional: []
fields: []
health_check: null
keywords:
  - kv
  - memory
  - cache
  - scratch
---

A volatile, in-process key-value store backed by a plain `Map`. No external
dependencies. Data is lost when the session ends. Ideal for scratch state,
caching within a single run, and testing.

## Operations

| Operation | Access | Description |
|-----------|--------|-------------|
| `get` | read | Get value by key |
| `set` | write | Set a key-value pair |
| `keys` | read | List all keys matching a pattern |
| `del` | write | Delete a key |

## Configuration

```yaml
connectors:
  - id: shared-state
    adapter: memory
    access: read-write
    options:
      namespace: my-app
```
