watsonx Orchestrate Developer Edition Setup¶
This guide explains how to set up the IBM watsonx Orchestrate Developer Edition for local development and testing.
What is watsonx Orchestrate?¶
IBM watsonx Orchestrate is an AI-powered automation platform that enables you to:
- Build and deploy AI agents
- Create custom tools and skills
- Orchestrate complex workflows
- Integrate with external APIs and services
Prerequisites¶
- Operating System: macOS, Windows, or Linux
- Python: 3.8 or higher
- Package Manager:
- Homebrew (macOS)
- Chocolatey or Scoop (Windows)
- apt/yum (Linux)
- IBM Cloud account with watsonx access
- watsonx Orchestrate entitlement key
Installation Options¶
Lima provides a lightweight VM environment for running watsonx Orchestrate on macOS.
Step 1: Install Lima
Step 2: Verify Installation
Windows Subsystem for Linux 2 (WSL2) provides a Linux environment on Windows.
Step 1: Install WSL2
Open PowerShell as Administrator:
Step 2: Install Ubuntu
Step 3: Set WSL2 as Default
Step 4: Launch Ubuntu
Continue with the Linux setup instructions within WSL2.
Docker Desktop provides container support on Windows.
Step 1: Install Docker Desktop
- Download Docker Desktop for Windows
- Run the installer
- Enable WSL2 backend during installation
- Restart your computer
Step 2: Verify Installation
For Docker-based installation on any platform, refer to the official watsonx Orchestrate documentation.
For native Linux installation, refer to the official watsonx Orchestrate documentation.
Configuration¶
Step 1: Create Project Directory¶
Navigate to the orchestrate directory in your project:
Step 2: Set Up Python Environment¶
Create and activate a virtual environment:
Step 3: Install Dependencies¶
Install the required Python packages:
The requirements.txt includes:
Step 4: Configure Environment Variables¶
Create or update the .env file with your credentials:
Create .env file:
Create .env file:
Create .env file manually using Notepad:
Add the following content:
Security
Never commit the .env file to version control. It contains sensitive credentials.
Getting Your Credentials¶
watsonx API Key:
- Log in to IBM Cloud
- Navigate to "Manage" → "Access (IAM)"
- Select "API keys"
- Click "Create an IBM Cloud API key"
- Copy the API key
watsonx Space ID:
- Log in to watsonx.ai
- Navigate to your deployment space
- Copy the Space ID from the URL or space settings
Orchestrate Entitlement Key:
- Log in to IBM Marketplace
- Navigate to your watsonx Orchestrate entitlement
- Copy the entitlement key
Step 5: Verify Configuration¶
Check that your environment is properly configured:
Starting watsonx Orchestrate¶
Start the Server¶
Start the watsonx Orchestrate Developer Edition server:
Optional Features¶
Enable additional features when starting the server:
# Enable Langfuse for observability
orchestrate server start -e .env --with-langfuse
# Enable document processing
orchestrate server start -e .env --with-doc-processing
# Enable AI Builder
orchestrate server start -e .env --with-ai-builder
# Enable voice support
orchestrate server start -e .env --with-voice
# Enable multiple features
orchestrate server start -e .env --with-langfuse --with-ai-builder --with-doc-processing
Access the Services¶
Once started, the following services are available:
- API Base URL:
http://localhost:4321/api/v1 - OpenAPI Docs:
http://localhost:4321/docs - UI:
http://localhost:3000(requires separate start command)
Start the UI¶
The UI is not started automatically. To start it:
Managing the Server¶
Stop the Server¶
Reset the Server¶
Reset the environment (removes containers and clears data):
View Logs¶
Check Server Status¶
Project Structure¶
orchestrate/
├── .env # Environment variables (not in git)
├── .venv/ # Python virtual environment
└── requirements.txt # Python dependencies
Troubleshooting¶
Port Already in Use¶
If port 8080 is already in use:
Environment Variables Not Loading¶
Ensure you're loading the .env file correctly:
Lima VM Issues¶
If using Lima and experiencing issues:
# Stop Lima VM
limactl stop default
# Start Lima VM
limactl start default
# Check Lima status
limactl list
Python Package Issues¶
If you encounter package installation issues:
# Upgrade pip
pip install --upgrade pip
# Reinstall requirements
pip install --force-reinstall -r requirements.txt
Next Steps¶
- Creating Agents - Build your first AI agent
- Adding Tools - Extend functionality with custom tools
- API Integration - Connect to external APIs