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.2.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.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: watsonx_agent_deploy-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 64ea40eb0003bf2c14f7d0207b4ff95830b43ca3f10092d37963b4b5950575b9
MD5 bc3f38c3f4297514597cc75feff0952d
BLAKE2b-256 da29cb96db0c120c48a8e3587a38618cbcc9013403fd1036c3cbfd7adeb449b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for watsonx_agent_deploy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e72ee77181b69c6115b5342cd28c2983f6112fa8b42f68160d4bef7cfbb06d00
MD5 08246a9cc72b9f29041349a2acacd96c
BLAKE2b-256 03ba594a90f9f28a32064f26acf20b745b756f99d6a707cf2e908790ea9bed0f

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