Skip to main content

diagrid agent create

Create an Agent

Description

Create an Agent in a project.

diagrid agent create <agent> [flags]

Examples


# Create an identity-only Agent (no endpoint)
diagrid agent create my-agent --project my-project

# Create an Agent with an endpoint
diagrid agent create my-agent --project my-project --endpoint https://myagent.myorg.com/

Options

-p, --project string Name of existing project
-e, --endpoint string Endpoint used to establish outbound connectivity from the Agent to your external application
-w, --wait Wait for long-running resource creation to finish
--ignore-if-exists Exit with success if the Agent already exists instead of returning an error
-h, --help help for create

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO