autogen/website/docs/installation/Optional-Dependencies.md
IPython Code Executor  To use the IPython code executor, you need to install the `jupyter-client` and `ipykernel` packages:  ```bash pip install "pyautogen[ipython]" ```  To use the IPython code executor:  ```python from autogen import UserProxyAgent  proxy = UserProxyAgent(name="proxy", code_execution_config={"executor": "ipython-embedded"}) ``` 