Right now on https://google.github.io/agents-cli/guide/deployment/ if you read the examples for Agent Runtime vs Cloud Run deployment the commands look the same. You may wonder how the tool knows which one to use.
There's a one-line sentence that reads "The command reads your deployment_target from pyproject.toml and dispatches to the right flow."
This should be beefed up or at least point the user to agents-cli deploy --help which gives you the relevant information
Dispatches by deployment target configured in pyproject.toml:
agent_runtime → Agent Runtime deployment
cloud_run → gcloud beta run deploy
gke → terraform + docker build + kubectl apply
Now I know what I need to put into my pyproject.toml file.
You could also include a line about speciifying the deployment target when running agents-cli create
Right now on https://google.github.io/agents-cli/guide/deployment/ if you read the examples for Agent Runtime vs Cloud Run deployment the commands look the same. You may wonder how the tool knows which one to use.
There's a one-line sentence that reads "The command reads your deployment_target from pyproject.toml and dispatches to the right flow."
This should be beefed up or at least point the user to
agents-cli deploy --helpwhich gives you the relevant informationNow I know what I need to put into my pyproject.toml file.
You could also include a line about speciifying the deployment target when running
agents-cli create