---
title: "Prerequisites"
description: "Install Docker, Python, and uv for the LangGraph expiring chat sessions tutorial."
---

# Prerequisites

> For the complete documentation index see: [llms.txt](https://aerospike.com/docs/llms.txt)
> 
> All documentation pages available in markdown.

This tutorial requires the [langgraph-aerospike](https://github.com/aerospike/langgraph-aerospike) repository and three dependencies.

## Required

Docker

Docker runs Aerospike Database locally.

1.  Download, install, and launch Docker Desktop from [the Docker website](https://www.docker.com/products/docker-desktop/).
    
2.  Verify Docker is running:
    
    Terminal window
    
    ```shell
    docker --version
    ```
    

Python

The cookbook requires Python 3.10 or newer.

1.  Install [Python 3.10 or later](https://www.python.org/downloads/).
    
2.  Verify Python is available:
    
    Terminal window
    
    ```shell
    python3 --version
    ```
    

uv

The repository uses [uv](https://docs.astral.sh/uv/) to install dependencies and run cookbook scripts.

1.  Install uv following the [uv installation guide](https://docs.astral.sh/uv/getting-started/installation/).
    
2.  Verify uv is available:
    
    Terminal window
    
    ```shell
    uv --version
    ```
    

## Optional

Git

Git makes it easier to clone the repository. You can also download a ZIP archive from GitHub.

Install Git from [git-scm.com](https://git-scm.com/).

::: note
No large language model (LLM) API keys are required. The cookbook uses LangChain’s `FakeListChatModel` for deterministic replies.
:::
::: undefined
-   I’ve installed Docker.
-   I’ve installed Python 3.10 or newer.
-   I’ve installed uv.
:::

[Previous  
Tutorial: Expiring chat sessions with LangGraph](https://aerospike.com/docs/develop/langgraph-expiring-chat-sessions) [Next  
Clone and install](https://aerospike.com/docs/develop/langgraph-expiring-chat-sessions/step/1/part/1/clone-and-install)