This repository contains various examples demonstrating how to use the Restack AI Python SDK. These examples are designed to help you get started with Restack AI and showcase different features and use cases.
- Get Started - A simple example to help you get started with the Restack AI SDK.
- Python 3.8 or higher
- Poetry (for dependency management)
-
Clone this repository:
git clone https://github.com/restackio/examples-python cd examples-python
-
Navigate to the example you want to explore:
cd examples/get-started
-
Install dependencies using Poetry:
poetry install
-
Follow the specific instructions in each example's README file.
To run Restack locally using Docker, you have two options:
-
Using
docker run
:docker run -d --pull always --name studio -p 5233:5233 -p 6233:6233 -p 7233:7233 ghcr.io/restackio/engine:main
-
Using
docker-compose
:docker compose up -d --build --pull always
This will force repulling and rebuilding.
After running either of these commands, the Restack UI will be available at http://localhost:5233
We welcome contributions to this repository! If you have an example you'd like to add or improvements to existing examples, please feel free to submit a pull request.