Dev.to
7/3/2026

🤖 Kubernetes as Your AI Control Plane: Running Claude and Ollama Agents with kagent 🧠
Short summary
kagent, a CNCF sandbox project, abstracts AI agents as Kubernetes workloads, letting you run Claude in the cloud or Ollama locally and swap models with a single config change. This guide covers Helm installation, configuring ModelConfigs for both cloud and local inference, and building agents with Kubernetes tools. Designed for homelabbers wanting to run full inference stacks without external dependencies.
- •kagent abstracts between agents and models, supporting Claude (cloud) or Ollama (local) via unified Agent resource spec
- •Installation via Helm charts with YAML-based ModelConfigs and full step-by-step homelab setup
- •Includes Ollama local deployment, human approval gates, and one-line model switching
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



