diff --git a/python/packages/autogen-core/docs/src/agentchat-user-guide/guides/quickstart.ipynb b/python/packages/autogen-core/docs/src/agentchat-user-guide/guides/quickstart.ipynb new file mode 100644 index 000000000..405c498b1 --- /dev/null +++ b/python/packages/autogen-core/docs/src/agentchat-user-guide/guides/quickstart.ipynb @@ -0,0 +1,40 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "# Quick Start\n", + "\n", + ":::{note}\n", + "See [here](pkg-info-autogen-agentchat) for installation instructions.\n", + ":::\n", + "\n", + ":::{warning}\n", + "🚧 Under construction 🚧\n", + ":::" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "agnext", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.11.9" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} diff --git a/python/packages/autogen-core/docs/src/agentchat-user-guide/index.md b/python/packages/autogen-core/docs/src/agentchat-user-guide/index.md index c3bb1b5bb..565f9d05e 100644 --- a/python/packages/autogen-core/docs/src/agentchat-user-guide/index.md +++ b/python/packages/autogen-core/docs/src/agentchat-user-guide/index.md @@ -7,6 +7,14 @@ myst: # AgentChat -```{note} +```{warning} 🚧 Under construction 🚧 ``` + +```{toctree} +:caption: Getting Started +:maxdepth: 1 +:hidden: + +guides/quickstart +``` diff --git a/python/packages/autogen-core/docs/src/conf.py b/python/packages/autogen-core/docs/src/conf.py index 5145f013e..8e59358fb 100644 --- a/python/packages/autogen-core/docs/src/conf.py +++ b/python/packages/autogen-core/docs/src/conf.py @@ -98,6 +98,7 @@ html_theme_options = { "icon": "fa-custom fa-pypi", }, ], + "announcement": '🚧 AutoGen 0.4 is a work in progress, learn more about what\'s new and different here. To continue using the latest stable version, please visit the 0.3 documentation. 🚧', } html_js_files = ["custom-icon.js"] @@ -119,6 +120,8 @@ autodoc_default_options = { "undoc-members": True, } + + intersphinx_mapping = {"python": ("https://docs.python.org/3", None)} diff --git a/python/packages/autogen-core/docs/src/core-user-guide/guides/installation.md b/python/packages/autogen-core/docs/src/core-user-guide/guides/installation.md deleted file mode 100644 index 7fb56c0fb..000000000 --- a/python/packages/autogen-core/docs/src/core-user-guide/guides/installation.md +++ /dev/null @@ -1,37 +0,0 @@ -# Installation - -The repo is private, so the installation process is a bit more involved than usual. - -## Option 1: Install from a local clone - -Make a clone of the repo: - -```sh -git clone https://github.com/microsoft/agnext.git -``` - -You can install the package by running: - -```sh -cd agnext/python/packages/autogen-core -pip install . -``` - -## Option 2: Install from GitHub - -To install the package from GitHub, you will need to authenticate with GitHub. - -```sh -GITHUB_TOKEN=$(gh auth token) -pip install "git+https://oauth2:$GITHUB_TOKEN@github.com/microsoft/agnext.git#subdirectory=python/packages/autogen-core" -``` - -### Using a Personal Access Token instead of `gh` CLI - -If you don't have the `gh` CLI installed, you can generate a personal access token from the GitHub website. - -1. Go to [New fine-grained personal access token](https://github.com/settings/personal-access-tokens/new) -2. Set `Resource Owner` to `Microsoft` -3. Set `Repository Access` to `Only select repositories` and select `Microsoft/agnext` -4. Set `Permissions` to `Repository permissions` and select `Contents: Read` -5. Use the generated token for `GITHUB_TOKEN` in the commad above diff --git a/python/packages/autogen-core/docs/src/core-user-guide/guides/quickstart.ipynb b/python/packages/autogen-core/docs/src/core-user-guide/guides/quickstart.ipynb index eef604502..cc489f6f7 100644 --- a/python/packages/autogen-core/docs/src/core-user-guide/guides/quickstart.ipynb +++ b/python/packages/autogen-core/docs/src/core-user-guide/guides/quickstart.ipynb @@ -6,6 +6,10 @@ "source": [ "# Quick Start\n", "\n", + ":::{note}\n", + "See [here](pkg-info-autogen-core) for installation instructions.\n", + ":::\n", + "\n", "Before diving into the core APIs, let's start with a simple example of two\n", "agents creating a plot of Tesla's and Nvidia's stock returns.\n", "\n", diff --git a/python/packages/autogen-core/docs/src/core-user-guide/index.md b/python/packages/autogen-core/docs/src/core-user-guide/index.md index 5bbdf0bb5..319a10c46 100644 --- a/python/packages/autogen-core/docs/src/core-user-guide/index.md +++ b/python/packages/autogen-core/docs/src/core-user-guide/index.md @@ -37,7 +37,6 @@ Key features of AutoGen core include: :maxdepth: 1 :hidden: -guides/installation guides/quickstart ``` diff --git a/python/packages/autogen-core/docs/src/index.md b/python/packages/autogen-core/docs/src/index.md index e28685240..1a182308f 100644 --- a/python/packages/autogen-core/docs/src/index.md +++ b/python/packages/autogen-core/docs/src/index.md @@ -46,9 +46,11 @@ Task driven, high level APIs for building multi-agent systems. Including group c Built with core.
-```sh -pip install autogen-agentchat -``` +
-```sh -pip install autogen-core -``` +