Skip to content

How to work and test the agent first locally with the CLI before the agent will be deployed to watsonx.ai? #72

Description

@thomassuedbroecker

Question: Local development and test not supported with the CLI?

This is possible with the "old" example applications, but not with the CLI.

1. Expected flow

  1. Generate agent and tools with a template
  2. Change agent implementation and tools locally
  3. Test tools isolated
  4. Test new agent and tools locally
  5. Deploy agent and tools as the ai-service to watsonx.ai

2. Current situation

Currently, I don't see any chance to work with my agent locally, when I going to use the CLI.

watsonx-ai --help
                                                                                                          
 Usage: watsonx-ai [OPTIONS] COMMAND [ARGS]...                                                            
                                                                                                          
 Entry point for the CLI.                                                                                 
                                                                                                          
 Args:     version (bool): If set to True, prints the CLI version and exits.                              
                                                                                                          
╭─ Options ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ --version  -v        Print the current CLI version.                                                    │
│ --help               Show this message and exit.                                                       │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Commands ─────────────────────────────────────────────────────────────────────────────────────────────╮
│ template   Explore, download and try-out the template.                                                 │
│ service    Work with deployed templates.                                                               │
│ app        Build & run an UI playground.                                                               │
╰────────────────────────────────────────────────────────────────────────────────────────────────────────╯

@royderks

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions