rename to planoai (#650)

This commit is contained in:
Adil Hafeez 2025-12-23 19:26:51 -08:00 committed by GitHub
parent e7ce00b5a7
commit e8170f76ca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 44 additions and 44 deletions

View file

@ -63,7 +63,7 @@ Plano's CLI allows you to manage and interact with the Plano gateway efficiently
```console ```console
$ python3.12 -m venv venv $ python3.12 -m venv venv
$ source venv/bin/activate # On Windows, use: venv\Scripts\activate $ source venv/bin/activate # On Windows, use: venv\Scripts\activate
$ pip install plano==0.4.0 $ pip install planoai==0.4.0
``` ```
### Use Plano as a LLM Router ### Use Plano as a LLM Router
@ -160,7 +160,7 @@ tracing:
Run your `flight_agent` and `hotel_agent` services (see the [Orchestration guide](https://docs.planoai.dev/guides/orchestration.html) for a full Travel Booking example), then start Plano with the config above: Run your `flight_agent` and `hotel_agent` services (see the [Orchestration guide](https://docs.planoai.dev/guides/orchestration.html) for a full Travel Booking example), then start Plano with the config above:
```console ```console
$ plano up plano_config.yaml $ planoai up plano_config.yaml
``` ```
Plano will start the orchestrator and expose an agent listener on port `8001`. Plano will start the orchestrator and expose an agent listener on port `8001`.
@ -232,7 +232,7 @@ endpoints:
##### Step 2. Start Plano with currency conversion config ##### Step 2. Start Plano with currency conversion config
```sh ```sh
$ plano up plano_config.yaml $ planoai up plano_config.yaml
2024-12-05 16:56:27,979 - cli.main - INFO - Starting plano cli version: 0.4.0 2024-12-05 16:56:27,979 - cli.main - INFO - Starting plano cli version: 0.4.0
2024-12-05 16:56:28,485 - cli.utils - INFO - Schema validation successful! 2024-12-05 16:56:28,485 - cli.utils - INFO - Schema validation successful!
2024-12-05 16:56:28,485 - cli.main - INFO - Starting plano model server and plano gateway 2024-12-05 16:56:28,485 - cli.main - INFO - Starting plano model server and plano gateway

View file

@ -19,12 +19,12 @@ source venv/bin/activate
### Step 3: Run the build script ### Step 3: Run the build script
```bash ```bash
pip install plano==0.4.0 pip install planoai==0.4.0
``` ```
## Uninstall Instructions: plano CLI ## Uninstall Instructions: plano CLI
```bash ```bash
pip uninstall plano pip uninstall planoai
``` ```
## Setup Instructions (Dev): plano CLI ## Setup Instructions (Dev): plano CLI
@ -53,16 +53,16 @@ poetry install
### Step 4: build Arch ### Step 4: build Arch
```bash ```bash
plano build planoai build
``` ```
### Logs ### Logs
`plano` command can also view logs from the gateway. Use following command to view logs, `plano` command can also view logs from the gateway. Use following command to view logs,
```bash ```bash
plano logs --follow planoai logs --follow
``` ```
## Uninstall Instructions: plano CLI ## Uninstall Instructions: plano CLI
```bash ```bash
pip uninstall plano pip uninstall planoai

View file

@ -1,5 +1,5 @@
[tool.poetry] [tool.poetry]
name = "plano" name = "planoai"
version = "0.4.0" version = "0.4.0"
description = "Python-based CLI tool to manage Plano." description = "Python-based CLI tool to manage Plano."
authors = ["Katanemo Labs, Inc."] authors = ["Katanemo Labs, Inc."]
@ -18,7 +18,7 @@ requests = ">=2.31.0,<3.0.0"
pytest = ">=8.4.1,<9.0.0" pytest = ">=8.4.1,<9.0.0"
[tool.poetry.scripts] [tool.poetry.scripts]
plano = "cli.main:main" planoai = "cli.main:main"
[build-system] [build-system]
requires = ["poetry-core>=2.0.0"] requires = ["poetry-core>=2.0.0"]

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start developer services # Step 4: Start developer services
echo "Starting Network Agent using Docker Compose..." echo "Starting Network Agent using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start developer services # Step 4: Start developer services
echo "Starting Network Agent using Docker Compose..." echo "Starting Network Agent using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start Network Agent # Step 4: Start Network Agent
echo "Starting HR Agent using Docker Compose..." echo "Starting HR Agent using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start developer services # Step 4: Start developer services
echo "Starting Network Agent using Docker Compose..." echo "Starting Network Agent using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -74,7 +74,7 @@ start_demo() {
# Step 4: Start Arch # Step 4: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 5: Start Network Agent with the chosen Docker Compose file # Step 5: Start Network Agent with the chosen Docker Compose file
echo "Starting Network Agent with $COMPOSE_FILE..." echo "Starting Network Agent with $COMPOSE_FILE..."
@ -93,7 +93,7 @@ stop_demo() {
# Stop Arch # Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -21,7 +21,7 @@ do
echo "****************************************" echo "****************************************"
cd ../../$demo cd ../../$demo
echo "starting plano" echo "starting plano"
plano up config.yaml planoai up config.yaml
echo "starting docker containers" echo "starting docker containers"
# only execute docker compose if demo is use_cases/preference_based_routing # only execute docker compose if demo is use_cases/preference_based_routing
if [ "$demo" == "use_cases/preference_based_routing" ]; then if [ "$demo" == "use_cases/preference_based_routing" ]; then
@ -38,7 +38,7 @@ do
exit 1 exit 1
fi fi
echo "stopping docker containers and plano" echo "stopping docker containers and plano"
plano down planoai down
docker compose down -v docker compose down -v
cd ../../shared/test_runner cd ../../shared/test_runner
done done

View file

@ -28,7 +28,7 @@ Once the config file is created ensure that you have env vars setup for `MISTRAL
Start arch gateway, Start arch gateway,
``` ```
$ plano up config.yaml $ planoai up config.yaml
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.4.0 2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.4.0
2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful! 2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful!
2024-12-05 11:24:51,825 - cli.main - INFO - Starting arch model server and arch gateway 2024-12-05 11:24:51,825 - cli.main - INFO - Starting arch model server and arch gateway

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start LLM Routing # Step 4: Start LLM Routing
echo "Starting LLM Routing using Docker Compose..." echo "Starting LLM Routing using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -48,7 +48,7 @@ This starts:
### 2. Start plano ### 2. Start plano
```bash ```bash
plano up --foreground planoai up --foreground
``` ```
### 3. Test the system ### 3. Test the system

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start developer services # Step 4: Start developer services
echo "Starting Network Agent using Docker Compose..." echo "Starting Network Agent using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -13,7 +13,7 @@ Make sure your machine is up to date with [latest version of plano]([url](https:
``` ```
2. start plano in the foreground 2. start plano in the foreground
```bash ```bash
(venv) $ plano up --service plano --foreground (venv) $ planoai up --service plano --foreground
2025-05-30 18:00:09,953 - cli.main - INFO - Starting plano cli version: 0.4.0 2025-05-30 18:00:09,953 - cli.main - INFO - Starting plano cli version: 0.4.0
2025-05-30 18:00:09,953 - cli.main - INFO - Validating /Users/adilhafeez/src/intelligent-prompt-gateway/demos/use_cases/preference_based_routing/config.yaml 2025-05-30 18:00:09,953 - cli.main - INFO - Validating /Users/adilhafeez/src/intelligent-prompt-gateway/demos/use_cases/preference_based_routing/config.yaml
2025-05-30 18:00:10,422 - cli.core - INFO - Starting arch gateway, image name: plano, tag: katanemo/plano:0.4.0 2025-05-30 18:00:10,422 - cli.core - INFO - Starting arch gateway, image name: plano, tag: katanemo/plano:0.4.0

View file

@ -20,7 +20,7 @@ start_demo() {
# Step 3: Start Arch # Step 3: Start Arch
echo "Starting Arch with config.yaml..." echo "Starting Arch with config.yaml..."
plano up config.yaml planoai up config.yaml
# Step 4: Start developer services # Step 4: Start developer services
echo "Starting Network Agent using Docker Compose..." echo "Starting Network Agent using Docker Compose..."
@ -35,7 +35,7 @@ stop_demo() {
# Step 2: Stop Arch # Step 2: Stop Arch
echo "Stopping Arch..." echo "Stopping Arch..."
plano down planoai down
} }
# Main script logic # Main script logic

View file

@ -60,7 +60,7 @@ In a new terminal:
```bash ```bash
cd /path/to/travel_agents cd /path/to/travel_agents
plano up config.yaml planoai up config.yaml
``` ```
The gateway will start on port 8001 and route requests to the appropriate agents. The gateway will start on port 8001 and route requests to the appropriate agents.

View file

@ -32,7 +32,7 @@ Plano's CLI allows you to manage and interact with the Plano efficiently. To ins
$ python -m venv venv $ python -m venv venv
$ source venv/bin/activate # On Windows, use: venv\Scripts\activate $ source venv/bin/activate # On Windows, use: venv\Scripts\activate
$ pip install plano==0.4.0 $ pip install planoai==0.4.0
Build Agentic Apps with Plano Build Agentic Apps with Plano
@ -98,7 +98,7 @@ Run your ``flight_agent`` and ``hotel_agent`` services (see :ref:`Orchestration
.. code-block:: console .. code-block:: console
$ plano up plano_config.yaml $ planoai up plano_config.yaml
Plano will start the orchestrator and expose an agent listener on port ``8001``. Plano will start the orchestrator and expose an agent listener on port ``8001``.
@ -176,7 +176,7 @@ Step 2. Start plano with currency conversion config
.. code-block:: sh .. code-block:: sh
$ plano up plano_config.yaml $ planoai up plano_config.yaml
2024-12-05 16:56:27,979 - cli.main - INFO - Starting plano cli version: 0.1.5 2024-12-05 16:56:27,979 - cli.main - INFO - Starting plano cli version: 0.1.5
... ...
2024-12-05 16:56:28,485 - cli.utils - INFO - Schema validation successful! 2024-12-05 16:56:28,485 - cli.utils - INFO - Schema validation successful!
@ -252,7 +252,7 @@ Start Plano:
.. code-block:: console .. code-block:: console
$ plano up plano_config.yaml $ planoai up plano_config.yaml
2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.1.5 2024-12-05 11:24:51,288 - cli.main - INFO - Starting plano cli version: 0.1.5
2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful! 2024-12-05 11:24:51,825 - cli.utils - INFO - Schema validation successful!
2024-12-05 11:24:51,825 - cli.main - INFO - Starting plano 2024-12-05 11:24:51,825 - cli.main - INFO - Starting plano

View file

@ -14,7 +14,7 @@ print_debug() {
log "Printing debug logs for docker" log "Printing debug logs for docker"
log "====================================" log "===================================="
tail -n 100 ../build.log tail -n 100 ../build.log
plano logs --debug | tail -n 100 planoai logs --debug | tail -n 100
} }
trap 'print_debug' INT TERM ERR trap 'print_debug' INT TERM ERR
@ -36,7 +36,7 @@ cd -
log building docker image for arch gateway log building docker image for arch gateway
log ====================================== log ======================================
cd ../../ cd ../../
plano build planoai build
cd - cd -
# Once we build plano we have to install the dependencies again to a new virtual environment. # Once we build plano we have to install the dependencies again to a new virtual environment.
@ -44,8 +44,8 @@ poetry install
log startup arch gateway with function calling demo log startup arch gateway with function calling demo
cd ../../ cd ../../
plano down planoai down
plano up demos/samples_python/weather_forecast/config.yaml planoai up demos/samples_python/weather_forecast/config.yaml
cd - cd -
log running e2e tests for prompt gateway log running e2e tests for prompt gateway
@ -54,11 +54,11 @@ poetry run pytest test_prompt_gateway.py
log shutting down the arch gateway service for prompt_gateway demo log shutting down the arch gateway service for prompt_gateway demo
log =============================================================== log ===============================================================
plano down planoai down
log startup arch gateway with model alias routing demo log startup arch gateway with model alias routing demo
cd ../../ cd ../../
plano up demos/use_cases/model_alias_routing/config_with_aliases.yaml planoai up demos/use_cases/model_alias_routing/config_with_aliases.yaml
cd - cd -
log running e2e tests for model alias routing log running e2e tests for model alias routing
@ -70,8 +70,8 @@ log ========================================
poetry run pytest test_openai_responses_api_client.py poetry run pytest test_openai_responses_api_client.py
log startup arch gateway with state storage for openai responses api client demo log startup arch gateway with state storage for openai responses api client demo
plano down planoai down
plano up config_memory_state_v1_responses.yaml planoai up config_memory_state_v1_responses.yaml
log running e2e tests for openai responses api client log running e2e tests for openai responses api client
log ======================================== log ========================================