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

# Memory Overview

> Persistent memory and state management for AI agents

# Memory Overview

PraisonAI provides robust memory and persistence capabilities to help your agents remember conversations, store state, and maintain context across sessions.

## Quick Start

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
from praisonaiagents import Agent

# Agent with automatic memory persistence
agent = Agent(
    name="Assistant",
    memory={"session_id": "my-session"}  # Enable memory with session
)

agent.chat("Remember my name is John")
# Later...
agent.chat("What's my name?")  # "Your name is John"
```

## Memory Types

| Type | Purpose | Best For |
| - | - | - |
| **Session Memory** | Conversation history | Chat continuity |
| **Long-term Memory** | Cross-session recall | User preferences |
| **Graph Memory** | Relationship tracking | Knowledge graphs |

## When to Use What

| Need | Solution | Link |
| - | - | - |
| Persist conversations | Database adapters | [Storage →](/docs/memory/storage) |
| Resume sessions | Session ID | [Session Resume →](/docs/persistence/session-resume) |
| Store user preferences | Long-term memory | [Advanced Memory →](/docs/features/advanced-memory) |
| Track relationships | Graph memory | [Graph Memory →](/docs/features/graph-memory) |
| Decay-weighted, self-hosted recall | Dakera memory | [Dakera Memory →](/docs/features/dakera-memory) |

## Key Concepts

<CardGroup cols={2}>
  <Card title="Session Persistence" icon="clock-rotate-left" href="/docs/persistence/overview">
    Continue conversations across restarts
  </Card>

  <Card title="Database Support" icon="database" href="/docs/memory/storage">
    22+ supported database backends
  </Card>

  <Card title="Advanced Memory" icon="brain" href="/docs/features/advanced-memory">
    Long-term memory and recall
  </Card>

  <Card title="Graph Memory" icon="diagram-project" href="/docs/features/graph-memory">
    Relationship-aware memory
  </Card>
</CardGroup>

## Next Steps

<CardGroup cols={2}>
  <Card title="Storage Options" icon="hard-drive" href="/docs/memory/storage">
    Configure database backends
  </Card>

  <Card title="Quick Start" icon="rocket" href="/docs/persistence/quickstart">
    Get started in 5 minutes
  </Card>
</CardGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.