Skip to main content

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

  1. Generate agent folders using the IBM CLI template:

    watsonx‑ai template new "base/langgraph‑react‑agent" my-agent
    
  2. Create a .env file with:

    WATSONX_APIKEY=your_api_key_here
    WATSONX_URL=https://your-watsonx-url.com
    SPACE_ID=your_space_id
    
  3. 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 .env file 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 .env with required credentials
  • Agent folders must follow naming and structure rules above

License

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

watsonx_agent_deploy-0.1.3.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

watsonx_agent_deploy-0.1.3-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

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

Hashes for watsonx_agent_deploy-0.1.3.tar.gz
Algorithm Hash digest
SHA256 dc70b2fb3c8f4f549b976325ec3e6af27918e4e1e88deb0ee67d6ad1f5a6f3e0
MD5 346979ead2b69dcaeac6c4dac6b9a724
BLAKE2b-256 62e90c03bb8630aa4cc9285c0c1e31f12a658718ddbe4f3abf90dd9953a2990f

See more details on using hashes here.

File details

Details for the file watsonx_agent_deploy-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for watsonx_agent_deploy-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dca99b35a517130775bb8539cff3e98c8f92b52f8d2555404135c56b0133a0a8
MD5 4d144a4905568480e8e92d491d614859
BLAKE2b-256 9cf2f1d73f7831fd6eea3d675a82b7c9be2ef554e008277565a55641fe6302fd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page