- Local: Running on your laptop using the Developer Edition of watsonx Orchestrate.
- Remote: Hosted on IBM Cloud, AWS, or on-premises using Cloud Pak for Data.
orchestrate server and orchestrate chat, target that environment. This includes importing, listing, and removing agents, tools, and connections.
Environment commands
Adding an environment
Use theorchestrate env add command to add a remote environment to your local CLI. To learn where to find your
service instance url and api key see Getting credentials for your environments.
BASH
Note:
- You can set any name you prefer for the environment.
- When you use a HIPAA‑regulated cluster, you must include the
--iam-urlparameter.
BASH
BASH
Activating an environment
Use theorchestrate env activate command to authenticate against a given environment and target all commands other than orchestrate server and orchestrate chat to that environment.
Note: Authentication against a remote environment expires every two hours. After expiration, you need to run
orchestrate env activate again. This behavior does not exist in the local environment.BASH
BASH
BASH
BASH
Listing all environments
Use theorchestrate env list command to list all environments currently available to your CLI.
By default, you have one known as local. Your local environment refers to the watsonx Orchestrate Development Edition server. Others can be added by using the orchestrate env add command. The currently active environment will be indicated by an indicator saying (active) at the end of the line.
BASH
Removing an environment
Use theorchestrate env remove command to remove an environment from your environment list.
BASH
Important configuration files
The watsonx Orchestrate CLI maintains two configuration files which are manipulated by the above env commands.-
The first is
~/.config/orchestrate/config.yaml. This configuration file records each of your environments as well as which environment is currently active. -
The second is
~/.cache/orchestrate/credentials.yaml. This file contains the JWT token from your last env activation used to authenticate with your environment.

