> Working L0, Episodic L1, and Semantic L2 memory with pgvector

# 3-Tier Memory Architecture

Dewee implements progressive memory retrieval (`internal/memory/`):

1. **Working Memory (L0):** Active conversation buffer loaded directly in turn context.
2. **Episodic Memory (L1):** Vectorized session summaries stored in PostgreSQL with pgvector embeddings, retrieved via semantic similarity.
3. **Semantic Memory (L2):** Knowledge Graph entities and relations extracted across long-running sessions.

## CLI Commands

```bash
# Search agent memory
dewee memory search --agent <agent-id> --query "deployment architecture"

# Re-index all memory documents
dewee memory index-all --agent <agent-id>
```
