Skip to main content
Deploys an Agno agent or team as a Kubernetes Deployment with a Service, providing a REST API endpoint.

agno/runner

The runner is the only Agno resource that creates infrastructure. It takes an agent or team definition and deploys it as a containerized service on Kubernetes.

Config

Outputs

Dependencies

Depends on:
  • agno/agent or agno/team (exactly one required) — the agent or team to deploy
  • gcp/gke (required) — Kubernetes cluster for deployment
Depended on by: Nothing — this is typically a leaf resource.

Example — Deploy an agent

Example — Deploy a team with authentication

Authentication

The runner supports two authentication modes: When jwt_verification_key is set, it takes priority over security_key.

Notes

  • You must provide exactly one of agent or team.
  • The cluster and namespace fields are immutable — changing them requires deleting and recreating the runner.
  • The runner creates a Kubernetes Deployment and Service as child resources. These are automatically managed.
  • When public: true, a LoadBalancer Service is created, providing an external IP. Otherwise, the service is only accessible within the cluster.
  • The container receives the agent/team spec as environment variables and reconstructs it at startup.
  • The runner includes health checks (startup, liveness, readiness probes) on /health.