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/agentoragno/team(exactly one required) — the agent or team to deploygcp/gke(required) — Kubernetes cluster for deployment
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
agentorteam. - The
clusterandnamespacefields 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.