# Setup & Guide

### Installation & Setup <a href="#installation-and-setup" id="installation-and-setup"></a>

To use Memorylake, install the required dependencies (ignore Groclake installation if already did) :

```python
pip install groclake
pip install python-dotenv
```

Then, configure Redis in a `.env` file:

```python
REDIS_HOST=localhost
REDIS_PORT=6379
```

### Initializing Memorylake <a href="#initializing-memorylake" id="initializing-memorylake"></a>

```python
from memorylake import Memorylake
memory_lake = Memorylake()
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.groclake.ai/lakes/agent-management-and-deployment/memorylake/editor-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
