AI Chat with Production
Overview
AI Chat is an interactive interface in the OpsWorker portal that lets you ask questions about your Kubernetes clusters and get answers grounded in live cluster data. Unlike generic AI chatbots, OpsWorker Chat has direct access to your infrastructure through the installed Kubernetes Agent and any configured integrations.
How It Works
- Open Chat in the OpsWorker portal
- Select the cluster you want to query
- Ask a question in natural language
- OpsWorker's AI agents query your cluster and integrations in real time
- You receive an answer based on actual, current data
Chat uses a WebSocket connection for real-time, streaming responses.
Capabilities
Two Chat Modes
| Mode | Context | Use When |
|---|---|---|
| Investigation Chat | Scoped to a specific investigation | You want to dig deeper into a completed investigation |
| Free-form Chat | General cluster queries | You want to explore cluster state, check health, or debug issues |
What You Can Ask
- Cluster health: "Are there any pods in CrashLoopBackOff?"
- Resource inspection: "Show me the deployment config for api-gateway"
- Log analysis: "What errors are in the logs for payment-service?"
- Topology: "What services depend on the database?"
- Change tracking: "What changed in namespace production recently?" (with Git integration)
- Metrics: "What's the CPU usage for this namespace?" (with Datadog/Grafana integration)
Multi-Agent Access
Chat leverages all configured integrations for the selected cluster:
- Kubernetes Agent — Always available; queries pods, services, logs, events
- Git Agent — Available with GitHub/GitLab integration; queries commits, PRs
- Datadog Agent — Available with Datadog integration; queries metrics, monitors
- Observability Agent — Available with Grafana integration; queries dashboards
Conversation Features
- Multi-turn — Maintain context across multiple questions
- Prompt suggestions — Pre-built prompts to help you get started
- Agent execution blocks — See which agents were invoked and what data they retrieved
- Conversation history — Previous conversations are saved and accessible from the sidebar
Next Steps
- AI Chat Use Cases — Common scenarios
- Example Prompts — Ready-to-use prompts
- Multi-Agent Workflows — How agents work together