Skip to main content

Deploy AI agents to WatsonX.ai with ease

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.1.tar.gz (4.9 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.1-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file watsonx_agent_deploy-0.1.1.tar.gz.

File metadata

  • Download URL: watsonx_agent_deploy-0.1.1.tar.gz
  • Upload date:
  • Size: 4.9 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.1.tar.gz
Algorithm Hash digest
SHA256 eeec7f459c9e852f1ce6e870dc0051b03b0e32f78c856007b41ffa9af3702d47
MD5 46cbd9267753d25c6c5816caec0c2e86
BLAKE2b-256 c434bfb56ddbfb7a332bf2e430bfd8061876bd7a07b7fab4cca41e777817a582

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for watsonx_agent_deploy-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f162209041e1cbff856661526bbdb71487e00acc5bd90306a2ef8caf2d6d6c28
MD5 25731ba4d968770647f2a565216217cc
BLAKE2b-256 260e6f1ed90ea51836e81b6f64e0f9b4e675c1be7401d12668aa91206245ad0c

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