Skip to content

A programming framework for agentic AI

Add poetry setup (#824)

rlam35b420f1d9a19
diff --git a/website/docs/Installation.md b/website/docs/Installation.md
index e78c2807c..60fc2e7cf 100644
--- a/website/docs/Installation.md
+++ b/website/docs/Installation.md
@@ -31,6 +31,26 @@ The following command will deactivate the current `conda` environment:
conda deactivate
```
+### Option 3: poetry
+
+Another option is with `poetry`, which is a dependency manager for Python.
+
+[Poetry](https://python-poetry.org/docs/) is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you. Poetry offers a lockfile to ensure repeatable installs, and can build your project for distribution.
+
+You can install it by following [this doc](https://python-poetry.org/docs/#installation),
+and then create a virtual environment as below:
+```bash
+poetry init
+poetry shell
+
+poetry add pyautogen
+```
+
+The following command will deactivate the current `poetry` environment:
+```bash
+exit
+```
+
Now, you're ready to install AutoGen in the virtual environment you've just created.
## Python