Ask AI
Your pod or deployment fails?
Troubleshoot any Kubernetes resource with AI in a single click.

How Lens resolves it
Context attached, not pasted
The feature is called Ask AI. Lens points KUBECONFIG at the cluster you have open and puts a matching kubectl on the PATH, so the agent reads the pod itself.

Pick your agent
Claude Code, Copilot CLI, Gemini CLI, Codex CLI or OpenCode.
Right-click any resource
Summarize it, or analyze its logs, events and metrics.
Answers that click back
Resources come back as Lens links. Ask AI is Premium.
Why it works
No pasting, no API key
Free. No payment details needed.
Try Ask AI in the Lens 14-day trial
Every premium feature, unlocked for 14 days.
Download Lens Desktop and create your Lens ID from the app. Your 14 days start there. When the trial ends, your configuration is kept and the features lock until you upgrade.