Installing the watsonx Orchestrate Developer Edition
The watsonx Orchestrate Developer Edition enables you to have a local development environment of watsonx Orchestrate running on your computer. You can use the watsonx Orchestrate ADK to automatically install the watsonx Orchestrate Developer Edition.
The watsonx Orchestrate Developer Edition runs under a Docker container, and can’t be used to host a full working version of watsonx Orchestrate. The server runs under the host machine’s localhost
, and can’t be used to provide remote access. Deploying the watsonx Orchestrate Developer Edition in a virtual machine is also not supported.
Installation prerequisites
-
Your computer needs to meet the following requirements:
Component Minimum Recommended CPU 8-core 8-core RAM 16 GB 32 GB -
Install Docker and Docker Compose engine. It is containerization engine used to install the watsonx Orchestrate Developer Edition. For more information, see Docker and Docker compose.
- For Windows users, to install Docker and Docker Compose engine, you should also install the Windows Subsystem for Linux (WSL). For more information, see Windows Subsystem for Linux.
Note:
- To ensure better integration and performance, install the ADK inside your WSL environment, as your server will be running there. Once installed, you can build and manage your agents directly within WSL for a smoother development experience.
- WSL 2 with Ubuntu distribution is recommended.
- Install Docker Compose v2. The ADK is not compatible with Compose v1.
-
Install the ADK. For more information, see Installing the ADK.
-
You must have access to at least one of these services:
- watsonx Orchestrate
- watsonx.ai
You can use at least one of these services to get access to the watsonx Orchestrate Developer Edition images.
Setup the environment
The watsonx Orchestrate Developer Edition is distributed as a Docker image. In order to pull the images from Docker, you must configure an environment file with the appropriate data.
Getting the entitlement key
You can download the images if you have a valid watsonx Orchestrate account or if you have a valid instance of watsonx.ai. In both cases, you must obtain an entitlement key to proceed. To get the entitlement key, follow these steps:
-
Access My IBM.
-
Click View Library.
-
Click Add a new key +.
-
Copy the entitlement key.
Using the watsonx.ai instance
-
Create a watsonx.ai instance on IBM Cloud, if you do not have one already, and locate your
space ID
. You can create a new instance and get thespace ID
in the Developer access page on IBM Cloud. -
To get your API Key, see Managing API Keys.
-
Create a
.env
file with the following contents:Replace
<my_entitlement_key>
,<my_watsonx_api_key>
, and<my_space_id>
with the appropriate information.
Using your watsonx Orchestrate account
-
Log in to your watsonx Orchestrate account.
-
Click your user profile and open the Settings page.
-
Open the API details tab and click Generate API key.
Your API key is unique and can’t be edited or deleted in the settings page. You must save the API key in a safe location.
-
Copy your Service Instance URL:
-
Create a
.env
file with the following contents:[.env]Replace
<my_entitlement_key>
,<service_instance_url>
,<wxo_api_key>
,<your_wxo_email>
, and<your_wxo_password>
with the appropriate information.
Installing the watsonx Orchestrate Developer Edition with ADK
To install the watsonx Orchestrate Developer Edition with the ADK, run the following command in the CLI:
Important:
To run this command, you need to accept all the Watsonx Orchestrate Developer Edition with ADK terms and conditions. For more information, see License reference.
To accept all terms and conditions, type “I accept”.
This will start a local server instance that you can connect to using the CLI. You can then use the CLI to manage your agents and tools just as you would for a production watsonx Orchestrate service instance.
The server start
command is used to download and run the services that compose the watsonx Orchestrate service.
Once your server is installed, you can use it as a local environment to manage your agents and tools locally. To activate the local environment, use the command: