Skip to main content

diagridpy deploy

Build, push, and deploy your agent to Catalyst

Description

Builds a Docker image from the current directory, pushes it to the local kind registry, and deploys it as a Kubernetes pod connected to Catalyst via the dapr-agents Helm chart. Optionally triggers the agent with a prompt after deployment.

diagridpy deploy [flags]

Examples

  # Deploy the agent from the current directory
diagridpy deploy

# Deploy and trigger with a prompt
diagridpy deploy --trigger "Plan a trip to Paris"

# Deploy with a custom image name and tag
diagridpy deploy --image my-agent --tag v1.0

# Deploy to a specific project and App ID
diagridpy deploy --project my-project --app-id my-agent

# Deploy on a custom port
diagridpy deploy --port 8081

Options

      --api-key string    Diagrid API key
--no-browser Don't open browser for auth
--image string Docker image name
--tag string Docker image tag
--namespace string Kubernetes namespace
--context string Kubectl context
--project string Catalyst project name
--app-id string Catalyst AppID name (defaults to <project>-agent)
--port int Agent container port (default: 5001)
--trigger string Trigger the agent with a prompt after deploy
-h, --help Show this message and exit.

SEE ALSO