Deploy multiple AI agents to watsonx.ai at once
Project description
Watsonx Agent Deploy
Simple CLI tool to deploy multiple AI agents to IBM watsonx.ai
Installation
pip install watsonx-agent-deploy
Quick Start
-
Generate agent folders using the IBM CLI template:
watsonx‑ai template new "base/langgraph‑react‑agent" my-agent
-
Create a
.envfile with:WATSONX_APIKEY=your_api_key_here WATSONX_URL=https://your-watsonx-url.com SPACE_ID=your_space_id
-
Deploy agents by running:
watsonx-deploy
Required File Structure
Your project directory (current or specified via --config-dir) should follow this layout:
your-project-root/
├── .env # contains WATSONX_APIKEY, WATSONX_URL, SPACE_ID
├── my-agent/
│ └── config.toml # agent-specific configuration
├── another-agent/
│ └── config.toml
├── sample-agent/
│ └── config.toml
Notes:
- Agent folders must end with
'agent'(e.g.my-agent), else they will be ignored. - Each agent folder must contain a valid
config.toml. - The
.envfile must reside in the root of your deployment directory (or be specified via--env-file).
Usage Examples
# Deploy agents from current default directory
watsonx-deploy
# Use a custom .env file
watsonx-deploy --env-file path/to/.env
# Deploy engines from a specific directory
watsonx-deploy --config-dir path/to/agents
# Enable verbose logging for troubleshooting
watsonx-deploy --verbose
Requirements
- Python 3.11+
- Proper
.envwith required credentials - Agent folders must follow naming and structure rules above
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file watsonx_agent_deploy-0.1.3.tar.gz.
File metadata
- Download URL: watsonx_agent_deploy-0.1.3.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc70b2fb3c8f4f549b976325ec3e6af27918e4e1e88deb0ee67d6ad1f5a6f3e0
|
|
| MD5 |
346979ead2b69dcaeac6c4dac6b9a724
|
|
| BLAKE2b-256 |
62e90c03bb8630aa4cc9285c0c1e31f12a658718ddbe4f3abf90dd9953a2990f
|
File details
Details for the file watsonx_agent_deploy-0.1.3-py3-none-any.whl.
File metadata
- Download URL: watsonx_agent_deploy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dca99b35a517130775bb8539cff3e98c8f92b52f8d2555404135c56b0133a0a8
|
|
| MD5 |
4d144a4905568480e8e92d491d614859
|
|
| BLAKE2b-256 |
9cf2f1d73f7831fd6eea3d675a82b7c9be2ef554e008277565a55641fe6302fd
|